Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 13, 2025

Don't read p[-1] when p is an empty string: when n==0.

Don't read p[-1] when p is an empty string: when n==0.
@vstinner
Copy link
Member Author

cc @skirpichev @serhiy-storchaka

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

@skirpichev skirpichev added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Sep 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants