]> git.pld-linux.org Git - packages/XFree86.git/blob - XFree86-xdmsecurity.patch
- 4.8.0 (probably the last XFree86 version ever, for comparison and archival reasons)
[packages/XFree86.git] / XFree86-xdmsecurity.patch
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.06599 seconds and 3 git commands to generate.