Closed rgerhards closed 6 years ago
if fjson_object_object_add_ex() is used with option FJSON_OBJECT_KEY_IS_CONSTANT, fjson_object_object_del() will still try to delete the key name. Depending on use, this can lead to double-free, use-after-free or no problem.
see also https://github.com/rsyslog/rsyslog/issues/1839 closes https://github.com/rsyslog/libfastjson/issues/148
if fjson_object_object_add_ex() is used with option FJSON_OBJECT_KEY_IS_CONSTANT, fjson_object_object_del() will still try to delete the key name. Depending on use, this can lead to double-free, use-after-free or no problem.
see also https://github.com/rsyslog/rsyslog/issues/1839 closes https://github.com/rsyslog/libfastjson/issues/148