ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] h.223 robustness fixes

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Thu, 22 Feb 2007 21:42:28 +0100
Committed revision 20898
together with the other patch.
Best regards
Anders

-----Ursprungligt meddelande-----
Från: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För Richard van der Hoff
Skickat: den 22 februari 2007 16:59
Till: Developer support list for Wireshark
Ämne: Re: [Wireshark-dev] h.223 robustness fixes

Thanks, Anders.

Here's an updated patch - sorry about that.



Anders Broman wrote:
> Hi,
> Compile failes on Windows with:
> packet-h223.c
> packet-h223.c(596) : warning C4018: '<' : signed/unsigned mismatch
> packet-h223.c(1156) : error C2065: 'uint' : undeclared identifier
> packet-h223.c(1156) : error C2146: syntax error : missing ';' before
> identifier
> 'needed'
> packet-h223.c(1156) : error C2065: 'needed' : undeclared identifier
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
> Best regards
> Anders
> 
> -----Ursprungligt meddelande-----
> Från: wireshark-dev-bounces@xxxxxxxxxxxxx
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För Richard van der Hoff
> Skickat: den 20 februari 2007 13:12
> Till: Developer support list for Wireshark
> Ämne: [Wireshark-dev] h.223 robustness fixes
> 
> Hi,
> 
> This patch improves the general robustness of the h.223 dissector 
> (making it less likely to crash on malformed data).
> 
> Hopefully this also fixes a bug raised by Fabio Sguanci a few weeks ago. 
> Fabio: I think a better way to fix the problem is to stop the dissector 
> crashing when it finds a malformed PDU, so that it just treats the first 
> pdu as malformed; there is then no need to special-case it.
> 
> I don't think this patch will apply cleanly without the "bitswapping" 
> patch I submitted yesterday.
> 
> Thanks,
> 
> Richard
> 
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev