Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/login_nopam.c: Use iterative list_match
The recursive nature of list_match triggered regression during refactoring. In Linux-PAM, the same code exists which could lead to stack overflow because access.conf could be arbitrarily long. Use an iterative approach for easier refactoring, to support long lines in the future and to stay in sync with Linux-PAM. Signed-off-by: Tobias Stoeckmann <[email protected]>
- Loading branch information