summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2014-09-03 11:14:51 +0200
committerThomas Hellstrom <[email protected]>2014-09-04 14:31:52 +0200
commit2d6206140afe9ecb551822ea00c36eeeef7edfbf (patch)
tree909ff6f145d83261a33d92b3dce82738ce9b6033 /src/mesa/main/attrib.c
parent504f5f9d1a4fb5a0ddc8a5d0bf73fd6eba96b1d0 (diff)
winsys/svga: Fix incorrect type usage in IOCTL v2
While similar in layout, the size of the SVGA3dSize type may be smaller than the struct drm_vmw_size type that is part of the ioctl interface. The kernel driver could accordingly overwrite a memory area following the size variable on the stack. Typically that would be another local variable, causing breakage in, for example, ubuntu 12.04.5 where the handle local variable becomes overwritten. v2: Fix whitespace errors Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]> Cc: "10.1 10.2 10.3" <[email protected]>
Diffstat (limited to 'src/mesa/main/attrib.c')
0 files changed, 0 insertions, 0 deletions