Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-53

Xerces Paser Memory Leaks

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1 Final
    • 1.2 Alpha
    • None
    • None
    • Linux operating system

    Description

      When using C++ clients with Xerces parser huge amounts of memory leaks can be noticed.

      The problem occurs When using the Xerces parser, the XMLString::transcode() method returns a memory buffer that
      is expected to be deleted by the caller after use.(in other words XMLString::transcode() calls must have matching XMLString::release() calls)

      Many memory leaks can be found related to XMLString::transcode() calls in XercesHandler.cpp. (and fixed them in the patch below)

      Please apply this patch as soon as possible to CVS code for the benefit of those who use the Xerces parser.

      Attachments

        1. patch.txt
          6 kB
          Sevwandi Abeysinghe

        Activity

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

          People

            Unassigned Unassigned
            asevwandi Sevwandi Abeysinghe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment