https://bugzilla.novell.com/show_bug.cgi?id=469638 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c12 --- Comment #12 from Stefan Dirsch <sndirsch@novell.com> 2009-02-12 03:32:03 MST --- Hmm. Maybe I'm blind, but currently I don't see the null pointer dereference. Here is the context: /* ** Deassociate a context from a drawable */ void __glXDeassociateContext(__GLXcontext *glxc) { __GLXcontext *curr, *prev; prev = NULL; if (glxc->drawPriv) { for ( curr = glxc->drawPriv->drawGlxc; curr != NULL ----> ; prev = curr, curr = curr->nextDrawPriv ) { if (curr == glxc) { /* found context. Deassociate. */ if (prev == NULL) { glxc->drawPriv->drawGlxc = curr->nextDrawPriv; } else { prev->nextDrawPriv = curr->nextDrawPriv; } curr->nextDrawPriv = NULL; __glXUnrefDrawable(glxc->drawPriv); break; } } } prev = NULL; if (glxc->readPriv) { for ( curr = glxc->readPriv->readGlxc ; curr != NULL ; prev = curr, curr = curr->nextReadPriv ) { if (curr == glxc) { /* found context. Deassociate. */ if (prev == NULL) { glxc->readPriv->readGlxc = curr->nextReadPriv; } else { prev->nextReadPriv = curr->nextReadPriv; } curr->nextReadPriv = NULL; __glXUnrefDrawable(glxc->readPriv); break; } } } } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.