summaryrefslogtreecommitdiff
blob: a1f107dc7c70856bab77eff8d0a6e8230bfdfce2 (plain)
1
2
3
4
5
6
7
8
9
10
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;