Fix SVACE issue 75/141875/2
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 2 Aug 2017 01:27:11 +0000 (10:27 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 3 Aug 2017 07:50:27 +0000 (16:50 +0900)
commitd2e808d74faa874a500aa4b2b2bf32c93faa8924
tree3366f02cfb9bfab7e131e66fc3c3b1b206c6300b
parent482152634bba9ec7a2b4eda7655a025dc149b6cc
Fix SVACE issue

- Integer 'rowStride' could be obtained from untrusted source at loader-bmp.cpp:105
- Checked 'infoHeader.width' and 'infoHeader.height' bounds

Change-Id: I5e054565e85b11dc8cdb5a2809955fd75a3c53fb
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
platform-abstractions/tizen/image-loaders/loader-bmp.cpp