]>
Commit | Line | Data |
---|---|---|
dbdc0b03 JR |
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); |