[SVACE/414609] Fix 65505016 Warning
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 1 Apr 2019 07:25:22 +0000 (16:25 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 1 Apr 2019 10:45:48 +0000 (19:45 +0900)
commit581c6d644bbe6f4d4187fbb4d38b61db2b9f3c3c
tree8afc58d35f32d648bb634e90a11e23206c662429
parentddd6b4350be3f322ed6b456770de67d0aca6882d
[SVACE/414609] Fix 65505016 Warning

Line 249 of tensordec-boundingbox.c has the following SVACE warning:

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

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
ext/nnstreamer/tensor_decoder/tensordec-boundingbox.c