aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2019-12-04 16:52:37 -0800
committerLinus Torvalds <[email protected]>2019-12-04 19:44:13 -0800
commit5bf8bec3f4ce044a223c40cbce92590d938f0e9c (patch)
tree382e80939a7bbb2af821d51931e290e50427dc6f /lib/memory-notifier-error-inject.c
parentbd7bca4335a55561b627149322e93de1b25404c1 (diff)
drm: limit to INT_MAX in create_blob ioctl
The hardened usercpy code is too paranoid ever since commit 6a30afa8c1fb ("uaccess: disallow > INT_MAX copy sizes") Code itself should have been fine as-is. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Daniel Vetter <[email protected]> Reported-by: [email protected] Fixes: 6a30afa8c1fb ("uaccess: disallow > INT_MAX copy sizes") Cc: Kees Cook <[email protected]> Cc: Alexander Viro <[email protected]> Cc: Stephen Rothwell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions