diff options
| author | 2017-03-08 15:02:55 -0800 | |
|---|---|---|
| committer | 2017-03-08 15:02:55 -0800 | |
| commit | 10e9ab50517330d1972234b4c167d5467d01abbf (patch) | |
| tree | 54d3f8bd51f1d792a3a1b00afad7649911adae9d /libs/gui/BufferQueue.cpp | |
| parent | 56a8f942731ad34a8e85a9a0fb84f1be2ead5541 (diff) | |
check that the NativeWindowType is valid in eglCreateWindowSurface
This will avoid certain crash (null dereference),
and return an error instead. This is useful for
app developers as java language apps are not
expected to crash when passed bad arguments
This doesn’t fix bug 36065206, but was prompted
by it.
Test: compile / run
Bug: 36065206
Change-Id: I90d25730b3dd292d756b4c38b51320a466fa6d48
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions