aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dsniff/06_urlsnarf_zeropad.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-09-29 12:30:58 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-09-29 12:31:09 +0000
commit526d616a09c1191b1b8ed13998538af2c2040d89 (patch)
tree44b52145e0a7f38a1530db765d9e72e669fec861 /testing/dsniff/06_urlsnarf_zeropad.patch
parent0dba7bc25a37335d5bd351b3d073aff1e5c9eef7 (diff)
downloadaports-526d616a09c1191b1b8ed13998538af2c2040d89.tar.bz2
aports-526d616a09c1191b1b8ed13998538af2c2040d89.tar.xz
testing/dsniff: new aport
Diffstat (limited to 'testing/dsniff/06_urlsnarf_zeropad.patch')
-rw-r--r--testing/dsniff/06_urlsnarf_zeropad.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/dsniff/06_urlsnarf_zeropad.patch b/testing/dsniff/06_urlsnarf_zeropad.patch
new file mode 100644
index 0000000000..be1c4beced
--- /dev/null
+++ b/testing/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);
+