| Summary: |
Crash: Mesa checks for invalid pointer, then uses it anyway. |
| Product: |
Mesa
|
Reporter: |
Gabriel M. Beddingfield <gabrbedd> |
| Component: |
Other | Assignee: |
Kristian Høgsberg <krh> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
critical
|
|
|
| Priority: |
medium
|
CC: |
idr, olvaffe
|
| Version: |
7.9 | |
|
| Hardware: |
All | |
|
| OS: |
All | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Using Mixxx 1.9.0-beta on MeeGo (Mesa 7.9.1) I got a SEGFAULT here: /* BEGIN: src/egl/drivers/dri2/egl_dri2.c:1548 */ geometry_reply = xcb_get_geometry_reply (dri2_dpy->conn, geometry_cookie, &error); if (geometry_reply == NULL || error != NULL) { _eglError(EGL_BAD_ALLOC, "xcb_get_geometry"); free(error); free(buffers_reply); } switch (geometry_reply->depth) { /* END */ The pointer returned is checked for validity... but the function does not return. The SEGFAULT occurs at the switch() statement.