Wireshark-commits: [Wireshark-commits] rev 38491: /trunk/wiretap/ /trunk/wiretap/: pcapng.c

Date: Thu, 11 Aug 2011 21:42:38 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38491

User: morriss
Date: 2011/08/11 02:42 PM

Log:
 From Hanspeter via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6229 :
 
 If an EnhancedPacketBlock in a pcapng file contains a comment option the
 content isn't displayed. Instead "Malformed packet" is displayed with the
 reason Exception occurred.
 
 The reason for the problem is a bug in the pcapng.c, where for enhanced packet
 blocks, interface description blocks and interface statistics blocks the wrong
 union members are used to set the comment. This way required fields in the
 structures are overwritten.
 
 The attached patch solves the problem.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +6 -6      pcapng.c      Modified