[jira] [Resolved] (XERCESC-2229) IGXMLScanner::scanDocTypeDecl(): fix memory leak on exception

"Scott Cantor (Jira)" <[email protected]>
Newsgroups gmane.text.xml.xerces-c.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/XERCESC-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Cantor resolved XERCESC-2229.
-----------------------------------
    Resolution: Fixed

Applied to both branches.

> IGXMLScanner::scanDocTypeDecl(): fix memory leak on exception
> -------------------------------------------------------------
>
>                 Key: XERCESC-2229
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2229
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 3.2.3
>            Reporter: Even Rouault
>            Assignee: Scott Cantor
>            Priority: Major
>             Fix For: 4.0.0, 3.2.4
>
>
> The method can leak pubId and sysId when subsequent call to
> fReaderMgr.skipPastSpaces() throws an exception (e.g. a
> TranscodingException)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.