]> git.pld-linux.org Git - packages/X11.git/blob - XFree86-xdmsecurity.patch
- added x11r6.9.0-mitri.diff (official CVE-2006-1525 fix)
[packages/X11.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.030166 seconds and 3 git commands to generate.