curl-library
Re: llist->next off by one
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 11 Nov 2003 18:33:26 +0100 (CET)
Date: Tue, 11 Nov 2003 18:33:26 +0100 (CET)
On Mon, 10 Nov 2003, Giuseppe Attardi wrote:
> The following occurred to me in hash.c,
> at line 259 in function Curl_hash_clean_with_criterium:
> (gdb) p *$.next
> $89 = {ptr = 0x8663dc0, prev = 0x915dae0, next = 0x8570367}
> (gdb) p *$.next
> $90 = {ptr = 0x47fb1000, prev = 0x662bb008, next = 0x8}
>
> The value of next in $89 is off by one.
Ouch. Is this situation repeatable?
Very odd sympthom indeed.
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not post private mails to this email address. They won't reach me. ]] ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/Received on 2003-11-11