-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: CurrentCVS
-
Fix Version/s: CurrentCVS
-
Component/s: XalanC
-
Labels:
-
Environment:any OS on which Xalan-c's XalanDOMChar width is wider than 8 bits
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.