Wireshark-commits: [Wireshark-commits] rev 48104: / /trunk-1.8/epan/dissectors/: packet-ieee80211.c

Date: Tue, 05 Mar 2013 21:35:19 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48104

User: gerald
Date: 2013/03/05 01:35 PM

Log:
 Copy over r47795 from the trunk:
 
   ------------------------------------------------------------------------
   r47795 | alagoutte | 2013-02-21 07:20:25 -0800 (Thu, 21 Feb 2013) | 6 lines
   Changed paths:
      M /trunk/epan/dissectors/packet-ieee80211.c
 
   From report of Jim Young via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8345 Malformed IEEE80211 frame triggers DISSECTOR_ASSERT
 
   In some cases these malformed frames trigger a DISSECTOR_ASSERT() in proto.c's proto_item_set_len().  This happens when packet-ieee80211.c's dissect_ieee80211_mgt() calls packet-ieee80211.c's get_tagged_parameter_tree() with a "size" parameter value of -1.
 
   From me:
   Replace by proto_tree_add_item with -1 length (and use FT_NONE ftype)
   ------------------------------------------------------------------------
 
 
 Update the release notes.

Directory: /trunk-1.8/epan/dissectors/
  Changes    Path                  Action
  +4 -10     packet-ieee80211.c    Modified

Directory: /trunk-1.8/docbook/
  Changes    Path                 Action
  +8 -2      release-notes.xml    Modified