xserver/os
Alan Coopersmith d2db5100b1 Convert DetermineClientCmd to use strdup instead of malloc+strncpy
*cmdname is initialized to NULL earlier in the function, so it's
okay to overwrite it with NULL if strdup fails, don't need that
extra check.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit 780133f9ae)
2012-01-18 10:50:16 -08:00
..
access.c os: Silence warnings when building with clang 2011-04-25 10:45:34 -07:00
auth.c Constify function prototypes in auth & xdmcp code 2010-05-07 12:22:58 -07:00
backtrace.c os: don't ignore failure from dladdr 2012-01-18 10:32:54 -08:00
client.c Convert DetermineClientCmd to use strdup instead of malloc+strncpy 2012-01-18 10:50:16 -08:00
connection.c os: fix use after free in EstablishNewConnections 2011-04-07 19:57:38 +03:00
io.c record: Prevent out of bounds access when recording a reply. 2011-11-21 18:43:32 -08:00
log.c Terminate the log with one last message. 2011-07-27 09:31:02 +10:00
Makefile.am Don't use empty source files 2011-06-23 05:28:31 -07:00
mitauth.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
oscolor.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
osdep.h os: always check if client is local when connection is accepted 2010-12-31 12:52:51 +00:00
osinit.c Consolidate all the PATH_MAX handling into misc.h 2011-03-14 13:42:55 -04:00
rpcauth.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
strcasecmp.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
strcasestr.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
strlcat.c os: include dix-config.h, not xorg-config.h 2010-11-11 08:41:38 +10:00
strlcpy.c os: include dix-config.h, not xorg-config.h 2010-11-11 08:41:38 +10:00
utils.c Fix CVE-2011-4029: File permission change vulnerability. 2011-10-18 09:25:07 -07:00
WaitFor.c os: Reduce smart scheduler setup calls 2011-01-20 21:08:17 -05:00
xdmauth.c Replace deprecated bzero with memset 2010-06-06 15:07:27 +07:00
xdmcp.c When XDMCP -from is specified, only register the requested address 2011-03-14 13:11:38 -07:00
xprintf.c Typo in xserver Xvasprintf() 2010-12-18 00:22:29 -08:00
xsha1.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xstrans.c os: Silence warnings when building with clang 2011-04-25 10:45:34 -07:00