cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: [PATCH] Fix segfault if --libcurl output file cannot be created.

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Mon, 2 Feb 2015 20:14:41 +0000

On Mon, 2 Feb 2015, Paul Broadhead wrote:

> The seg fault occurs because by the time the code dump function is
> called, the config->current pointer is null as all the configurations have
> been executed.

Which version of curl are you using as my pointer is valid in the latest code?

Daniel fixed a null pointer deference in commit eb1e3a3985 (v7.39.0).

> I would be happy to test you fix. I'm using curl on Linux by the way.

Cheers Paul. If you are running the latest code then I'll send over my patch.

Kind Regards

Steve

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-02