security: Fix logging crash due to end of strings
authorDave Thaler <dthaler@microsoft.com>
Wed, 3 May 2017 17:44:23 +0000 (10:44 -0700)
committerPhil Coval <philippe.coval@osg.samsung.com>
Tue, 11 Jul 2017 07:46:33 +0000 (07:46 +0000)
commit04800791e3b0d2d673346d438108190db6ef2f44
treeb9b4423570e3d7dba58fea297cb22ad6e4fff772
parent6966f55d07e6fa5755ef85bc5d72e43768dadf5d
security: Fix logging crash due to end of strings

Fix logging crash due to reading past end of non-null terminated strings

Change-Id: I596c7cf7889017e46aefff9d68f08955a399e942
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19595
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
(cherry picked from commit 4266b7ecccce97d14e9e9cafb1e5cc86a8352e4f)
Reviewed-on: https://gerrit.iotivity.org/gerrit/21131
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
resource/csdk/security/src/crlresource.c