You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Vemund Handeland (JIRA)" <xe...@xml.apache.org> on 2014/06/16 08:31:04 UTC

[jira] [Reopened] (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 reopened XERCESC-2024:
---------------------------------------


Bug reintroduced with fix in XERCESC-2031

> 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-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org