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 memcmp size argument off by one #10

Merged
merged 1 commit into from
Feb 10, 2020
Merged

Conversation

disconnect3d
Copy link
Contributor

The "true" string has 4 bytes so memcmp(p2, "true", 3) should be memcmp(p2, "true", 4)

The `"true"` string has 4 bytes so `memcmp(p2, "true", 3)` should be `memcmp(p2, "true", 4)`
@realnc realnc merged commit e952092 into realnc:master Feb 10, 2020
@realnc
Copy link
Owner

realnc commented Feb 10, 2020

Thanks! Merged in frobtads as well: realnc/frobtads@52c09ea

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