mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 13:58:05 +00:00
Add missing break in switch that sets the max limit for RLIMIT_NOFILE.
Found by cppcheck.
This commit is contained in:
parent
7ac77b094c
commit
f17f9ba9b2
@ -122,6 +122,7 @@ aix_setlimits(char *user)
|
||||
break;
|
||||
case RLIMIT_NOFILE:
|
||||
rlim.rlim_max = 8196 * aix_limits[n].factor;
|
||||
break;
|
||||
default:
|
||||
rlim.rlim_max = RLIM64_INFINITY;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user