Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 41158: /trunk/ui/gtk/ /trunk/ui/gtk/: main_proto_draw.c

Date: Thu, 23 Feb 2012 11:29:25 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41158

User: etxrab
Date: 2012/02/23 03:29 AM

Log:
 From Kundok Park:
 new_packet_list: crash in add_byte_views from decrypted zigbee data
 
 
 The cause of the crash I saw was that the add_byte_views() function in
 main_proto_draw.c relies on output from previous dissector run while the
 function may eventually trigger dissector to run again which wipes out the
 previous output.
 The patch copies the output of the dissector before calling add_byte_tab() so
 that even when add_byte_tab() updates the dissector output, the loop continues
 with previous dissector output.
 
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5130

Directory: /trunk/ui/gtk/
  Changes    Path                 Action
  +21 -1     main_proto_draw.c    Modified