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

Xerces crashes when a invalid file is passed an input.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.6.0
    • Component/s: SAX/SAX2
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: