Skip to content

[Bug]: TextSource fails to handle parsing channels that return very short reads (< # delimiter characters) #23375

@lukecwik

Description

@lukecwik

What happened?

The readDefaultLine and readCustomLine methods do not handle cases where 0 or 1 length buffers are returned causing IndexOutOfBoundsExceptions due to incorrect calculation of the appendLength.

This was caused by 30a48f0 and is unreleased at the moment.

Issue Priority

Priority: 0

Issue Component

Component: io-java-text

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions