replicant-frameworks_native/libs/ui
ywen aef0445c6f Fix a memory corruption issue when vector resize
There is memory corruption in below code

const Rect* prev = &dst[prevIndex];
dst.add(Rect(prev->right, top, right, bottom));

prev points to a memory of vector dst, when dst resize in add()
call, the memory that prev points to will be copy to the new
allocated vector memory and the old memory will become undefined

Avoid pointer in this case, use a local copy instead

Change-Id: I4d95ceedd00c8fb615ac153082ade1b1ce0d0fa8
2015-04-10 11:59:52 +05:30
..
tests Some more test cleanup. 2014-10-16 20:46:05 -07:00
Android.mk Disable struct padding warning/error 2014-12-04 18:06:48 -08:00
Fence.cpp libui: Enable -Weverything and -Werror 2014-12-04 17:56:27 -08:00
FramebufferNativeWindow.cpp Libui: Remove unused variables 2014-12-05 20:52:16 -08:00
FrameStats.cpp Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
GraphicBuffer.cpp Update maxNumber to be smaller. 2015-03-18 16:00:05 -07:00
GraphicBufferAllocator.cpp libui: Enable -Weverything and -Werror 2014-12-04 17:56:27 -08:00
GraphicBufferMapper.cpp resolved conflicts for merge of 1f9f71e1 to lmp-mr1-dev-plus-aosp 2015-01-28 21:27:46 -08:00
MODULE_LICENSE_APACHE2
NOTICE
PixelFormat.cpp DO NOT MERGE Add dataSpace to buffer queues; remove old format enums. 2015-03-19 13:56:00 -07:00
Rect.cpp take the "transparent region" into account for blending 2013-05-10 18:35:43 -07:00
Region.cpp Fix a memory corruption issue when vector resize 2015-04-10 11:59:52 +05:30
UiConfig.cpp libui: Enable -Weverything and -Werror 2014-12-04 17:56:27 -08:00