]> git.pld-linux.org Git - packages/XFree86.git/blob - XFree86-xdmsecurity.patch
e37c572f4cdb66097a5979e51408501fd5e770da
[packages/XFree86.git] / XFree86-xdmsecurity.patch
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.027699 seconds and 3 git commands to generate.