prevent out of bounds 85/209485/4
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 8 Jul 2019 08:14:04 +0000 (17:14 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Wed, 10 Jul 2019 03:58:07 +0000 (12:58 +0900)
If bytesPerPixel is 0, the alphaIndex value is 4294967295.
  const unsigned int bytesPerPixel = Dali::Pixel::GetBytesPerPixel(pixelFormat);
  const unsigned int alphaIndex = bytesPerPixel - 1u;

Change-Id: Ia7c1dc67d913141bd8d2c2fad062d7d861843fd1


No differences found