Fix sscanf vulnerability 69/133069/2
authorSunmin Lee <sunm.lee@samsung.com>
Thu, 8 Jun 2017 05:05:57 +0000 (14:05 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Fri, 9 Jun 2017 01:25:31 +0000 (10:25 +0900)
commit1f3072e5db73d37acd5d4eff30b42a178dcb267e
tree40eb231fa6149a573868e909ba82b1e861810cbc
parent0bec17daa6b5e747a1c54d3e941806f696d6b04d
Fix sscanf vulnerability

Specify a limit on the input string length
and keep the last byte for null character.

Change-Id: I717ac2ae565f2627e5de26426ec24c6ccf772c5e
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
src/sys-assert/sys-assert.c