Commit Graph

7 Commits

Author SHA1 Message Date
drochner
d8f5b90097 merged tcpdump-3.9.7 2007-07-24 11:53:36 +00:00
drochner
adf4078381 Fix a possible integer overflow in buffer length calculation due to
insufficient check of snprintf()'s return value, see gentoo bug #184815.
The exploit provided appearently doesn't trigger the overflow in
NetBSD; this might be due to different error return behavior of snprintf
implementations, or due to the fact that out tcpdump is still 3.8.3
while the bug was reported against 3.9.x. The fix looks correct in any
case.
The exploit caused an endless loop at another place instead, due
to an obvious bug, so fix this too.
Also apply another patch which was applied to the 3.8 branch upstream
but never released: rev. 1.72.2.5, infinite loop protection for ldp and bgp

We should update tcpdump to 3.9.x.
2007-07-20 17:12:37 +00:00
dyoung
88f1d7df8c Resolve conflicts in tcpdump-3.8.3 import. 2004-09-27 23:04:24 +00:00
itojun
83d7d548f9 sync with 3.7.1 (2002/5/31) 2002-05-31 09:45:44 +00:00
itojun
d52aa152c7 sync with 3.7.1 2002-02-18 09:37:05 +00:00
itojun
6a5ada5fef __RCSID() 2001-06-25 19:59:56 +00:00
itojun
56a052e678 tcpdump, from tcpdump repository as or 2001/6/26 2001-06-25 19:26:28 +00:00