cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Serious bug in libcurl multi (negative running) with reproduction code

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 13 Dec 2010 13:00:42 +0100 (CET)

On Wed, 1 Dec 2010, billludwig_at_fastmail.fm wrote:

> I have found interesting bug in multi libcurl interface. It is serious,
> because as result of this bug, program can enter infinite loop, hanging
> execution of whole program. Distinctive feature of this bug is, that
> "running" becomes negative without being equal to zero.

Thanks!

This bug was introduced in 7.21.2 and I've now pushed a fix that corrects it
for me.

Using the URL list from 10-at-a-time.c worked perfectly to repeat this.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-13