summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast_setup
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-03-10 08:50:52 -0700
committerBrian Paul <[email protected]>2011-03-10 08:50:52 -0700
commit76a43c5fba9ccb5e7f945a06ce711b381da0819b (patch)
tree984fc9c3319c58cbc1b687b5c1a59d56b60a3fcb /src/mesa/swrast_setup
parent6d4e337f3890105c7d8a2f132412c137d2570d25 (diff)
glx: fix null pointer deref in __glXGenerateError()
The gc var would be NULL if called from line 238. Instead, get the opcode from __glXSetupForCommand(dpy) as done in other places. And remove the unused gc parameter. Fixes a bug reported by "John Doe" on 3/9/2011. NOTE: This is a candidate for the 7.10 branch.
Diffstat (limited to 'src/mesa/swrast_setup')
0 files changed, 0 insertions, 0 deletions