Ethereal-dev: Re: [Ethereal-dev] PROTOS traces

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: Thu, 28 Feb 2002 17:25:42 -0800
On Thu, Feb 28, 2002 at 07:22:44PM -0600, Gerald Combs wrote:
> The bug appears to be somewhere around
> dissect_ldap_response_search_entry(). Read_sequence() sets seq_length to
> what looks like an invalid (large) value.  I'm not familiar enough with
> the LDAP and ASN.1 code to narrow the problem down further.

Well, it blows up even sooner on a Solaris/SPARC system at work, because
it tries to dereference an uninitialized (and misaligned) pointer.

A lot of the problem is, I suspect, that we're not checking the return
values of a bunch of the routines, which will return error codes for
ASN.1 BER dissection errors.

I'm working on that one; hopefully, it'll let me get to the other
problem (or fix the other problem).