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

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: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 26 Mar 2003 11:51:08 -0800
On Wed, Mar 26, 2003 at 12:05:17PM -0700, Greg Morris wrote:
> The attached packet traces will crash Ethereal on Windows if the AJP13
> protocol is enabled.

It doesn't happen for me with 0.9.11 on Windows 2000.

> 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.