]> git.pld-linux.org Git - packages/X11.git/blame - XFree86-xdmsecurity.patch
- add default vt for local X server
[packages/X11.git] / XFree86-xdmsecurity.patch
CommitLineData
4b162f90
JR
1--- XFree86-4.0/xc/programs/xdm/xdmcp.c.xdmsecurity.patch Sat Oct 10 11:25:40 1998
2+++ XFree86-4.0/xc/programs/xdm/xdmcp.c Wed Jun 28 18:30:13 2000
3@@ -1128,7 +1128,7 @@
4 XdmcpHeader header;
5 ARRAY8 status;
6
7- sprintf (buf, "Session %ld failed for display %s: %s",
8+ snprintf (buf, sizeof(buf), "Session %ld failed for display %s: %s",
9 (long) sessionID, name, reason);
10 Debug ("Send failed %ld %s\n", (long) sessionID, buf);
11 status.length = strlen (buf);
This page took 0.111835 seconds and 4 git commands to generate.