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)
commitc81df74b4066a9c6d6f4c4565cbd0a7985f5e068
tree58719aaec6028c91b02d2d5cded69ad4e58f5a8c
parent746c9a68c411a98ba9e853609775a1519ae5bcd9
Fix Coverity issue

- 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>
dali-toolkit/devel-api/text/text-utils-devel.cpp