DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13435>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13435 Memory mismanagement in DOMDocumentImpl.cpp Summary: Memory mismanagement in DOMDocumentImpl.cpp Product: Xerces-C++ Version: 2.1.0 Platform: Other OS/Version: All Status: NEW Severity: Major Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] diff -Naur xerces-c-src2_1_0/src/xercesc/dom/impl/DOMDocumentImpl.cpp xerces_c/src/xercesc/dom/impl/DOMDocumentImpl.cpp --- xerces-c-src2_1_0/src/xercesc/dom/impl/DOMDocumentImpl.cpp Tue Aug 27 00:24:30 2002 +++ xerces_c/src/xercesc/dom/impl/DOMDocumentImpl.cpp Tue Oct 8 19:57:48 2002 @@ -800,7 +800,7 @@ while (fCurrentBlock != 0) { void *nextBlock = *(void **)fCurrentBlock; - delete [] fCurrentBlock; + delete [] (char *)fCurrentBlock; fCurrentBlock = nextBlock; } The effects of calling delete on a void * are undefined. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]