Fix Coverity issue 12/223012/2
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 22 Jan 2020 06:37:52 +0000 (15:37 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Thu, 23 Jan 2020 08:06:19 +0000 (17:06 +0900)
- If the variable 'pixelFormat' is deliberately set to RGB16F or RGB32F,
 then Pixel::GetBytesPerPixel() returns 12u or 24u.
- Then, 'Out-of-bound' error may occur because the return value exceeds
 the scope of 'outputColor' array.

Change-Id: I5674b20d8976b925e12444eb9fc611e0d5633f49
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>

No differences found