summaryrefslogtreecommitdiff
path: root/include/drm/drm_crtc.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-10-12 09:22:27 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-10-13 08:56:14 +0300
commitf7741aa75e76440f4e9ecfe512feebe9bce33ca8 (patch)
treed01b507f23ef1a21f6d77ba187494e11d6307e17 /include/drm/drm_crtc.h
parent1550333c597a98fc1bb529167ecf22333a3b4b39 (diff)
downloadlinux-f7741aa75e76440f4e9ecfe512feebe9bce33ca8.tar.xz
drm/savage: dereferencing an error pointer
A recent cleanup changed the kmalloc() + copy_from_user() to memdup_user() but the error handling wasn't updated so we might call kfree(-EFAULT) and crash. Fixes: a6e3918bcdb1 ('GPU-DRM-Savage: Use memdup_user() rather than duplicating') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20161012062227.GU12841@mwanda
Diffstat (limited to 'include/drm/drm_crtc.h')
0 files changed, 0 insertions, 0 deletions