Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.5.0
-
None
-
Solaris 5.8, Linux 2.4.9
Description
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):
- Purify instrumented ./i86-pc-linux2.x_GCC322_D/parse (pid 7830) ****
-
-
- 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]
...