bagder: curl-www libcurl-contentencoding.patch,NONE,1.1

[email protected] Fri, 26 Mar 2010 07:03:15 +0000
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www
In directory giant.haxx.se:/var/tmp/cvs-serv22223

Added Files:
	libcurl-contentencoding.patch 
Log Message:
the recent security fix patch


--- NEW FILE: libcurl-contentencoding.patch ---
Index: lib/content_encoding.c
===================================================================
RCS file: /cvsroot/curl/curl/lib/content_encoding.c,v
retrieving revision 1.35
diff -u -p -r1.35 content_encoding.c
--- lib/content_encoding.c	22 Jan 2010 23:21:39 -0000	1.35
+++ lib/content_encoding.c	9 Feb 2010 08:53:40 -0000
@@ -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