xserver-multidpi/hw
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
..
dmx dmxConfigCanvasUpdate: Delay dereference until after checking for NULL 2014-04-21 20:54:22 -07:00
kdrive kdrive: Ignore failure to chown console tty to current user 2014-04-18 16:30:17 -07:00
vfb Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
xfree86 xf86RandR12: use correct gamma size when allocating gamma table 2014-04-21 22:27:09 -07:00
xnest Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
xquartz XQuartz: Ensure we wait for the server thread to terminate 2014-04-06 05:32:03 -07:00
xwayland xwayland: Remove left-over ErrorF logging 2014-04-21 11:25:12 -07:00
xwin Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00