Skip to content

Let filter_iterator honour an end iterator - #364

Merged
gennaroprota merged 1 commit into
developfrom
fix/filter-iterator-honors-end
Jul 31, 2026
Merged

Let filter_iterator honour an end iterator#364
gennaroprota merged 1 commit into
developfrom
fix/filter-iterator-honors-end

Conversation

@gennaroprota

Copy link
Copy Markdown
Collaborator

remove_whitespace and its filter_iterator base read past the end of the input on a range that ends in a filtered-out element, e.g. trailing whitespace (#254). Given an end, they now stop at it. The unbounded form is kept for the base64 pipeline, which has no end.

Fixes #254.

`remove_whitespace` and its `filter_iterator` base read past the end of
the input on a range that ends in a filtered-out element, e.g. trailing
whitespace (#254). Given an end, they now stop at it. The unbounded form
is kept for the base64 pipeline, which has no end.

Fixes #254.
@gennaroprota
gennaroprota added this pull request to the merge queue Jul 31, 2026
Merged via the queue into develop with commit b450c35 Jul 31, 2026
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Undefined behaviour in filter_iterator

1 participant