aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-08 04:51:42 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-08 04:51:42 +0000
commit7b54edd5bf4f7d8861cbe59c9bf2ab8345c633d0 (patch)
tree15c272c7f73651cf7b286cea45c87ddc957c9bd1
parent5639f39d3dea4383177c27623103a922a4183f38 (diff)
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
-rw-r--r--epan/dissectors/packet-ipv6.c3
1 files changed, 3 insertions, 0 deletions
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