head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.40 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.38 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.36 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.34 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.32 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.30 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.28 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.26 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.24 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.22 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.20 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.18 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.16 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.14 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.12 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.10 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.8 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.6 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.4 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.2 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.2.0.2 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.1.0.2; locks; strict; comment @# @; 1.3 date 2005.08.05.16.29.55; author drochner; state dead; branches; next 1.2; 1.2 date 2005.06.12.15.38.32; author salo; state Exp; branches; next 1.1; 1.1 date 2005.05.28.14.15.23; author adrianp; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2005.05.28.14.15.23; author salo; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2005.05.28.22.24.59; author salo; state Exp; branches; next 1.1.2.3; 1.1.2.3 date 2005.06.13.05.31.49; author snj; state Exp; branches; next ; desc @@ 1.3 log @update to 0.9.3 changes: Option to chroot() when dropping privs Fixes for compiling on nearly every platform, including improved 64bit support Many new testcases Support for sending packets Improved Unicode support Decoders & DLT Changes, Updates and New @ text @$NetBSD: patch-ac,v 1.2 2005/06/12 15:38:32 salo Exp $ --- print-bgp.c.orig 2004-03-24 01:04:04.000000000 +0100 +++ print-bgp.c 2005-06-12 17:22:17.000000000 +0200 @@@@ -1216,6 +1216,8 @@@@ tptr = pptr + len; break; } + if (advance < 0) /* infinite loop protection */ + break; tptr += advance; } break; @@@@ -1646,9 +1648,10 @@@@ while (dat + length > p) { char buf[MAXHOSTNAMELEN + 100]; i = decode_prefix4(p, buf, sizeof(buf)); - if (i == -1) + if (i == -1) { printf("\n\t (illegal prefix length)"); - else if (i == -2) + break; + } else if (i == -2) goto trunc; else { printf("\n\t %s", buf); @ 1.2 log @Security fix for DoS in BGP packets' processing. Patch from tcpdump cvs. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @- Update to nb1 for security issues - Patches from tcpdump.org CVS tree @ text @d3 3 a5 3 --- print-bgp.c.orig 2005-05-06 09:08:17.000000000 +0100 +++ print-bgp.c @@@@ -1216,6 +1216,8 @@@@ bgp_attr_print(const struct bgp_attr *at d14 13 @ 1.1.2.1 log @file patch-ac was added on branch pkgsrc-2005Q1 on 2005-05-28 14:15:23 +0000 @ text @d1 13 @ 1.1.2.2 log @Pullup ticket 521 - requested by Adrian Portelli security fix for tcpdump Revisions pulled up: - pkgsrc/net/tcpdump/Makefile 1.15 - pkgsrc/net/tcpdump/distinfo 1.8 - pkgsrc/net/tcpdump/patches/patch-ac 1.1 - pkgsrc/net/tcpdump/patches/patch-ad 1.1 - pkgsrc/net/tcpdump/patches/patch-ae 1.1 - pkgsrc/net/tcpdump/patches/patch-af 1.1 Module Name: pkgsrc Committed By: adrianp Date: Sat May 28 14:15:23 UTC 2005 Modified Files: pkgsrc/net/tcpdump: Makefile distinfo Added Files: pkgsrc/net/tcpdump/patches: patch-ac patch-ad patch-ae patch-af Log Message: - Update to nb1 for security issues - Patches from tcpdump.org CVS tree @ text @a0 13 $NetBSD: patch-ac,v 1.1.2.1 2005/05/28 22:24:59 salo Exp $ --- print-bgp.c.orig 2005-05-06 09:08:17.000000000 +0100 +++ print-bgp.c @@@@ -1216,6 +1216,8 @@@@ bgp_attr_print(const struct bgp_attr *at tptr = pptr + len; break; } + if (advance < 0) /* infinite loop protection */ + break; tptr += advance; } break; @ 1.1.2.3 log @Pullup ticket 549 - requested by Lubomir Sedlacik security fix for tcpdump Revisions pulled up: - pkgsrc/net/tcpdump/Makefile 1.16 - pkgsrc/net/tcpdump/distinfo 1.9 - pkgsrc/net/tcpdump/patches/patch-ac 1.2 Module Name: pkgsrc Committed By: salo Date: Sun Jun 12 15:38:32 UTC 2005 Modified Files: pkgsrc/net/tcpdump: Makefile distinfo pkgsrc/net/tcpdump/patches: patch-ac Log Message: Security fix for DoS in BGP packets' processing. Patch from tcpdump cvs. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1.2.2 2005/06/13 05:31:49 snj Exp $ d3 3 a5 3 --- print-bgp.c.orig 2004-03-24 01:04:04.000000000 +0100 +++ print-bgp.c 2005-06-12 17:22:17.000000000 +0200 @@@@ -1216,6 +1216,8 @@@@ a13 13 @@@@ -1646,9 +1648,10 @@@@ while (dat + length > p) { char buf[MAXHOSTNAMELEN + 100]; i = decode_prefix4(p, buf, sizeof(buf)); - if (i == -1) + if (i == -1) { printf("\n\t (illegal prefix length)"); - else if (i == -2) + break; + } else if (i == -2) goto trunc; else { printf("\n\t %s", buf); @