Wireshark-bugs: [Wireshark-bugs] [Bug 1093] New: IKEv2 short-type attribute type value is not de

Date: Tue, 5 Sep 2006 09:40:53 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1093

           Summary: IKEv2 short-type attribute type value is not decoded
                    properly
           Product: Wireshark
           Version: 0.99.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Trivial
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: atsushi.fukumoto@xxxxxxxxxxxxx


The type code of IKEv2 Type/Value (TV) format attributes (RFC4306
section 3.3.5) is not handled properly.  Patch follows, although it
allows improper format attributes (e.g. long format when it should be
short format).

--- epan/dissectors/packet-isakmp.c.orig        2006-08-25 02:01:14.000000000
+0900
+++ epan/dissectors/packet-isakmp.c     2006-09-05 17:25:55.000000000 +0900
@@ -1451,7 +1451,7 @@
     guint32 val;
     guint pack_len;

-    str = v2_aft2str(aft);
+    str = v2_aft2str(type);

     if (aft & 0x8000) {
       val = tvb_get_ntohs(tvb, offset + 2);


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.