Fix integer overflow issue 50/304450/1 accepted/tizen/unified/20240119.021427
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 17 Jan 2024 11:06:13 +0000 (20:06 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 17 Jan 2024 11:06:15 +0000 (20:06 +0900)
commitd2386df0d6f8edc61cba739623a360fdeeecb3d2
tree1024c91e07705948c519373da3782c4783691db5
parentb5c5c305e3c123948fd43c8b348c08e6aac9055e
Fix integer overflow issue

Possible integer underflow: left operand is tainted.
An integer underflow may occur due to arithmetic operation (unsigned subtraction) between values { [0, 4294967295] } and '1',
where the first value comes from the expression 'strlen(*worditer)'

Change-Id: I6664af6907644f34e5225fff91dca5209f55eaf0
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
bench/atom.c