On Wed, Apr 20, 2016 at 11:52:55PM -0700, John Johansen wrote:
> Signed-off-by: John Johansen <[email protected]>

Acked-by: Seth Arnold <[email protected]>

Thanks

> ---
>  security/apparmor/policy_unpack.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/security/apparmor/policy_unpack.c 
> b/security/apparmor/policy_unpack.c
> index a55fb2f..951ae46 100644
> --- a/security/apparmor/policy_unpack.c
> +++ b/security/apparmor/policy_unpack.c
> @@ -676,7 +676,7 @@ static bool verify_xindex(int xindex, int table_size)
>       int index, xtype;
>       xtype = xindex & AA_X_TYPE_MASK;
>       index = xindex & AA_X_INDEX_MASK;
> -     if (xtype == AA_X_TABLE && index > table_size)
> +     if (xtype == AA_X_TABLE && index >= table_size)
>               return 0;
>       return 1;
>  }

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to