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

Win32Transcoder can pass illegal parameters to WideCharToMultiByte() and MultiByteToWideChar()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.0, 3.0.0
    • 3.0.0
    • Utilities
    • None
    • Windows

    Description

      According to the MSDN documentation, certain encodings limit some of the flags and parameters value that can be passed to these routines:

      http://msdn.microsoft.com/en-us/library/ms776420.aspx
      http://msdn.microsoft.com/en-us/library/ms776413(VS.85).aspx

      If these flags and/or parameters are invalid, the calls fail. I have a patch for this problem.

      Attachments

        Activity

          People

            dbertoni David N Bertoni
            dbertoni David N Bertoni
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: