cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl_compareheader SIGSEGV

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 9 Mar 2003 20:33:40 +0100 (CET)

On Fri, 7 Mar 2003, jose wrote:

> #1 0x4003b7f9 in curl_strnequal (first=0x4e2d6649
> <Address 0x4e2d6649 out of bounds>, second=0x4003e3be
> "User-Agent:",
> max=11) at strequal.c:52
> #2 0x4002aa70 in checkheaders (data=0x4e2d6649,
> thisheader=0x4003e3be "User-Agent:") at http.c:366

You have a broken list of custom headers that libcurl is trying to walk
through.

The list was set with CURLOPT_HTTPHEADER, but you might've freed the data
before libcurl tries to read it or something.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
Received on 2003-03-09