aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/dsniff/06_urlsnarf_zeropad.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/dsniff/06_urlsnarf_zeropad.patch')
-rw-r--r--unmaintained/dsniff/06_urlsnarf_zeropad.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/unmaintained/dsniff/06_urlsnarf_zeropad.patch b/unmaintained/dsniff/06_urlsnarf_zeropad.patch
new file mode 100644
index 0000000000..be1c4beced
--- /dev/null
+++ b/unmaintained/dsniff/06_urlsnarf_zeropad.patch
@@ -0,0 +1,13 @@
+Author: Steve Kemp <skx@debian.org>
+Description: urlsnarf: zero-pad date, Closes #298605.
+--- a/urlsnarf.c 2011-06-19 17:15:01.103999376 -0500
++++ b/urlsnarf.c 2011-06-19 17:15:08.631999375 -0500
+@@ -68,7 +68,7 @@
+ t->tm_hour - gmt.tm_hour);
+ tz = hours * 60 + t->tm_min - gmt.tm_min;
+
+- len = strftime(tstr, sizeof(tstr), "%e/%b/%Y:%X", t);
++ len = strftime(tstr, sizeof(tstr), "%d/%b/%Y:%X", t);
+ if (len < 0 || len > sizeof(tstr) - 5)
+ return (NULL);
+