Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
CurrentCVS
-
any OS on which Xalan-c's XalanDOMChar width is wider than 8 bits
Description
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.