metal/mtce-common/src/common
Yan Chen 1c38aff32a No json_object_put() for the json_obj created by json_object_object_get_ex().
It is stated in the json_object.h from version 0.11:
https://github.com/json-c/json-c/blob/json-c-0.11/json_object.h#L271

As on json-c 0.11, there's no assert to check for the ref_count, we wont get
  crashed. But on json-c 0.13.1 (latest release), json_object_put will check
  for the ref_count first, so mtcAgent will crash.

Test Done:
Run mtcAgent with json-c version 0.13.1 with this patch, no crash found.

Closes-Bug: 1807097

Change-Id: I35e5c1cad2e16ee0b6fc639380f1bdd3b64a7018
Signed-off-by: Yan Chen <yan.chen@intel.com>
2018-12-08 00:32:44 +08:00
..
Makefile Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
alarmUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
alarmUtil.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
fitCodes.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hostClass.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hostClass.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hostUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hostUtil.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
httpUtil.cpp fix compilation warnings in c/cpp files 2018-10-23 07:38:33 +00:00
httpUtil.h fix compilation warnings in c/cpp files 2018-10-23 07:38:33 +00:00
ipmiUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
ipmiUtil.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
jsonUtil.cpp No json_object_put() for the json_obj created by json_object_object_get_ex(). 2018-12-08 00:32:44 +08:00
jsonUtil.h Mtce: Add heartbeat cluster information for SM query 2018-10-05 22:47:17 +00:00
keyClass.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
keyClass.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
logMacros.h Fix mtce guest build failure 2018-11-22 10:26:18 -05:00
msgClass.cpp fix compilation warnings in c/cpp files 2018-10-23 07:38:33 +00:00
msgClass.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
nlEvent.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
nlEvent.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
nodeBase.cpp Implement Active-Active Heartbeat as HA Improvement 2018-11-20 19:57:18 +00:00
nodeBase.h Implement Active-Active Heartbeat as HA Improvement 2018-11-20 19:57:18 +00:00
nodeEvent.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
nodeEvent.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
nodeMacro.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
nodeTimers.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
nodeTimers.h Implement Active-Active Heartbeat as HA Improvement 2018-11-20 19:57:18 +00:00
nodeUtil.cpp fix compilation warnings in c/cpp files 2018-10-23 07:38:33 +00:00
nodeUtil.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
pgdbClass.cpp.OBS Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
pgdbClass.h.OBS Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
pgdbUtil.cpp.OBS Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
pingUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
pingUtil.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
regexUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
regexUtil.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
returnCodes.h Mtce: Add heartbeat cluster information for SM query 2018-10-05 22:47:17 +00:00
threadUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
threadUtil.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
timeUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
timeUtil.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
tokenUtil.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
tokenUtil.h Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00