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

IconvFBSD transcode() string termination problem

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.6.0
    • Component/s: Utilities
    • Labels:
      None
    • Environment:
      Operating System: FreeBSD
      Platform: All
    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: