This is an automated email from the ASF dual-hosted git repository. scantor pushed a commit to branch xerces-3.2 in repository https://gitbox.apache.org/repos/asf/xerces-c.git
The following commit(s) were added to refs/heads/xerces-3.2 by this push: new 4227d220a SAX2XMLReaderImpl::error(): use exception memory manager, otherwise regular memory manager might fail to fully allocate the strings in the exception and cause memory leaks 4227d220a is described below commit 4227d220a797792019ee1337868e8af65cb982aa Author: Even Rouault <even.roua...@spatialys.com> AuthorDate: Wed Sep 15 21:08:40 2021 +0200 SAX2XMLReaderImpl::error(): use exception memory manager, otherwise regular memory manager might fail to fully allocate the strings in the exception and cause memory leaks --- src/xercesc/parsers/SAX2XMLReaderImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xercesc/parsers/SAX2XMLReaderImpl.cpp b/src/xercesc/parsers/SAX2XMLReaderImpl.cpp index fda4a8b58..24e980c37 100644 --- a/src/xercesc/parsers/SAX2XMLReaderImpl.cpp +++ b/src/xercesc/parsers/SAX2XMLReaderImpl.cpp @@ -1229,7 +1229,7 @@ void SAX2XMLReaderImpl::error( const unsigned int , systemId , lineNum , colNum - , fMemoryManager + , fMemoryManager->getExceptionMemoryManager() ); if (!fErrorHandler) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org