]> git.pld-linux.org Git - packages/XFree86.git/blobdiff - XFree86-xdmsecurity.patch
- desktop fixes, rel. 5
[packages/XFree86.git] / XFree86-xdmsecurity.patch
index e37c572f4cdb66097a5979e51408501fd5e770da..e135177ea13c313aaa8f22d1b6505bbdc8207e95 100644 (file)
@@ -1,11 +1,11 @@
---- XFree86-4.0/xc/programs/xdm/xdmcp.c.xdmsecurity.patch      Sat Oct 10 11:25:40 1998
-+++ XFree86-4.0/xc/programs/xdm/xdmcp.c        Wed Jun 28 18:30:13 2000
+--- XFree86-4.0.2/xc/programs/xdm/xdmcp.c~     Thu Dec 21 19:46:57 2000
++++ XFree86-4.0.2/xc/programs/xdm/xdmcp.c      Thu Dec 21 19:47:25 2000
 @@ -1128,7 +1128,7 @@
      XdmcpHeader       header;
      ARRAY8    status;
  
--    sprintf (buf, "Session %ld failed for display %s: %s",
-+    snprintf (buf, sizeof(buf), "Session %ld failed for display %s: %s",
+-    sprintf (buf, "Session %ld failed for display %.100s: %.100s",
++    snprintf (buf, sizeof(buf), "Session %ld failed for display %.100s: %.100s",
             (long) sessionID, name, reason);
      Debug ("Send failed %ld %s\n", (long) sessionID, buf);
      status.length = strlen (buf);
This page took 0.025456 seconds and 4 git commands to generate.