]> git.pld-linux.org Git - packages/XFree86.git/blame_incremental - XFree86-xdmsecurity.patch
- Added /etc/xdg to libs subpkg
[packages/XFree86.git] / XFree86-xdmsecurity.patch
... / ...
CommitLineData
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
3@@ -1128,7 +1128,7 @@
4 XdmcpHeader header;
5 ARRAY8 status;
6
7- sprintf (buf, "Session %ld failed for display %.100s: %.100s",
8+ snprintf (buf, sizeof(buf), "Session %ld failed for display %.100s: %.100s",
9 (long) sessionID, name, reason);
10 Debug ("Send failed %ld %s\n", (long) sessionID, buf);
11 status.length = strlen (buf);
This page took 0.025454 seconds and 4 git commands to generate.