Bug 33569

GemStone/S

6.1.6, 6.1.5, 6.1.x, 6.0.x, 5.1.5.1, 5.1.5

6.2

Converting large String or Symbol to DoubleByte may cause corrupt result

If DoubleByteString Class >> withAll: or DoubleByteString >> addAll:
is called with an argument of String or Symbol that is larger than
4048, the result will be corrupt.

CharacterCollection>>asDoubleByteString calls withAll:, so uses of
this method will also have this problem.

This bug does not affect cases where the argument is a
DoubleByteString or DoubleByteSymbol; for these the result is correct.


Last updated: 2/2/06