Ethereal-dev: Re: [Ethereal-dev] Crash by AJP13 protocol

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Martin Regner" <martin.regner@xxxxxxxxx>
Date: Wed, 26 Mar 2003 22:09:23 +0100
>
>> Crash occurs in line 667 of packet-ajp13.c because
>> cd->content_length == 0.
>
>That line just does
>
> if (cd->content_length) {
>
>in 0.9.11; testing whether something is non-zero generally doesn't cause
>a crash if it's not non-zero, although it could crash if "cd" is null.
>


I also get a crash for frame 5 (Error.cap) respectivelly frame 6 (Error2.cap).

cd is NULL according to Visual C++ debugger, and the crash says "The instruction at address XXXXX referenced memory at 000000000. Access violation".