cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libCurl curl-7.36.0 crash in quote command - illegal access ftp.c - line - 1743

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 4 May 2014 00:09:19 +0200 (CEST)

On Mon, 28 Apr 2014, John Coffey wrote:

> I have some additional specific crash details from a post I made this
> weekend (which I include for context below). The specific piece of code
> where libCurl breaks is from the backtrace from curl_easy_perform which
> breaks in the above line number (the function ftp_state_quote(...)).
>
> item = data->set.quote points to struct containing 2 fields (data & next)
> which are both NULL which is why the code below segfaults

So why are they NULL? They're data in the linked list provided by the
application.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-04