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
Android.mk
Fence.cpp
FramebufferNativeWindow.cpp
FrameStats.cpp
GraphicBuffer.cpp
GraphicBufferAllocator.cpp
GraphicBufferMapper.cpp
MODULE_LICENSE_APACHE2
NOTICE
PixelFormat.cpp
Rect.cpp
Region.cpp
UiConfig.cpp