Skip to content

Conversation

@achingbrain
Copy link
Contributor

Otherwise any connection attempt with a ufrag longer than 64 characters causes the process to exit with a SIGBUS error.

I have not been able to isolate this into a test, but at runtime it crashes the remote process every single time.

Otherwise any connection attempt with a ufrag longer than 64 characters causes the process to exit with a SIGBUS error.
Co-authored-by: Paul-Louis Ageneau <[email protected]>
@paullouisageneau paullouisageneau merged commit be0331b into paullouisageneau:master Feb 14, 2025
3 checks passed
paullouisageneau added a commit that referenced this pull request Feb 14, 2025
fix: set hash_reset before invoking it
@paullouisageneau paullouisageneau changed the title fix: set hash_reset before invoking it fix: set hash_reset before invoking it in picohash Feb 14, 2025
@paullouisageneau paullouisageneau changed the title fix: set hash_reset before invoking it in picohash fix: prevent crash when hmac key is longer than 64 bytes in picohash Feb 14, 2025
paullouisageneau added a commit that referenced this pull request Feb 14, 2025
fix: prevent crash when hmac key is longer than 64 bytes in picohash
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