diff options
author | Brian Paul <[email protected]> | 2011-03-10 08:50:52 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-03-10 08:50:52 -0700 |
commit | 76a43c5fba9ccb5e7f945a06ce711b381da0819b (patch) | |
tree | 984fc9c3319c58cbc1b687b5c1a59d56b60a3fcb /src/glsl/ralloc.h | |
parent | 6d4e337f3890105c7d8a2f132412c137d2570d25 (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/glsl/ralloc.h')
0 files changed, 0 insertions, 0 deletions