[ http://issues.apache.org/jira/browse/XERCESC-1339?page=history ]
Simeon de Dios updated XERCESC-1339:
------------------------------------
Attachment: test1.xml
This is the sample XML file that was generating the errors. I could not
provide line numbers for the Xerces source code because the debug build does
not exhibit the reported problem.
> Uninitialized memory read by XMLReader::getName(xercesc_2_5::XMLBuffer &,
> bool)
> -------------------------------------------------------------------------------
>
> Key: XERCESC-1339
> URL: http://issues.apache.org/jira/browse/XERCESC-1339
> Project: Xerces-C++
> Type: Bug
> Components: Non-Validating Parser
> Versions: 2.5.0
> Environment: Solaris 5.8, Linux 2.4.9
> Reporter: Simeon de Dios
> Priority: Critical
> Attachments: test1.xml
>
> Purify testing of an application using Xerces 2.5.0 has revealved an
> uninitialized memory read by the XMLReader class:
> **** Purify instrumented ./i86-pc-linux2.x_GCC322_D/parse (pid 7830 at Thu
> Feb 10 09:46:11 2005)
> * Purify 2003a.06.13 FixPack 0172 041231 Linux (32-bit) (c) Copyright IBM
> Corp. 1992, 2005 All rights reserved.
> * For contact information type: "purify -help"
> * For TTY output, use the option "-windows=no"
> * Command-line: ./i86-pc-linux2.x_GCC322_D/parse test1.xml
> * Options settings: -always-use-cache-dir \
> -linker=/opt/binutils/2.13/bin/ld -g++=yes -purify \
> -gcc3_path=/opt/gcc/3.2.2/bin/g++ \
> -hw_cap=yes -language=english
> * License successfully checked out.
> * Command-line: ./i86-pc-linux2.x_GCC322_D/parse test1.xml
> **** Purify instrumented ./i86-pc-linux2.x_GCC322_D/parse (pid 7830) ****
> UMR: Uninitialized memory read (325 times):
> * This is occurring while in thread 8192:
> xercesc_2_5::XMLReader::getName(xercesc_2_5::XMLBuffer &, bool)
> [libxerces-c.so.25]
> xercesc_2_5::IGXMLScanner::scanStartTag( bool &) [libxerces-c.so.25]
> xercesc_2_5::IGXMLScanner::scanContent( void) [libxerces-c.so.25]
> xercesc_2_5::IGXMLScanner::scanDocument(xercesc_2_5::InputSource const
> &) [libxerces-c.so.25]
> xercesc_2_5::XMLScanner::scanDocument( unsigned short const *)
> [libxerces-c.so.25]
> xercesc_2_5::XMLScanner::scanDocument( char const *) [libxerces-c.so.25]
> xercesc_2_5::AbstractDOMParser::parse( char const *) [libxerces-c.so.25]
> Rosetta::Parser<xercesc_2_5::XercesDOMParser>::parse( char const *)
> [Parser.hxx:106]
> ...
--
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]