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

Incorrect cast in XalanUTF16Writer

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

      Description

      XalanUTF16Writer casts its buffer to const char* before calling the underlying Writer instance. This is incorrect, because there is an explicit overload for Writer::write() for const XalanDOMChar*.

      A patch is attached. Committers, can you please review?

        Attachments

          Activity

            People

            • Assignee:
              dbertoni David N Bertoni
              Reporter:
              dbertoni David N Bertoni

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment