xserver-multidpi/hw
Alan Coopersmith b680bda34d Fix a couple off-by-one array boundary checks.
Error: Write outside array bounds at Xext/geext.c:406
        in function 'GEWindowSetMask' [Symbolic analysis]
       In array dereference of cli->nextSib[extension] with index 'extension'
       Array size is 128 elements (of 4 bytes each), index <= 128

Error: Buffer overflow at dix/events.c:592
	in function 'SetMaskForEvent' [Symbolic analysis]
       In array dereference of filters[deviceid] with index 'deviceid'
       Array size is 20 elements (of 512 bytes each), index >= 0 and index <= 20

Error: Read buffer overflow at hw/xfree86/loader/loader.c:226
	in function 'LoaderOpen' [Symbolic analysis]
       In array dereference of refCount[new_handle] with index 'new_handle'
       Array size is 256 elements (of 4 bytes each), index >= 1 and index <= 256

These bugs were found using the Parfait source code analysis tool.
For more information see http://research.sun.com/projects/parfait

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-08 12:27:11 -07:00
..
dmx dix: remove all but main() from main.c 2009-04-28 15:57:14 +10:00
kdrive Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
vfb Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
xfree86 Fix a couple off-by-one array boundary checks. 2009-05-08 12:27:11 -07:00
xnest Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
xquartz dix: remove all but main() from main.c 2009-04-28 15:57:14 +10:00
xwin Cygwin/X: Fix keyboard layout mapping for Latin American keyboards 2009-02-22 13:08:42 +00:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00