Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-698

Buffer overflow from XalanMessageLoader::load()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CurrentCVS
    • Component/s: XalanC
    • Labels:
      None
    • Environment:
      Probably any C++ Environment

      Description

      One of the XalanMessageLoader::load() overloads is calling XMLString::replaceTokens(), and not properly accounting for the NULL; replaceTokens() requires that the output buffer supplied be able to hold maxChars+1 characters.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dbertoni David N Bertoni
                Reporter:
                sacolcor Scott Colcord
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: