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

Xerces crashes when a invalid file is passed an input.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.6.0
    • SAX/SAX2
    • None
    • Sun Solaris

    Description

      When a invalid file like a excel sheet is passed as input to SAX Parser, the xerces is gpf with the following stack trace. This has been fixed in 2.6.
      libxerces-c.so.24.0:_1cLxercesc_2_4MXMLException2T5B6M_v+0x4
      libxerces-c.so.24.0:_1cLxercesc_2_4RXMLUTF8TranscoderNtranscodeFrom6MkpkCkIkpH5rIkpC_I+0x550
      libxerces-c.so.24.0:_1cLxercesc_2_4JXMLReaderOxcodeMoreChars6MkpHkpCkI_I+0x98
      libxerces-c.so.24.0:_1cLxercesc_2_4JXMLReaderRrefreshCharBuffer6M_b+0x270
      libxerces-c.so.24.0:_1cLxercesc_2_4JReaderMgrMpeekNextChar6M_H+0x24
      libxerces-c.so.24.0:_1cLxercesc_2_4KXMLScannerKscanProlog6M_v+0x74
      libdstxxmlparser.so:_1cLxercesc_2_4OXMLScannerMscanDocument6Mrkn0ALInputSourcev+0x78
      libdstxxmlparser.so:_1cLxercesc_2_4NSAXParserFparse6Mrkn0ALInputSourcev+0x6c

      Any patch available for 2.4 ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            sdandamu Sunil Dandamudi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: