Fix svace issue : kdbg_stackopt array index error
authorjc_.kim <jc_.kim@samsung.com>
Wed, 13 Sep 2017 06:11:04 +0000 (15:11 +0900)
committerjc_.kim <jc_.kim@samsung.com>
Wed, 13 Sep 2017 06:11:04 +0000 (15:11 +0900)
commit3b56f67911b5880d7b0443e1ab0ca5fe315025e6
tree0322c2ac9f9aa397b003a0dbc86ecc5f7824f5ca
parentf5cb53df4ef051189609e4fb5fbecb7005cb1773
Fix svace issue : kdbg_stackopt array index error

Buffer '&stkmon_arr' of size 64 accessed at kdbg_stackopt.c:124 can overflow, since its index 'stkmon_idx' can have value 64
 that is out of range, as indicated by preceding conditional expression at kdbg_stackopt.c:114.
apps/system/utils/kdbg_stackopt.c