aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mmdebug.h
diff options
context:
space:
mode:
authorZhao Junwang <zhjwpku@gmail.com>2015-07-07 17:08:35 +0800
committerMoyster <oysterized@gmail.com>2016-08-26 19:30:17 +0200
commitef8ed629e8d385ce70e78e6ee9216f0a023215df (patch)
treeb40c3c72728bcf592b81e9ca9b78aaebadb103d3 /include/linux/mmdebug.h
parentc7324e40d9015f4b911f4c05d77f3ecb4da538b8 (diff)
drm: add a check for x/y in drm_mode_setcrtc
commit 01447e9f04ba1c49a9534ae6a5a6f26c2bb05226 upstream. legacy setcrtc ioctl does take a 32 bit value which might indeed overflow the checks of crtc_req->x > INT_MAX and crtc_req->y > INT_MAX aren't needed any more with this v2: -polish the annotation according to Daniel's comment Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Zhao Junwang <zhjwpku@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'include/linux/mmdebug.h')
0 files changed, 0 insertions, 0 deletions