metal/mtce-common
Yan Chen a92c543fd5 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: I7f954c97804ae01f831c94a36b9dbdbb34dbf083
Signed-off-by: Yan Chen <yan.chen@intel.com>
2018-12-07 00:47:21 +08:00
..
centos Fix mtce guest build failure 2018-11-22 10:26:18 -05:00
src No json_object_put() for the json_obj created by json_object_object_get_ex(). 2018-12-07 00:47:21 +08:00
PKG-INFO Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00