diff options
author | Thomas Hellstrom <[email protected]> | 2014-09-03 11:14:51 +0200 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2014-09-04 14:31:52 +0200 |
commit | 2d6206140afe9ecb551822ea00c36eeeef7edfbf (patch) | |
tree | 909ff6f145d83261a33d92b3dce82738ce9b6033 /src/gallium/drivers/ilo/genhw | |
parent | 504f5f9d1a4fb5a0ddc8a5d0bf73fd6eba96b1d0 (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/gallium/drivers/ilo/genhw')
0 files changed, 0 insertions, 0 deletions