diff options
author | Zhao Junwang <zhjwpku@gmail.com> | 2015-07-07 17:08:35 +0800 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-07-07 14:05:12 +0200 |
commit | 01447e9f04ba1c49a9534ae6a5a6f26c2bb05226 (patch) | |
tree | 73c261984d099bfe5eb37d4236a32d3938e46e10 /drivers/s390 | |
parent | 41315b793e13f884cda79389f0d5d44d027e57d1 (diff) |
drm: add a check for x/y in drm_mode_setcrtc
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>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions