cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3499559 ] Segmentation fault

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 08 Mar 2012 12:01:21 -0800

Bugs item #3499559, was opened at 2012-03-08 05:37
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3499559&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
Group: crash
Status: Open
Resolution: Out of Date
Priority: 5
Private: No
Submitted By: hellllllllllooooooooooooooooo (gratustk)
Assigned to: Daniel Stenberg (bagder)
Summary: Segmentation fault

Initial Comment:
Centos 5
curl --version
curl 7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 libssh2/1.2.7
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

 curl "http://pplant.usf.edu"
------> Segmentation fault

Centos 6
curl --version
curl 7.19.7 (x86_64-unknown-linux-gnu) libcurl/7.19.7 NSS/3.12.7.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

curl "http://pplant.usf.edu"
------>Segmentation fault (core dumped)

when i use this url: http://www.pplant.usf.edu it works

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2012-03-08 12:01

Message:
I tried both 7.24.0 and 7.25.0-DEV built with GSS-Negotiate and they worked
fine.

The 7.21.7 version I tested that crashed was built with an identical
configure line as the 7.25.0-DEV one.

----------------------------------------------------------------------

Comment By: Dan Fandrich (dfandrich)
Date: 2012-03-08 11:58

Message:
The 7.24.1 version that I tested wasn't built with GSS-Negotiate, and I'm
thinking strongly now that that's required to trigger this. I won't be able
to try with such a version in the short term.

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2012-03-08 11:38

Message:
It is a derefence of a NULL pointer in lib/http_negotiate.c that segfaults
and I didn't immediately spot which commit that corrected this, and I
wasn't bored enough to bisect the fix. Unless someone else wants to bisect,
I say we leave it being happy it works now!

----------------------------------------------------------------------

Comment By: Dan Fandrich (dfandrich)
Date: 2012-03-08 11:11

Message:
I was able to reproduce it on 7.20.1, but not on 7.24.1. The logs I get
are:

* About to connect() to pplant.usf.edu port 80 (#0)
* Trying 131.247.42.1... Connection refused
* Trying 131.247.42.7... connected
* Connected to pplant.usf.edu (131.247.42.7) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.20.1 (i586-mandriva-linux-gnu) libcurl/7.20.1
OpenSSL/1.0.0a zlib/1.2.3 libidn/1.18 libssh2/1.2.5
> Host: pplant.usf.edu
> Accept: */*
>
< HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires
authorization to fulfill the request. Access to the Web Proxy service is
denied. )
< Via:1.1 PPLANT-7
< Proxy-Authenticate: NTLM
< Proxy-Authenticate: Kerberos
Segmentation fault

Even though it looks like it's already been fixed, solved, it may be
worthwhile investigating if it was fixed deliberately or it just happens to
work for me now accidentally.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3499559&group_id=976
Received on 2012-03-08

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET