commit | 01447e9f04ba1c49a9534ae6a5a6f26c2bb05226 | [log] [tgz] |
---|---|---|
author | Zhao Junwang <zhjwpku@gmail.com> | Tue Jul 07 17:08:35 2015 +0800 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Jul 07 14:05:12 2015 +0200 |
tree | 73c261984d099bfe5eb37d4236a32d3938e46e10 | |
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>