|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-2928620 ] content_encoding may send > CURL_MAX_WRITE_SIZE bytes
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sat, 09 Jan 2010 12:54:26 +0000
Bugs item #2928620, was opened at 2010-01-09 02:06
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
For some implementations this may cause a crash as the code may have only allocated a buffer of CURL_MAX_WRITE_SIZE or assumes size * nmemb to be <= CURL_MAX_WRITE_SIZE.
This can be fixed by changing DSIZ in content_encoding.c equal to CURL_MAX_WRITE_SIZE:
#define DSIZ CURL_MAX_WRITE_SIZE
I have confirmed this size mismatch exists in content_encoding.c of 7.19.7.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info