in the NamedNodeMapImpl::cloneMap, forget verify whther the
ownerNod->getDocument() return NULL.
------------------------------------------------------------------------------------------------
Key: XERCESC-1484
URL: http://issues.apache.org/jira/browse/XERCESC-1484
Project: Xerces-C++
Type: Bug
Components: DOM
Versions: 2.6.0
Environment: win32, vc7,
Reporter: Caochongyu
Priority: Blocker
I createDocumentType, then call DOM_Node::cloneNode on it.
it crashes in
NamedNodeMapImpl::cloneMap(NodeImpl *ownerNod).
{
MemoryManager* manager = ownerNod->getDocument()->getMemoryManager();
where ownerNod->getDocument() returns NULL.
it could be NULL, eh?
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]