Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Unassigned
   Priority: Major

    Project: Xerces-C++
 Components: 
             SAX/SAX2

   Assignee: 
   Reporter: Michael A Jones

    Created: Wed, 12 May 2004 4:30 PM
    Updated: Wed, 12 May 2004 4:30 PM
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to