You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "cargilld (JIRA)" <xe...@xml.apache.org> on 2005/08/07 19:19:35 UTC

[jira] Commented: (XERCESC-1339) Uninitialized memory read by XMLReader::getName(xercesc_2_5::XMLBuffer &, bool)

    [ http://issues.apache.org/jira/browse/XERCESC-1339?page=comments#action_12317922 ] 

cargilld commented on XERCESC-1339:
-----------------------------------

Hi,
Can you try and reproduce this with the latest source in the 2.7 branch of svn?  Thanks.

I tried it on windows and got no purify errors.

David

> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org