[IOT-2117][Bug][Data loss] No check for snprintf return.
authorSenthil Kumar G S <senthil.gs@samsung.com>
Thu, 11 May 2017 12:09:31 +0000 (17:39 +0530)
committerUze Choi <uzchoi@samsung.com>
Tue, 16 May 2017 00:48:00 +0000 (00:48 +0000)
commit604bc6a736749160049c1eea59b2b2e0669439e4
tree070a29b09f17083249e520068c8a548acb1e3840
parent749b3cb1ed1ab0b682330cd11061dada0f38d9ba
[IOT-2117][Bug][Data loss] No check for snprintf return.

Added code to properly handle the return value of snprintf().

Change-Id: I12bb53e32279d0ac7c09740389e6d3124b19c4dc
Signed-off-by: Senthil Kumar G S <senthil.gs@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19657
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
resource/csdk/stack/src/ocendpoint.c
resource/csdk/stack/src/ocpayloadconvert.c