Bug fixing related to stringtests failures on x86
authorRavi Nanjundappa <nravi.n@samsung.com>
Mon, 8 Jun 2015 10:24:23 +0000 (15:54 +0530)
committerErich Keane <erich.keane@intel.com>
Mon, 8 Jun 2015 17:33:51 +0000 (17:33 +0000)
commit0eead761be664597a784a99d5a1300c8df26db17
tree02cdce3fc00d8ca438a274b11f37dbee3fe42ca6
parent46ae6d00ac6d39164473477ec03b002c07e28ad7
Bug fixing related to stringtests failures on x86

Fixed Crash issues related to Strcat in the following cases
* StrcatPartialShorterSourceLen
* StrcatPartialEqualSourceLen
* StrcatPartialLongerSourceLen
* StrcatPartialZeroSourceLen

The failures were due to buffer overflow during memset.

Change-Id: Ie588c7288377bea59366e8e1ebf9fed78f4fe5b1
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1213
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/c_common/oic_string/test/linux/oic_string_tests.cpp