]> git.pld-linux.org Git - packages/X11.git/blobdiff - X11-xdmsecurity.patch
- patches modified for new snap of X11 (DEVEL branch)
[packages/X11.git] / X11-xdmsecurity.patch
diff --git a/X11-xdmsecurity.patch b/X11-xdmsecurity.patch
new file mode 100644 (file)
index 0000000..7e56e3f
--- /dev/null
@@ -0,0 +1,11 @@
+--- xc.orig/programs/xdm/xdmcp.c       2004-08-08 14:22:57.000000000 +0200
++++ xc/programs/xdm/xdmcp.c    2004-08-08 15:00:03.061777904 +0200
+@@ -1316,7 +1316,7 @@
+     XdmcpHeader       header;
+     ARRAY8    status;
+-    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.037829 seconds and 4 git commands to generate.