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

IconvFBSD transcode() string termination problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • Utilities
    • None
    • Operating System: FreeBSD
      Platform: All
    • 27769

    Description

      for TRANSCODER==IconvFBSD there has beena bug that transcode()
      did return an (almost) empty string depending on input.

      The original string was properly terminated and another \0 has been
      written at an "invalid" offset; offset is always < strlen() so this
      is no exploitable problem I think but simply generates wrong results.

      Reported-By: Sean McNeil <sean at mcneil.com>

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--patch-ab
          0.6 kB
          Bjoern A. Zeeb

        Activity

          People

            Unassigned Unassigned
            bzeeb@zabbadoz.net Bjoern A. Zeeb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: