|
|
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: Sat, 26 Jul 2008 21:16:18 +0000
Bugs item #2026240, was opened at 2008-07-24 01: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.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
Thanks, patch applied and committed just now!
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Thanks a lot, I'm looking at it and it looks accurate and fine so far!
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info