From 7b54edd5bf4f7d8861cbe59c9bf2ab8345c633d0 Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 8 Aug 2009 04:51:42 +0000 Subject: From Ivan Sy: Fixed IPv6 malformed packet when ip6_nxt (Next Header) is equal to "59". as per section 4.7 RFC 2460. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29334 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-ipv6.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/epan/dissectors/packet-ipv6.c b/epan/dissectors/packet-ipv6.c index 498848637d..9d374194df 100644 --- a/epan/dissectors/packet-ipv6.c +++ b/epan/dissectors/packet-ipv6.c @@ -1459,6 +1459,9 @@ again: plen -= advance; goto again; + case IP_PROTO_NONE: + break; + default: /* Since we did not recognize this IPv6 option, check * whether it is a known protocol. If not, then it -- cgit v1.2.3