incorrect buffer-size calculation in XalanUTF16Writer.hpp
---------------------------------------------------------

                 Key: XALANC-716
                 URL: https://issues.apache.org/jira/browse/XALANC-716
             Project: XalanC
          Issue Type: Bug
          Components: XalanC
    Affects Versions: CurrentCVS
         Environment: any OS on which Xalan-c's XalanDOMChar width is wider 
than 8 bits 
            Reporter: Martin Elzen
            Assignee: Brian Minchau
             Fix For: CurrentCVS


There's a bug in the current buffer-size determination of XalanUTF16Writer.hpp 
in the first if of the write(const value_type*,size_type) function.  When this 
write function is called with a to-be-written string that happens to have a 
length that is exactly the sizeof kBufferSize (or larger) then our application 
crashes.   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to