|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-2026240 ] CURL_READFUNC_PAUSE leads to buffer overrun
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 23 Jul 2008 23:50:20 +0000
Bugs item #2026240, was opened at 2008-07-23 19:50
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
The fix is to make sure *nreadp is assigned before exiting the function.
There is also a second problem with CURL_READFUNC_PAUSE: pausing the read callback should pause socket sends, not socket recv's. I.e., it should set KEEP_WRITE_PAUSE, not KEEP_READ_PAUSE.
A diff fixing both issues is included.
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info