Wireshark-commits: [Wireshark-commits] rev 47795: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Thu, 21 Feb 2013 15:20:26 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=47795

User: alagoutte
Date: 2013/02/21 07:20 AM

Log:
 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)

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