curl-library
Re: Bug in curl_multi_info_read in multi.c?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 26 Mar 2007 09:17:24 +0200 (CEST)
Date: Mon, 26 Mar 2007 09:17:24 +0200 (CEST)
On Sun, 25 Mar 2007, Robert Iakobashvili wrote:
>> Thanks! I applied this now. This problem was added in CVS on Feb 21, alas
>> it has not been present in a release.
>
> Could it be that the similar changes are applicable also to other places in
> multi.c, where the below traversal pattern is used?
>
> easy = multi->easy.next;
> while(easy) {
>
> DO SOMETHING
>
> easy=easy->next;
> }
Yes, since that list is nowadays a circular list we must change all list
traversing code...
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-03-26