mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 13:28:19 +00:00
oops, fix the rlimit table size test
This commit is contained in:
parent
303721fca2
commit
5655293cf8
@ -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…
x
Reference in New Issue
Block a user