[Mesa-dev] [PATCH] glx: Extra gc null check for glXMakeCurrent
juhapekka.heikkila at gmail.com
Mon Nov 25 10:41:52 PST 2013
On Mon, Nov 25, 2013 at 7:12 PM, Ian Romanick <idr at freedesktop.org> wrote:
> On 11/25/2013 07:23 AM, Juha-Pekka Heikkila wrote:
> > Extra null check before accessing user given context pointer.
> oldGC can never be NULL. If there is no current context, it will point
> to dummyContext.
Ah, ok. I was just going through list what Klocwork says about Mesa
and did not see what prevented null here.
More information about the mesa-dev