[
https://issues.apache.org/jira/browse/XERCESC-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538258
]
Boris Kolpackov commented on XERCESC-1339:
------------------------------------------
I tried the attached test case with 2.8.0 under valgrind. Both SAX and DOM
parsing pass without any errors. Can you try the latest release and see if you
get the same result from purify?
> Uninitialized memory read by XMLReader::getName(xercesc_2_5::XMLBuffer &,
> bool)
> -------------------------------------------------------------------------------
>
> Key: XERCESC-1339
> URL: https://issues.apache.org/jira/browse/XERCESC-1339
> Project: Xerces-C++
> Issue Type: Bug
> Components: Non-Validating Parser
> Affects 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]