summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_glx.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-12-07 11:15:14 -0800
committerIan Romanick <[email protected]>2011-12-19 14:55:30 -0800
commit5a849e864ea2db3b705ba301089ee2ec1fe78aa1 (patch)
tree0bbdb5e7d5191d2f706d90c932b0c91290f67ef4 /src/glx/indirect_glx.c
parent7c2f1160c23970929a2846d210357447d07ff5f0 (diff)
glx: Fix handling of property list received from the server in glXImportContextEXT
The primary problem was that the number of reply bytes read is clamped to sizeof(propList), but the loop that processes the properties tries to examine all of the properties sent by the server. If the server sends 47,000 properties, we only read 3 but process all 47,000. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Adam Jackson <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glx/indirect_glx.c')
0 files changed, 0 insertions, 0 deletions