mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-06 13:06:11 +02:00
git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
14
src/patches/tcpdump-3.8.2-bgp-dos.patch
Normal file
14
src/patches/tcpdump-3.8.2-bgp-dos.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
borrowed from fedora
|
||||
fix for CAN-2005-1279
|
||||
|
||||
--- tcpdump-3.8.2/print-bgp.c.old 2004-03-24 01:01:00.000000000 +0100
|
||||
+++ tcpdump-3.8.2/print-bgp.c 2005-04-28 12:47:12.000000000 +0200
|
||||
@@ -1089,7 +1089,7 @@
|
||||
printf(", no SNPA");
|
||||
}
|
||||
|
||||
- while (len - (tptr - pptr) > 0) {
|
||||
+ while ((tptr - pptr) > 0 && len - (tptr - pptr) > 0) {
|
||||
switch (af) {
|
||||
case AFNUM_INET:
|
||||
switch (safi) {
|
||||
Reference in New Issue
Block a user