[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhQw-DGzCq-q=ZUXjzM8GN-cUJXb6nU2PhOMre3nhiQJ4Q@mail.gmail.com>
Date: Tue, 5 Nov 2024 17:05:11 -0500
From: Paul Moore <paul@...l-moore.com>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Casey Schaufler <casey@...aufler-ca.com>,
Stephen Smalley <stephen.smalley.work@...il.com>, Ondrej Mosnacek <omosnace@...hat.com>,
selinux@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next] lsm: Fix signedness bug in selinux_secid_to_secctx()
On Sat, Nov 2, 2024 at 5:31 AM Dan Carpenter <dan.carpenter@...aro.org> wrote:
>
> The "ret" variable needs to be signed for the error checking to work.
>
> Fixes: 95a3c11eb670 ("lsm: replace context+len with lsm_context")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
> ---
> security/selinux/hooks.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Merged into lsm/dev-staging, thanks Dan.
--
paul-moore.com
Powered by blists - more mailing lists