[jira] [Closed] (XERCESC-2024) LocalFileFormatTarget leaks file handle
[ https://issues.apache.org/jira/browse/XERCESC-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Cantor closed XERCESC-2024. - > LocalFileFormatTarget leaks file handle > --- > > Key: XERCESC-2024 > URL: https://issues.apache.org/jira/browse/XERCESC-2024 > Project: Xerces-C++ > Issue Type: Bug > Components: Miscellaneous >Reporter: Vemund Handeland >Assignee: Alberto Massari > Fix For: 3.1.2, 3.2.0 > > Attachments: LocalFileFormatTarget.cpp.patch > > > The call to XMLPlatformUtils::writeBufferToFile in the LocalFileFormatTarget > destructor might throw an exception. A typical use case is running out of > disk space. > In this case the file handle will not be closed -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org
[jira] [Closed] (XERCESC-2024) LocalFileFormatTarget leaks file handle
[ https://issues.apache.org/jira/browse/XERCESC-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vemund Handeland closed XERCESC-2024. - Thanks, fix looks OK > LocalFileFormatTarget leaks file handle > --- > > Key: XERCESC-2024 > URL: https://issues.apache.org/jira/browse/XERCESC-2024 > Project: Xerces-C++ > Issue Type: Bug > Components: Miscellaneous >Reporter: Vemund Handeland >Assignee: Alberto Massari > Fix For: 3.2.0 > > Attachments: LocalFileFormatTarget.cpp.patch > > > The call to XMLPlatformUtils::writeBufferToFile in the LocalFileFormatTarget > destructor might throw an exception. A typical use case is running out of > disk space. > In this case the file handle will not be closed -- This message was sent by Atlassian JIRA (v6.2#6252) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org