cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2382219 ] closing stdout on fatal error in Curl_cookie_output

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 03 Dec 2008 11:52:16 +0000

Bugs item #2382219, was opened at 2008-12-03 12:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2382219&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Paweł Kierski (pkierski)
Assigned to: Daniel Stenberg (bagder)
Summary: closing stdout on fatal error in Curl_cookie_output

Initial Comment:
In cookie.c in function Curl_cookie_output in case of fatal error (condition format_ptr == NULL, line 1004, version 7.19.2) fclose is performed without cheking use_stdout flag. So in case error stdout FILE* handle can be closed.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2382219&group_id=976
Received on 2008-12-03

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET