xserver-multidpi/hw/dmx
Alan Coopersmith c89bcd12f4 Xdmx: integer overflow in GetGLXVisualConfigs()
numVisuals & numProps are both CARD32 and need to be bounds checked before
multiplying by structure sizes to come up with the total size to allocate,
to avoid integer overflow leading to underallocation and writing data from
the network past the end of the allocated buffer.

Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-07-17 18:10:40 -07:00
..
config dmxVDLRead: if we opened a file, close it instead of leaking it 2013-04-24 14:22:36 -07:00
doc dix: Remove refs to mi backing store from docs 2012-09-23 10:31:39 -07:00
doxygen dmx: modernize doxygen generation. 2011-05-13 14:08:07 -07:00
examples Fix formatting of address operators 2012-12-05 18:09:48 -06:00
glxProxy Fix formatting of address operators 2012-12-05 18:09:48 -06:00
input Drop custom sigio block/unblock functions from kdrive, ephyr and dmx 2012-07-03 15:56:35 +10:00
man Add xkeyboard-config to See Also of man pages referencing xkb 2011-06-21 17:54:43 -07:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
dmx_glxvisuals.c Xdmx: integer overflow in GetGLXVisualConfigs() 2013-07-17 18:10:40 -07:00
dmx_glxvisuals.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmx-config.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmx.c Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
dmx.h DMX: Add DMX and GLX extensions 2012-11-21 11:13:55 +11:00
dmxcb.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcb.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxclient.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcmap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcursor.c hw/dmx: add update_desktop_dimensions() call 2012-11-29 14:48:54 +10:00
dmxcursor.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxdpms.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxdpms.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxextension.c api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
dmxextension.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxfont.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxfont.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxgc.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxgc.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxgcops.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxgcops.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinit.c hw/dmx: fix build without GLX 2012-12-18 00:03:59 -08:00
dmxinit.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinput.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinput.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxlog.c dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF and _X_NORETURN 2012-05-01 11:36:35 +10:00
dmxlog.h dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF and _X_NORETURN 2012-05-01 11:36:35 +10:00
dmxpict.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxpict.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxpixmap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxpixmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxprop.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxprop.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxscrinit.c api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
dmxscrinit.h api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
dmxshadow.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxshadow.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxstat.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxstat.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxsync.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxsync.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxvisual.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxvisual.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxwindow.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
dmxwindow.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Makefile.am dmx: split DocBook/XML and Doxygen makefile targets 2011-05-13 14:08:05 -07:00