You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by xe...@xml.apache.org on 2004/07/06 17:10:54 UTC
[jira] Resolved: (XERCESC-1210) SGXMLScanner::parseSchemaLocation() using ArrayJanitor on XMLString::tokenizeString() result
Message:
The following issue has been resolved as FIXED.
Resolver: Alberto Massari
Date: Tue, 6 Jul 2004 8:10 AM
Fix is in CVS. Please verify
Alberto
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESC-1210
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESC-1210
Summary: SGXMLScanner::parseSchemaLocation() using ArrayJanitor on XMLString::tokenizeString() result
Type: Bug
Status: Resolved
Priority: Major
Resolution: FIXED
Project: Xerces-C++
Components:
SAX/SAX2
Assignee:
Reporter: Michael A Jones
Created: Wed, 12 May 2004 4:30 PM
Updated: Tue, 6 Jul 2004 8:10 AM
Environment: GNU/Linux, gcc 3.3.2-6, Default xerces-c memory managment
Description:
SGXMLScanner::parseSchemaLocation() is using mismatched ArrayJanitor class to clean memory returned by XMLString::tokenizeString().
XMLString::tokenizeString() allocates with:
"new (manager) RefArrayVectorOf<XMLCh>(16, true, manager)"
ArrayJanitor::reset() with
"fMemoryManager->deallocate(fData)"
The ArrayJanitor is mismatched because fData is not adjusted for the alignment / header padding created by the global call to new.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org