oops, fix the rlimit table size test

This commit is contained in:
John Johansen 2008-06-09 10:15:31 +00:00
parent 303721fca2
commit 5655293cf8

View file

@ -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;