httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: [Fwd: Re: apr_brigade_create() produces a corrupt brigade]
Date Sun, 29 Oct 2006 12:59:15 GMT
Ruediger Pluem wrote:

>> This runs fine - a brigade is created, containing a single bucket.
>>
>> The trouble is, the bucket inside the brigade is corrupt - it's name
>> consists of random bytes, and the pointers to its methods are either
> 
> Maybe stupid thought, but isn't this bucket the sentinel and doesn't
> APR_BRIGADE_EMPTY return true on this brigade?

There definitely was one bucket in the new empty brigade, and it makes 
sense that this bucket was the sentinel. What didn't make sense though 
was that most of the fields in this bucket were uninitialised, so the 
jump table for code that implements the various bucket methods consisted 
of bogus addresses.

Regards,
Graham
--

Mime
View raw message