cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: cURL bug -- Segmentation Fault when timeout is 1 second

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 3 Feb 2009 22:41:00 +0100 (CET)

On Tue, 3 Feb 2009, Daniel Marschall wrote:

> Now I could create a test program where the access violation appears after a
> few seconds. And that is the source code of the crash-demo-application:

Ok, that exact code didn't compile so the attached version is my adaption of
your code that builds and runs for me. Does this crash for you?

It works just fine for me with this curl:

curl 7.19.4-CVS (i686-pc-linux-gnu) libcurl/7.19.4-CVS OpenSSL/0.9.8g
zlib/1.2.3.3 c-ares/1.6.1-CVS libidn/1.10 libssh2/1.0.1_CVS
Protocols: tftp ftp telnet dict ldap http file https ftps scp sftp
Features: AsynchDNS Debug GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

... and for completeness also just as fine with this:

curl 7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3
libidn/1.10 libssh2/0.18
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

-- 
  / daniel.haxx.se

Received on 2009-02-03