Wireshark-bugs: [Wireshark-bugs] [Bug 7359] SNMP dissector bug: STATUS_INTEGER_DIVIDE_BY_ZERO
Date: Tue, 30 Apr 2013 23:20:47 +0000

Comment # 13 on bug 7359 from
(In reply to comment #9)
> (In reply to comment #7)
> But, with SVN r49098, I get lots of the
> >
> > following (basically 1 for every packet):
> 
> ** (tshark.exe:3668): WARNING **:
> > > Dissector bug, protocol SNMP, in packet 1: pro
> to.c:6200: failed assertion
> > > "(guint)n < gpa_hfinfo.len" (Unregistered hf!)
>   1   0.000000    127.0.0.1
> > > -> 127.0.0.1    UDP 109   Source port: 50399  Destin
> ation port: snmp [UDP
> > > CHECKSUM INCORRECT][Dissector bug, protocol SNMP: proto.c:
> 6200: failed
> >
> > assertion "(guint)n < gpa_hfinfo.len" (Unregistered hf!)]
> 
> 
> This appears to be introduced by r49055. SNMP is (intentionally?) not
> providing an hf_item to dissect_ber_integer.  CCing Evan.

Mea culpa, fixed in r49101. Every other use of hf_id in that function is
conditional on it being >=0, so my patch should have been as well.


You are receiving this mail because:
  • You are watching all bug changes.