replicant-frameworks_native/libs/ui
Colin Cross 18fae75350 crash if getNativeBuffer() called on NULL GraphicBuffer
If getNativeBuffer() is called on a NULL GraphicBuffer the
static_cast of this from GraphicBuffer* to ANativeWindowBuffer*
will return a small pointer like (ANativeWindowBuffer*)0x10.
This value can propagate past NULL checks until it causes a crash
far away from the original NULL pointer.  Crash immediately
instead.

Change-Id: Id614b9eb1484108b3c3c733545309844c4b87532
2014-07-22 17:47:03 -07:00
..
tests Fix misuse of $(my-dir). 2014-02-28 18:05:56 -08:00
Android.mk Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
Fence.cpp libui: fix passing Fence object over binder 2014-04-14 19:06:47 -07:00
FramebufferNativeWindow.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
FrameStats.cpp Adding render stats APIs to UiAutomation (framework native). 2014-04-10 12:32:19 -07:00
GraphicBuffer.cpp crash if getNativeBuffer() called on NULL GraphicBuffer 2014-07-22 17:47:03 -07:00
GraphicBufferAllocator.cpp add more tracing for buffer allocation 2012-02-29 20:47:20 -08:00
GraphicBufferMapper.cpp Use asynchronous lock/unlock API 2014-05-12 09:13:03 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
PixelFormat.cpp libgui: Add a test for SRGB surfaces 2014-01-07 16:43:39 -08:00
Rect.cpp take the "transparent region" into account for blending 2013-05-10 18:35:43 -07:00
Region.cpp am d4dabf87: am cdbf28b3: Merge "native frameworks: 64-bit compile issues" 2014-03-13 23:12:09 +00:00
UiConfig.cpp Show build config in dumpsys SurfaceFlinger 2012-09-25 11:31:46 -07:00