Skip to content

Bugfix: utils: Avoid potential modulo by 0 if secret is zero length #126

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

Merged
merged 4 commits into from
Jul 14, 2025

Conversation

luke-jr
Copy link
Contributor

@luke-jr luke-jr commented Jun 9, 2025

It's probably a bad idea to set a null password in the first place, but just in case, it shouldn't crash.

@luke-jr luke-jr added the bug Something isn't working label Jun 9, 2025
Copy link
Contributor

@jesterhodl jesterhodl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR objective is met, glad to see tests and a null check.

@luke-jr luke-jr added this to the v0.2.5 milestone Jun 9, 2025
@BitcoinMechanic
Copy link
Contributor

No problems in testing, didn't check specific change.

@luke-jr luke-jr merged commit 0c398ec into OCEAN-xyz:0.2.x Jul 14, 2025
57 of 123 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants