-
-
Notifications
You must be signed in to change notification settings - Fork 145
Closed
Description
There are two bugs in the _finishLongTextAscii
method introduced in #519 that produces the text to be truncated.
- The
outPtr
is always set to zero (see here) before the read loop. If the out buffer still has room its contents will be overwritten instead of keep adding to it (overwrite or missing chunks.) - If the method exits by fully reading the expected text length, outside the outer loop the length of the last segment is not set, which makes the calling code to drop it when the string is finished (text truncated.)
Metadata
Metadata
Assignees
Labels
No labels