summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2007-03-02 02:31:52 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2007-03-02 02:31:52 +0000
commitaf9327a9abf1d943011786de2afa3ba5705453c6 (patch)
tree57ae5cf5d316862a794fab4586bd7d65811973dd /net-analyzer/tcpdump/files/tcpdump-3.9.5-print-802_11.c.diff
parentStable for HPPA. (diff)
downloadgentoo-2-af9327a9abf1d943011786de2afa3ba5705453c6.tar.gz
gentoo-2-af9327a9abf1d943011786de2afa3ba5705453c6.tar.bz2
gentoo-2-af9327a9abf1d943011786de2afa3ba5705453c6.zip
Add print-802_11.c patch for bug 168916. Thanks to Executioner <executioner at phobik dot org>. Also, removing old ebuilds.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-analyzer/tcpdump/files/tcpdump-3.9.5-print-802_11.c.diff')
-rw-r--r--net-analyzer/tcpdump/files/tcpdump-3.9.5-print-802_11.c.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/tcpdump/files/tcpdump-3.9.5-print-802_11.c.diff b/net-analyzer/tcpdump/files/tcpdump-3.9.5-print-802_11.c.diff
new file mode 100644
index 000000000000..a1f107dc7c70
--- /dev/null
+++ b/net-analyzer/tcpdump/files/tcpdump-3.9.5-print-802_11.c.diff
@@ -0,0 +1,11 @@
+--- tcpdump/print-802_11.c 2006/06/13 22:25:30 1.42
++++ tcpdump/print-802_11.c 2007/02/01 02:18:18 1.43
+@@ -264,7 +264,7 @@
+
+ if (pbody->tim.length <= 3)
+ break;
+- if (pbody->rates.length > sizeof pbody->tim.bitmap)
++ if (pbody->tim.length - 3 > sizeof pbody->tim.bitmap)
+ return;
+ if (!TTEST2(*(p + offset), pbody->tim.length - 3))
+ return;