]> git.pld-linux.org Git - packages/XFree86.git/blame - XFree86-xdmsecurity.patch
- 4.8.0 (probably the last XFree86 version ever, for comparison and archival reasons)
[packages/XFree86.git] / XFree86-xdmsecurity.patch
CommitLineData
b19d4d8b
JR
1--- XFree86-4.0.2/xc/programs/xdm/xdmcp.c~ Thu Dec 21 19:46:57 2000
2+++ XFree86-4.0.2/xc/programs/xdm/xdmcp.c Thu Dec 21 19:47:25 2000
dbdc0b03
JR
3@@ -1128,7 +1128,7 @@
4 XdmcpHeader header;
5 ARRAY8 status;
6
b19d4d8b
JR
7- sprintf (buf, "Session %ld failed for display %.100s: %.100s",
8+ snprintf (buf, sizeof(buf), "Session %ld failed for display %.100s: %.100s",
dbdc0b03
JR
9 (long) sessionID, name, reason);
10 Debug ("Send failed %ld %s\n", (long) sessionID, buf);
11 status.length = strlen (buf);
This page took 0.107883 seconds and 4 git commands to generate.