git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41315b7
)
drm: add a check for x/y in drm_mode_setcrtc
author
Zhao Junwang
<zhjwpku@gmail.com>
Tue, 7 Jul 2015 09:08:35 +0000
(17:08 +0800)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 7 Jul 2015 12:05:12 +0000
(14:05 +0200)
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>
drivers/gpu/drm/drm_crtc.c
patch
|
blob
|
history
diff --cc
drivers/gpu/drm/drm_crtc.c
Simple merge