aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2013-10-16 10:22:44 +0000
committerDave Airlie <[email protected]>2013-10-18 06:40:37 +0000
commitb062672e305ce071f21eb9e18b102c2a430e0999 (patch)
tree6a07fbd3e3a7e63d8770772d8ba9f64eff66f206 /net/lapb/lapb_timer.c
parentdrm/vmwgfx: Don't kill clients on VT switch (diff)
downloadkernel-b062672e305ce071f21eb9e18b102c2a430e0999.tar.gz
kernel-b062672e305ce071f21eb9e18b102c2a430e0999.zip
drm: Prevent overwriting from userspace underallocating core ioctl structs
Apply the protections from commit 1b2f1489633888d4a06028315dc19d65768a1c05 Author: Dave Airlie <[email protected]> Date: Sat Aug 14 20:20:34 2010 +1000 drm: block userspace under allocating buffer and having drivers overwrite it (v2) to the core ioctl structs as well, for we found one instance where there is a 32-/64-bit size mismatch and were guilty of writing beyond the end of the user's buffer. Signed-off-by: Chris Wilson <[email protected]> Cc: Dave Airlie <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions