Go to file
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
build Increase growth limit from 64m to 80m for 1024mb hdpi tablet 2014-12-11 13:40:37 -08:00
cmds Merge "Remove useless 'svcmgr_handle' (which had wrong type)." 2015-04-06 23:13:32 +00:00
data/etc Revert "Camera: Add XML entries and files for new system features" 2014-12-03 11:13:06 -08:00
include DO NOT MERGE libgui: Plumb attach/detach through Surface 2015-04-02 13:35:45 -07:00
libs Fix a memory corruption issue when vector resize 2015-04-10 11:59:52 +05:30
opengl DO NOT MERGE Add dataSpace to buffer queues; remove old format enums. 2015-03-19 13:56:00 -07:00
services Fix mistake using width instead of height. 2015-03-23 14:37:26 -07:00
MODULE_LICENSE_APACHE2
NOTICE