Skip to content

Add missing boundary check to grok_infnan #18082

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

Merged
merged 1 commit into from
Aug 22, 2020

Conversation

lightsey
Copy link
Contributor

The grok_infnan() function was walking past the end of the string
while skipping over trailing '0' characters. This is another
variation of #17370.

Bug is reproducible with:

LD_PRELOAD=<path/to/libdislocator.so> perl -e 'qr/\p{nv=1#inf}/'

The grok_infnan() function was walking past the end of the string
while skipping over trailing '0' characters. This is another
variation of Perl#17370.
@khwilliamson khwilliamson merged commit bbd8607 into Perl:blead Aug 22, 2020
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.

2 participants