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 off-by-one in yajl_ext.c #197

Merged
merged 1 commit into from
Dec 27, 2020
Merged

Conversation

disconnect3d
Copy link
Contributor

The "false" string has a length of 5 but we currently compare only 4 bytes.

This was found with a "cstrnfinder" research and I haven't tested this change (more info https://twitter.com/disconnect3d_pl/status/1339757359896408065). Close this PR if this change is incorrect.

The `"false"` string has a length of 5 but we currently compare only 4 bytes.

This was found with a "cstrnfinder" research and I haven't tested this change (more info https://twitter.com/disconnect3d_pl/status/1339757359896408065). Close this PR if this change is incorrect.
@brianmario brianmario merged commit 25c9bba into brianmario:master Dec 27, 2020
@brianmario
Copy link
Owner

Build failures can be ignored here.

Thanks!

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