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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.2, 3.2.0
    • Miscellaneous
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            amassari Alberto Massari
            hvemha Vemund Handeland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment