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 unhex for odd length bytes #2333

Merged
merged 2 commits into from Jan 13, 2024
Merged

Fix unhex for odd length bytes #2333

merged 2 commits into from Jan 13, 2024

Conversation

snarkyyy
Copy link
Contributor

Pwntools Pull Request

#2326

Testing

Tried to add a doctest, haven't run it though.

Target Branch

This fixes rather insignificant bug in a 9 years old code,
I set the branch to dev but I guess it could also go to stable.

Changelog

I haven't edited any changelog as the change is super small.

pwnlib/util/fiddling.py Outdated Show resolved Hide resolved
@Arusekk Arusekk linked an issue Jan 13, 2024 that may be closed by this pull request
@Arusekk Arusekk merged commit 000ca1f into Gallopsled:dev Jan 13, 2024
9 of 12 checks passed
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.

unhex breaks when passed odd-lengthd bytestring
2 participants