Skip to content

fix: passwd_tries=0 can result in unlimited password tries because of…#1313

Merged
squell merged 3 commits intotrifectatechfoundation:mainfrom
Pingasmaster:pr-fix-passwd_tries
Nov 5, 2025
Merged

fix: passwd_tries=0 can result in unlimited password tries because of…#1313
squell merged 3 commits intotrifectatechfoundation:mainfrom
Pingasmaster:pr-fix-passwd_tries

Conversation

@Pingasmaster
Copy link
Copy Markdown
Contributor

… integer underflow.

max_tries -=1 without checking is a bad idea.

This is only a suggestion.

Issue: #1309

… integer underflow.

max_tries -=1 without checking is a bad idea.
@squell squell added the C-pam PAM library label Nov 5, 2025
@squell squell requested a review from bjorn3 November 5, 2025 13:51
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
@squell squell enabled auto-merge (squash) November 5, 2025 14:12
@squell squell merged commit 4fbe374 into trifectatechfoundation:main Nov 5, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-pam PAM library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Defaults passwd_tries=0 allows infinite password tries because of integer underflow

3 participants