]> git.pld-linux.org Git - packages/X11.git/blame - X11-xdmsecurity.patch
- another try
[packages/X11.git] / X11-xdmsecurity.patch
CommitLineData
37f44e2a 1--- xc.orig/programs/xdm/xdmcp.c 2004-08-08 14:22:57.000000000 +0200
2+++ xc/programs/xdm/xdmcp.c 2004-08-08 15:00:03.061777904 +0200
3@@ -1316,7 +1316,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.023 seconds and 4 git commands to generate.