Gallopsled / pwntools

CTF framework and exploit development library
http://pwntools.com
Other
11.74k stars 1.67k forks source link

Fix unhex for odd length bytes #2333

Closed snarkyyy closed 6 months ago

snarkyyy commented 6 months ago

Pwntools Pull Request

https://github.com/Gallopsled/pwntools/issues/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.