- Bjorn Augustsson reported a bug which made curl not report any problems even

though it failed to write a very small download to disk (done in a single
  fwrite call). It turned out to be because fwrite() returned success, but
  there was insufficient error-checking for the fclose() call which tricked
  curl to believe things were fine.
This commit is contained in:
Daniel Stenberg
2009-11-23 13:56:45 +00:00
parent b723500af0
commit 1fddcb3f88
3 changed files with 26 additions and 5 deletions

View File

@@ -6,6 +6,14 @@
Changelog
Daniel Stenberg (23 Nov 2009)
- Bjorn Augustsson reported a bug which made curl not report any problems even
though it failed to write a very small download to disk (done in a single
fwrite call). It turned out to be because fwrite() returned success, but
there was insufficient error-checking for the fclose() call which tricked
curl to believe things were fine.
Daniel Stenberg (20 Nov 2009)
- Constantine Sapuntzakis identified a write after close, as the sockets were
closed by libcurl before the SSL lib were shutdown and they may write to its