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
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);