binder: initialize lsm_context structure
authorCasey Schaufler <casey@schaufler-ca.com>
Fri, 6 Dec 2024 22:57:13 +0000 (14:57 -0800)
committerPaul Moore <paul@paul-moore.com>
Mon, 16 Dec 2024 04:18:04 +0000 (23:18 -0500)
commit012920131013208186ce0ded0ef1c47fa67a70f6
tree6eee5cf9001d5517636309d9032b01ae574f0b2c
parent9c76eaf784886603a010f0af7071c2b4d7f574c5
binder: initialize lsm_context structure

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@ijzerbout.nl>
[PM: subj tweak to fit convention]
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
drivers/android/binder.c