diff --git a/kernel-patches/2.6.25/apparmor-rlimits.diff b/kernel-patches/2.6.25/apparmor-rlimits.diff index 959100fea..7a83102c7 100644 --- a/kernel-patches/2.6.25/apparmor-rlimits.diff +++ b/kernel-patches/2.6.25/apparmor-rlimits.diff @@ -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;