[Mesa-dev] [Bug 33946] New: Crash: Mesa checks for invalid pointer, then uses it anyway.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 5 13:34:31 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=33946

           Summary: Crash: Mesa checks for invalid pointer, then uses it
                    anyway.
           Product: Mesa
           Version: 7.9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/X11
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: gabrbedd at gmail.com


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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list