hi all,

another one, that fixes a bug that
was introduced through boundary checking;

/hannes

Index: print-isoclns.c
===================================================================
RCS file: /tcpdump/master/tcpdump/print-isoclns.c,v
retrieving revision 1.30
diff -u -r1.30 print-isoclns.c
--- print-isoclns.c     2001/10/29 09:06:48     1.30
+++ print-isoclns.c     2001/11/09 10:51:07
@@ -916,6 +916,8 @@
                    return (1);
                tptr += alen;
                tmp -= alen + 1;
+               if (tmp==0) /* if this is the last area address do not attemt a 
+boundary check */
+                 break;
                if (!TTEST2(*tptr, 1))
                    goto trunctlv;
                alen = *tptr++;

Reply via email to