xserver-multidpi/hw/xfree86/modes
Dominik Behr 70e564104b xf86RandR12: use correct gamma size when allocating gamma table
When setting crtc->gamma_size to randr_crtc->gammaSize we should
use randr_crtc->gammaSize to allocate new gamma table in crtc.
Currently, if randr_crtc->gammaSize > crtc->gammaSize the subsequent
memcpy will overwrite memory beyond the end of gamma table.

Signed-off-by: Dominik Behr <dbehr@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
2014-04-21 22:27:09 -07:00
..
Makefile.am Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
xf86Crtc.c xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
xf86Crtc.h Add a return value to load_cursor_argb() to allow it to report failure 2014-04-03 16:46:55 -07:00
xf86Cursors.c Add a return value to load_cursor_argb() to allow it to report failure 2014-04-03 16:46:55 -07:00
xf86cvt.c xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xf86DiDGA.c xf86dga: handle DGAAvailable for gpu screens. (v2) 2012-07-07 10:37:10 +01:00
xf86DisplayIDModes.c Define prototypes for hw/xfree86/modes/xf86Modes.c only in xf86Modes.h. 2013-04-08 09:19:34 -07:00
xf86EdidModes.c edid: Add quirk for Sony Vaio Pro 13 2014-01-30 16:27:59 -08:00
xf86gtf.c xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xf86Modes.c xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xf86Modes.h Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86RandR12.c xf86RandR12: use correct gamma size when allocating gamma table 2014-04-21 22:27:09 -07:00
xf86RandR12.h Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86Rotate.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00