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 overflow in pw_length no longer causing a floating point exception #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

moormaster
Copy link

fixes crash when executing pwgen $(( 2**32-1 ))

fixes crash when executing pwgen $(( 2**32-1 ))

Signed-off-by: Andre Herbst <[email protected]>
Call of pwgen --no-vowels $(( 2**31 )) 1 no longer causes a segmentation fault

Signed-off-by: Andre Herbst <[email protected]>
@moormaster moormaster force-pushed the fix-division-by-zero-in-password-length branch from adbfc38 to 3960ba4 Compare November 4, 2023 23:31
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.

1 participant