Skip to content

Fix overflow bug. See issue #776 - #806

Merged
recrsn merged 1 commit into
kelektiv:masterfrom
techhead:2b_overflow
Jun 1, 2020
Merged

Fix overflow bug. See issue #776#806
recrsn merged 1 commit into
kelektiv:masterfrom
techhead:2b_overflow

Conversation

@techhead

Copy link
Copy Markdown
Contributor

Fixes #776

See comments here:
#776 (comment)
#776 (comment)

The question is sort of "how much" to fix this one. I left version 2a as is, which will use all 254 bytes of the input and wrap thereafter. This patch fixes 2b only.

@recrsn

recrsn commented Jun 1, 2020

Copy link
Copy Markdown
Collaborator

This probably happened while improperly applying a pathc from OpenBSD bcrypt sources.

Tests weren't so robust I guess.

@recrsn
recrsn merged commit d9e54b4 into kelektiv:master Jun 1, 2020
@techhead
techhead deleted the 2b_overflow branch June 1, 2020 19:43
fast-facts pushed a commit to fast-facts/node.bcrypt.js that referenced this pull request Jun 17, 2022
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.

Some compatibility issue with emoji

2 participants