summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorZhao Junwang <zhjwpku@gmail.com>2015-07-07 17:08:35 +0800
committerSasha Levin <sasha.levin@oracle.com>2015-08-04 14:27:42 -0400
commit6a85c7b5fdf5a300a25a5f804f24b8fb09e472f9 (patch)
tree730fc5d97cab646aec745b8af31b50a32ff8568f /security
parent04e685d86e0c3fd7b47bebb6efdd488222b500e1 (diff)
downloadlwn-6a85c7b5fdf5a300a25a5f804f24b8fb09e472f9.tar.gz
lwn-6a85c7b5fdf5a300a25a5f804f24b8fb09e472f9.zip
drm: add a check for x/y in drm_mode_setcrtc
[ Upstream commit 01447e9f04ba1c49a9534ae6a5a6f26c2bb05226 ] 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> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions