Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1339

Uninitialized memory read by XMLReader::getName(xercesc_2_5::XMLBuffer &, bool)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.8.0
    • Non-Validating Parser
    • 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):
      • 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]

      ...

      Attachments

        1. test1.xml
          2 kB
          Simeon de Dios

        Activity

          People

            Unassigned Unassigned
            sdedios Simeon de Dios
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: