Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2024

LocalFileFormatTarget leaks file handle

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.2, 3.2.0
    • Component/s: Miscellaneous
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              amassari Alberto Massari
              Reporter:
              hvemha Vemund Handeland

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment