[PATCH] Binder: Initialize lsm_context structure

Paul Moore paul at paul-moore.com
Mon Dec 16 04:18:03 UTC 2024


On Dec  6, 2024 Casey Schaufler <casey at schaufler-ca.com> wrote:
> 
> It is possible to reach the end of binder_transaction() without
> having set lsmctx. As the variable value is checked there it needs
> to be initialized.
> 
> Suggested-by: Kees Bakker <kees at ijzerbout.nl>
> Signed-off-by: Casey Schaufler <casey at schaufler-ca.com>
> ---
>  drivers/android/binder.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Merged into lsm/dev, thanks.

--
paul-moore.com



More information about the Linux-security-module-archive mailing list