Bug 310914
| Summary: | [Android] WPEBufferAndroid: RELEASE_ASSERT(s_eglDestroyImage) fires before EGL_NO_IMAGE guard in wpeBufferAndroidDisposeEGLImageIfNeeded | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alejandro G. Castro <alex> |
| Component: | New Bugs | Assignee: | Alejandro G. Castro <alex> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Alejandro G. Castro
wpeBufferAndroidDisposeEGLImageIfNeeded unconditionally asserts that s_eglDestroyImage is non-null before checking whether the buffer actually has an EGL image to destroy. This causes a crash whenever a WPEBufferAndroid is disposed in a context where import_to_egl_image was never called, for example, when the Android platform backend composites via ASurfaceTransaction and never needs the EGL image path.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alejandro G. Castro
Pull request: https://github.com/WebKit/WebKit/pull/61513
EWS
Committed 310103@main (ec80755105bc): <https://commits.webkit.org/310103@main>
Reviewed commits have been landed. Closing PR #61513 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/173532778>