Check parsing response from cjson
authorAbhishek Sharma <ce.abhishek@samsung.com>
Sat, 17 Sep 2016 07:27:28 +0000 (12:57 +0530)
committerMadan Lanka <lanka.madan@samsung.com>
Tue, 20 Sep 2016 11:31:58 +0000 (11:31 +0000)
commit4815e501d2af69d9b19fd28e866134c61b0dd981
tree990665b2a48370db7eee631ef66775da52ac5741
parent02488c95057b3cf160ad60feea3b960352b36c70
Check parsing response from cjson

Prevent crash if invalid json response received from server.

Change-Id: I339796be64ca4ec46d2e68a02b7f128a8c2fcdab
Signed-off-by: Abhishek Sharma <ce.abhishek@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11905
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
service/coap-http-proxy/samples/proxy_client.c
service/coap-http-proxy/src/CoapHttpHandler.c