diff options
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | modules/pam_limits/pam_limits.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -60,6 +60,8 @@ bug report - outstanding bugs are listed here: PAM modules (kukuk). * pam_tally, pam_time, pam_userdb: use pam_syslog and pam_prompt (ldv) * pam_issue: major cleanup (ldv) +* pam_limits: Fix regression from RLIMIT_NICE support (wrong limit + values for other limits are applied) patch by Anton Guda 0.80: Wed Jul 13 13:23:20 CEST 2005 * pam_tally: test for NULL data before dereferencing them (t8m) diff --git a/modules/pam_limits/pam_limits.c b/modules/pam_limits/pam_limits.c index ffd51e78..d8a69449 100644 --- a/modules/pam_limits/pam_limits.c +++ b/modules/pam_limits/pam_limits.c @@ -380,6 +380,7 @@ process_limit (const pam_handle_t *pamh, int source, const char *lim_type, case RLIMIT_AS: if (rlimit_value != RLIM_INFINITY) rlimit_value *= 1024; + break; #ifdef RLIMIT_NICE case RLIMIT_NICE: if (int_value > 19) |