Wireshark-dev: Re: [Wireshark-dev] [PATCH] packet-ber: dissect_unknown_ber fix
From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Tue, 6 Mar 2007 22:06:25 +0100
Committed revision 20984.
Best regards
Anders

-----Ursprungligt meddelande-----
Från: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För Stig Bjørlykke
Skickat: den 6 mars 2007 21:32
Till: Developer support list for Wireshark
Ämne: [Wireshark-dev] [PATCH] packet-ber: dissect_unknown_ber fix

Hi.

When dumping elements in a constructor in dissect_unknown_ber the  
last element is not put in the correct subtree, because the while- 
loop does not include the header length when checking for the end.

Attached a patch to fix this bug.


-- 
Stig Bjørlykke