xserver-multidpi/os
James Cloos 331cc3f079 Fix LookupColor
Using strncasecmp(3) with the lenght of the user-supplied colour name
will result in a false positive when the db key starts out with the
same string.

Eg, blue will also match BlueViolet (aka blue violet).

Since the shorter strings occur first in the database, avoid such
errors by treating a 0 result from strncasecmp(3) as a positive result
when the key’s length is longer than the supplied string’s.
2008-07-23 00:01:43 -04:00
..
access.c Dead code removal 2008-07-17 21:37:50 +03:00
auth.c Everyone has urandom 2008-07-17 21:39:46 +03:00
connection.c Dead code removal 2008-07-17 21:37:50 +03:00
io.c Dead code removal 2008-07-17 21:37:50 +03:00
log.c Remove dead code, useless #defines, et al 2008-07-17 22:37:31 +03:00
Makefile.am OS/KDrive/XFree86: Sanitise colour initialisation 2008-07-16 01:38:22 +03:00
mitauth.c Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
oscolor.c Fix LookupColor 2008-07-23 00:01:43 -04:00
osdep.h Dead code removal 2008-07-17 21:37:50 +03:00
osinit.c Remove dead code, useless #defines, et al 2008-07-17 22:37:31 +03:00
rpcauth.c Dead code removal 2008-07-17 21:37:50 +03:00
strlcat.c Death to RCS tags. 2007-06-29 14:06:52 -04:00
strlcpy.c Death to RCS tags. 2007-06-29 14:06:52 -04:00
utils.c Drop the FONTCACHE extension. 2008-07-18 10:54:10 -04:00
WaitFor.c Fix Xvfb input when building against current X sources. 2008-04-07 10:20:02 -04:00
xdmauth.c Fix multiple warnings in os/xdmauth.c. 2008-06-13 22:12:02 -04:00
xdmcp.c Dead code removal 2008-07-17 21:37:50 +03:00
xprintf.c Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h". 2005-07-03 08:53:54 +00:00
xstrans.c Change HAVE_CONFIG_H to HAVE_DIX_CONFIG_H. 2005-07-03 12:16:29 +00:00