diff options
| author | Zhao Junwang <zhjwpku@gmail.com> | 2015-07-07 17:08:35 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 19:30:17 +0200 |
| commit | ef8ed629e8d385ce70e78e6ee9216f0a023215df (patch) | |
| tree | b40c3c72728bcf592b81e9ca9b78aaebadb103d3 /include/linux/srcu.h | |
| parent | c7324e40d9015f4b911f4c05d77f3ecb4da538b8 (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/srcu.h')
0 files changed, 0 insertions, 0 deletions
