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

          Priority: medium
            Bug ID: 57372
          Assignee: mesa-dev@lists.freedesktop.org
           Summary: x11-libs/libxcb media-libs/mesa segfault in
                    __glXGetString
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: ri...@gentoo.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 9.0
         Component: GLX
           Product: Mesa

Created attachment 70371
  --> https://bugs.freedesktop.org/attachment.cgi?id=70371&action=edit
backtrace

Downstream bug:
https://bugs.gentoo.org/show_bug.cgi?id=444159

I'm getting a segfault in libxcb, which seems to be the result of calling
xcb_glx_get_string_string_length with a null parameter in __glXGetString.  The
call into mesa originates in qt-opengl, called from the application sleepyhead.

Full backtrace attached - happy to generate additional info as required.

I couldn't find documentation concerning error handling in these functions, so
I'm not sure what point in the call chain is considered at-fault for passing
along bad input.  I did note that __glXGetString does not check the value of
reply before passing it along, which might or might not be intended.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to