Wireshark-commits: [Wireshark-commits] rev 36034: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Wed, 23 Feb 2011 17:45:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36034

User: morriss
Date: 2011/02/23 09:45 AM

Log:
 From Fulko Hew via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5709 :
 
 When Wireshark receives an AgentX Ping-PDU that contains a zero length
 'context' identifier it emits the following warning:
 
 14:30:20          Warn Dissector bug, protocol AgentX, in packet 1066:
 tvbuff.c:2571: failed assertion "bufsize != 0"
 
 
 The attached patch prevents the warning message from appearing under that
 circumstance.  Note:  This patch will also prevent the warning under all other
 conditions where a zero length string is specified anywhere in the protocol
 dissector.

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +2 -1      packet-agentx.c    Modified