mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00
oops, fix the rlimit table size test
This commit is contained in:
parent
303721fca2
commit
5655293cf8
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ linux limitations.
|
|||
+ profile->rlimits.mask = tmp;
|
||||
+
|
||||
+ size = aa_is_array(e, NULL);
|
||||
+ if (size <= RLIM_NLIMITS)
|
||||
+ if (size > RLIM_NLIMITS)
|
||||
+ goto fail;
|
||||
+ for (i = 0; i < size; i++) {
|
||||
+ u64 tmp = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue