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 2013/10/30 10:40:26 UTC

[jira] [Updated] (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 updated XERCESC-2024:
--------------------------------------

    Attachment: LocalFileFormatTarget.cpp.patch

> 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
>         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.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org