diff options
Diffstat (limited to 'net/ssldump/files/patch-base_tcppack.c')
-rw-r--r-- | net/ssldump/files/patch-base_tcppack.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/net/ssldump/files/patch-base_tcppack.c b/net/ssldump/files/patch-base_tcppack.c index a196ea951379..7b9f98ab002a 100644 --- a/net/ssldump/files/patch-base_tcppack.c +++ b/net/ssldump/files/patch-base_tcppack.c @@ -1,5 +1,5 @@ --- base/tcppack.c.orig 2002-09-09 21:02:58.000000000 +0000 -+++ base/tcppack.c 2009-03-11 09:09:07.000000000 +0000 ++++ base/tcppack.c 2009-03-11 19:40:48.000000000 +0000 @@ -222,7 +222,6 @@ int r,_status; tcp_seq seq,right_edge; @@ -62,12 +62,3 @@ _seg.p=p; _seg.s_seq=seq; -@@ -422,6 +425,8 @@ - - l=_seq - (s)->s_seq; /* number of bytes to trim - from the left of s */ -+ if(l < 1) return(0); -+ - off=(s)->p->tcp->th_off*4; - if(l>((s)->p->len-off)) ERETURN(R_BAD_DATA); - |