Ethereal-dev: Re: [Ethereal-dev] Dissector bug for HTTP protocol

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

From: Jerry Talkington <jtalkington@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Apr 2005 08:13:27 -0700
On Fri, Apr 29, 2005 at 12:54:14AM +0200, Nicolas Gregoire wrote:
> Hello,
> 
> the attached file (containing a basic HTTP request) will generate an
> error in its dissector :
> 
> [Dissector bug, protocol HTTP: "Request Version" -
> "http.request.version" invalid length: -26 (proto.c:2104)]

This doesn't happen with the latest svn version, so look for it to be
fixed in the next release.
 
> The rquest is a simple "GET /index.php HTTP/1.0\r\r\r". Tested on
> "tethereal 0.10.10", running with libpcap version 0.8.3 on Linux
> 2.6.11-gentoo-r5 ...

It does look quite ugly in the svn version, though, with two widgets for
Hypertext Transport Protocol.  This request is actually malformed, as
there should be \r\n\r\n instead of \n\n\n.

-- 
GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9D5B8762