cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Paul Broadhead <paul.broadhead_at_gmail.com>
Date: Mon, 2 Feb 2015 23:32:33 +0000

On Mon, 2 Feb 2015 20:15 Steve Holme wrote:

> 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).

OK. Turns out I had cloned my source from the debian source here:
git://anonscm.debian.org/collab-maint/curl.git, which is out of date
by a few weeks.

Cloning from http://github.com/bagder/curl as I should have, I see
commit eb1e3a3985 which indeed fixes this issue. The fix is similar
to mine but sets config->current back to config->first rather than
using config->last.

My apologies for using the incorrect source, and also for not
following the list etiquette rules by using top posting. Next time
I'll do better.

Thanks for your patience,
Paul
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-03