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

XMLUni::fgXercesLoadSchema[] is not null-terminated in XMLUni.cpp

    XMLWordPrintableJSON

Details

    Description

      The XMLUni::fgXercesLoadSchema XMLCh[] in /util/XMLUni.cpp is not null-terminated.
      This causes an "Unknown Feature" exception to be thrown by the parser.
      The array should be terminated with the chNull character to avoid this exception.
      Note that i've tested on 3.0.0, but i can see in the SVN repository that this bug still exists in the head of the tree.

      Attachments

        1. xmluni.cpp.patch
          0.8 kB
          Niall Tierney

        Activity

          People

            amassari Alberto Massari
            niall tierney Niall Tierney
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: