diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-11-28 01:18:47 +0300 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-06-17 15:52:00 +0200 |
| commit | ea1e4373161e88c072b99a71f2961e1f7ac69f38 (patch) | |
| tree | 16e998d141fd19ee26486f5765b1335ae63333a7 /scripts/checkstack.pl | |
| parent | 915106fd1b45687cabfa546b77613239c2d95995 (diff) | |
drm/nv50/disp: min/max are reversed in nv50_crtc_gamma_set()
commit bdefc8cbdfc71ea73e0573dbd2d24c0a68232218 upstream.
We should be taking the minimum here instead of the max. It could lead
to a buffer overflow.
Fixes: 438d99e3b175 ('drm/nvd0/disp: initial crtc object implementation')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
a/drm/nv50_display.c b/drm/nv50_display.c
index f8e66c08b11a..4e384a2f99c3 100644
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
