Go to file
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
composite Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00
config config: if we can't connect to HAL, listen for a startup notification. 2009-02-10 15:01:44 +10:00
damageext Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
dbe Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
dix Fix a couple off-by-one array boundary checks. 2009-05-08 12:27:11 -07:00
doc xfree86: restore default off for DontZap 2009-04-28 16:17:16 +10:00
exa exa: add missing exa.h header include 2009-04-23 12:13:35 +10:00
fb Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
glx Fix obvious copypasta 2009-04-27 13:36:39 -07:00
hw Fix a couple off-by-one array boundary checks. 2009-05-08 12:27:11 -07:00
include xkb: remove _XkbAlloc, _XkbCalloc, _XkbRealloc and _XkbFree 2009-05-08 14:28:53 +10:00
m4 Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
mi mi: don't crash if we're trying to update the pointer for a keyboard. 2009-05-05 14:12:04 +10:00
miext XQuartz: Update window levels when changing rootless state 2009-04-10 00:47:40 -07:00
os Make the cursor completely optional 2009-04-28 10:43:53 +10:00
randr Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
record Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
render Fix typo in ProcRenderCreateAnimCursor. 2009-05-04 10:14:43 +02:00
test test: add InternalEvent to core event conversion tests. 2009-04-28 15:57:14 +10:00
Xext Fix a couple off-by-one array boundary checks. 2009-05-08 12:27:11 -07:00
xfixes Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
Xi Xi: fix copy/paste error causing sizeof against wrong struct. 2009-05-08 14:24:47 +10:00
xkb xkb: remove _XkbAlloc, _XkbCalloc, _XkbRealloc and _XkbFree 2009-05-08 14:28:53 +10:00
.gitignore Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac Change glib require for tests to auto. 2009-05-05 14:12:04 +10:00
COPYING Revert "Update COPYING for SHA1 code" 2008-09-23 09:21:37 -07:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Move contributed m4 to a subdir so we can more easily update contributions. 2009-04-14 10:35:44 -04:00
shave-libtool.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
shave.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Enable compiling the X Server and modules with hidden symbols by default. 2008-11-28 02:01:57 -02:00