Add final null-byte to tokens#3
Merged
Merged
Conversation
Previously no null-byte was added to the string, which could cause trouble with interfaces that expect that to be present. This was found when combined with Crypt::Bcrypt, but similar issues would exist with syscalls such as open.
Owner
|
Thanks! I'll try to do a release soon, but I haven't done any PAUSE stuff in a while so I'll need to refresh my memory! |
13 tasks
|
Thanks for fixing/merging. I'm wondering if this could lead to info leak vulnerabilities, and if you're considering making the next release a security update? |
Contributor
Author
Probably not. This issue requires a fairly specific combination of circumstances to be triggered really. |
|
@hoytech Hi! Is it possible to do a release including this fix? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously no null-byte was added to the string, which could cause trouble with interfaces that expect that to be present.
This was found when combined with Crypt::Bcrypt, but similar issues would exist with syscalls such as open.