[Mesa-dev] [Bug 95456] glXGetFBConfigs has invalid screen bounds

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 17 14:30:21 UTC 2016


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

            Bug ID: 95456
           Summary: glXGetFBConfigs has invalid screen bounds
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: GLX
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: jirislaby at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

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

This is bad:
    if (priv && (priv->screens != NULL)
       && (screen >= 0) && (screen <= ScreenCount(dpy))
It should write:
    if (priv && (priv->screens != NULL)
       && (screen >= 0) && (screen < ScreenCount(dpy))


I have sent a patch to mesa-dev at lists.freedesktop.org, but it is moderated and
I am not sure it went through.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160517/4da8df0c/attachment.html>


More information about the mesa-dev mailing list