curl-library
Re: Potential integer overflow with write callback
From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Sat, 26 Mar 2011 23:52:42 -0500
Date: Sat, 26 Mar 2011 23:52:42 -0500
On Sat, Mar 26, 2011 at 8:37 PM, <richardcavell_at_mail.com> wrote:
> if realsize turns out to be more than 64 kilobytes, it might overflow.
> Does the library account for possible overflows?
I believe the amount of data passed to any single invocation of the write
callback is limited to CURL_MAX_WRITE_SIZE (16384 bytes by default).
- Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-27