Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix starts_with out of bounds #20006

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

stijnherfst
Copy link
Collaborator

Fixes #20003

If the prefix is shorter than 4 bytes then the slicing should be bounded.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Nov 26, 2024
@ritchie46 ritchie46 merged commit 1acbf54 into pola-rs:main Nov 26, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

str.starts_with producing incorrect results on 1.15.0
2 participants