xserver-multidpi/hw/xfree86
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
..
common Fix hw/xfree86/common/compiler.h for mips64 2014-04-21 22:02:32 -07:00
ddc Merge remote-tracking branch 'dlespiau/20131216-4k' 2014-01-22 11:32:35 -08:00
dixmods Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
doc miinitext: introduce LoadExtensionList() to replace over LoadExtension() 2014-03-25 16:00:17 -07:00
dri dri1: Don't bother asking the loader about drmGetLibVersion 2014-04-18 11:11:19 -07:00
dri2 DRI2SwapBuffers: Fix uninitialized target SBC. 2014-04-21 11:24:32 -07:00
exa xfree86/exa: xf86GetOptValString returns const char * now 2014-01-12 10:14:50 -08:00
fbdevhw xfree86/fbdevhw: Fix warnings 2014-01-12 10:14:50 -08:00
glamor_egl glamor: Add support for DRI3. 2014-03-05 13:10:24 -08:00
i2c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
int10 Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
loader Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
man Xorg.wrap manpages: use __appmansuffix__ instead of hardcoding 1 2014-04-18 16:37:42 +02:00
modes xf86RandR12: use correct gamma size when allocating gamma table 2014-04-21 22:27:09 -07:00
os-support systemd-logind: Monitor systemd-logind going away 2014-03-26 10:05:12 +10:00
parser Fix build when configured --enable-debug 2014-03-27 14:34:32 +00:00
ramdac Add a return value to load_cursor_argb() to allow it to report failure 2014-04-03 16:46:55 -07:00
shadowfb shadowfb: Fix compilation errors 2014-04-21 21:39:43 -07:00
utils Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vbe Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vgahw Link libvgahw with $(PCIACCESS_LIBS) as well 2014-01-29 15:21:55 -08:00
x86emu xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am Merge remote-tracking branch 'whot/for-keith' 2014-04-03 10:44:28 -07:00
sdksyms.sh xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xorg-wrapper.c Xorg.wrap: Make the console check portable 2014-04-18 11:40:09 +02:00
Xorg.sh.in Xorg: Add a suid root wrapper 2014-03-12 08:50:05 +01:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00