Julien Thomas 1a1117c735 Do not create empty objects when accessing non-existent keys
This is a proposal for Github issue rsyslog/rsyslog#4430:
accessing a non-existing key creates an empty parent object
https://github.com/rsyslog/rsyslog/issues/4430

When looking up an object property, the tree of intermediate
object containers was ceated by get and del functions. The
patch is an attempt to fix that behavior by passing 0 to the
bCreate argument of jsonPathFindParent().

There is also one case where the return value of
jsonPathFindParent() was not checked, in the recurssive call
of jsonPathFindParent() itself. This was leading to infinite
loops if bCreate was 0.
2020-10-02 18:12:32 +02:00
..
2019-02-14 14:36:05 +01:00
2018-07-31 09:44:27 +02:00
2018-10-30 12:46:04 +01:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2019-02-14 14:36:05 +01:00
2018-11-14 11:56:57 -05:00
2018-10-30 12:46:04 +01:00
2019-12-18 09:35:56 +01:00
2017-12-23 18:25:37 +01:00
2018-09-28 15:03:39 +02:00
2018-10-30 12:46:04 +01:00
2018-07-31 09:44:27 +02:00
2019-02-14 14:36:05 +01:00
2019-02-14 14:36:05 +01:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2019-02-14 14:36:05 +01:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2020-05-16 16:14:38 +02:00
2018-10-30 12:46:04 +01:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2016-07-22 15:00:28 +02:00
2018-06-13 13:20:23 +02:00
2018-07-31 09:44:27 +02:00
2018-06-13 13:20:23 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2019-03-20 12:38:52 +01:00
2019-03-20 12:38:52 +01:00
2018-10-30 12:50:05 +01:00
2018-07-31 09:44:27 +02:00
2019-02-17 02:46:39 +01:00
2018-08-01 16:11:33 +02:00
2018-10-30 12:46:04 +01:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-10-30 12:46:04 +01:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-08-01 16:11:33 +02:00
2018-10-30 12:46:04 +01:00
2019-03-20 12:38:52 +01:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2019-02-14 14:36:05 +01:00
2018-10-30 12:46:04 +01:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00
2019-02-14 14:36:05 +01:00
2018-07-31 09:44:27 +02:00
2016-06-02 12:08:55 +02:00
2018-10-24 19:20:43 +02:00
2018-07-31 09:44:27 +02:00
2018-07-31 09:44:27 +02:00