From 21ee30a359fdab83d7d2ba104c1eee49d2a79f69 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 16 Aug 2011 11:18:11 +0200 Subject: curl, sync with rawhide, prepare EL-5 build --- 0002-curl-7.21.7-5eb2396.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 0002-curl-7.21.7-5eb2396.patch (limited to '0002-curl-7.21.7-5eb2396.patch') diff --git a/0002-curl-7.21.7-5eb2396.patch b/0002-curl-7.21.7-5eb2396.patch new file mode 100644 index 0000000..e104e3a --- /dev/null +++ b/0002-curl-7.21.7-5eb2396.patch @@ -0,0 +1,30 @@ +From 5eb2396cd15cbbf73b02ad6bbcc313167330c2b5 Mon Sep 17 00:00:00 2001 +From: Daniel Stenberg +Date: Thu, 4 Aug 2011 23:22:48 +0200 +Subject: [PATCH] segfault fixed + +When using both -J and a single -O with multiple URLs, a missing init +could cause badness. + +Bug: http://curl.haxx.se/mail/lib-2011-07/0126.html and + http://bugzilla.redhat.com/723075 +Reported by: Paul Howarth and Garrett Holmstrom +--- + src/main.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/src/main.c b/src/main.c +index 6dcf333..eae45de 100644 +--- a/src/main.c ++++ b/src/main.c +@@ -4898,6 +4898,7 @@ operate(struct Configurable *config, int argc, argv_item_t argv[]) + outs.stream = stdout; + outs.config = config; + outs.bytes = 0; /* nothing written yet */ ++ outs.filename = NULL; + + /* save outfile pattern before expansion */ + if(urlnode->outfile) { +-- +1.7.4.4 + -- cgit