diff options
| author | Brian Paul <brianp@vmware.com> | 2011-03-10 08:50:52 -0700 |
|---|---|---|
| committer | Brian Paul <brianp@vmware.com> | 2011-03-10 08:50:52 -0700 |
| commit | 76a43c5fba9ccb5e7f945a06ce711b381da0819b (patch) | |
| tree | 984fc9c3319c58cbc1b687b5c1a59d56b60a3fcb /src/mesa/state_tracker/st_cb_bufferobjects.c | |
| 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/mesa/state_tracker/st_cb_bufferobjects.c')
0 files changed, 0 insertions, 0 deletions
