diff --git a/curl-7.19.7-bz563220.patch b/curl-7.19.7-bz563220.patch new file mode 100644 index 0000000..2ddc401 --- /dev/null +++ b/curl-7.19.7-bz563220.patch @@ -0,0 +1,13 @@ +diff --git a/lib/content_encoding.c b/lib/content_encoding.c +index 8772765..c96e0db 100644 +--- a/lib/content_encoding.c ++++ b/lib/content_encoding.c +@@ -40,7 +40,7 @@ + (doing so will reduce code size slightly). */ + #define OLD_ZLIB_SUPPORT 1 + +-#define DSIZ 0x10000 /* buffer size for decompressed data */ ++#define DSIZ CURL_MAX_WRITE_SIZE /* buffer size for decompressed data */ + + #define GZIP_MAGIC_0 0x1f + #define GZIP_MAGIC_1 0x8b diff --git a/curl.spec b/curl.spec index 33c61cc..af78f42 100644 --- a/curl.spec +++ b/curl.spec @@ -1,7 +1,7 @@ Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Name: curl Version: 7.19.7 -Release: 4%{?dist} +Release: 5%{?dist} License: MIT Group: Applications/Internet Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2 @@ -11,6 +11,7 @@ Patch3: curl-7.19.7-ssl-timeout.patch Patch101: curl-7.15.3-multilib.patch Patch102: curl-7.16.0-privlibs.patch Patch103: curl-7.19.4-debug.patch +Patch201: curl-7.19.7-bz563220.patch Provides: webclient URL: http://curl.haxx.se/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -62,6 +63,10 @@ use cURL's capabilities internally. %patch101 -p1 %patch102 -p1 %patch103 -p1 + +# bz #563240 +%patch201 -p1 + autoconf # Convert docs to UTF-8 @@ -154,6 +159,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/aclocal/libcurl.m4 %changelog +* Mon Feb 22 2010 Kamil Dudka 7.19.7-5 +- http://curl.haxx.se/docs/adv_20100209.html (#563240) + * Wed Dec 30 2009 Kamil Dudka 7.19.7-4 - fix incorrect SSL recv/send timeout handling, patch contributed by Kevin Baughman