Crash at CADestroyDataSet() 32/215632/1
authorsourav bhuwalka <s.bhuwalka@samsung.com>
Thu, 26 Sep 2019 18:10:08 +0000 (23:40 +0530)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 14 Oct 2019 00:57:59 +0000 (09:57 +0900)
commit22410897e4072dffa4318220527d2fe12bb6f6c7
tree005b5d9ab934625e9cc32b4f8dcba5c581ee2fa2
parent916a88f2a3192652d4650170dd56ce1af2648f8b
Crash at CADestroyDataSet()

Setting info->token to NULL after free to avoid double free

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/582
(cherry-picked from 3fb0338b52b04ee58f12bb46f27ef20cf12c2d47)

Change-Id: If6268f9ebb9965b84809c54d38b3b3826cf51830
Signed-off-by: sourav bhuwalka <s.bhuwalka@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
resource/csdk/connectivity/src/camessagehandler.c