-
Type:
Incident report
-
Resolution: Fixed
-
Priority:
Trivial
-
Affects Version/s: 7.4.6, 8.0.0alpha1
-
Component/s: Proxy (P), Server (S)
-
None
-
S26-W02/03
-
0.25
Missing setting of null after releasing string from string pool
diff --git a/src/libs/zbxcacheconfig/dbconfig.c b/src/libs/zbxcacheconfig/dbconfig.c index 9d799355df4..d545e853f69 100644 --- a/src/libs/zbxcacheconfig/dbconfig.c +++ b/src/libs/zbxcacheconfig/dbconfig.c @@ -1923,6 +1923,7 @@ void zbx_dc_sync_kvs_paths(const struct zbx_json_parse *jp_kvs_paths, const zbx_ { START_SYNC; dc_strpool_release(dc_kvs_path->last_error); + dc_kvs_path->last_error = NULL; FINISH_SYNC; }
Meaning that some dangling pointer is used to decrease refcount and corrupt shared memory, leading to similar issue as in ZBX-27035