aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2019-01-09 10:55:10 -0500
committerJulian Veit <Claymore1298@gmail.com>2021-03-13 11:44:47 +0100
commit25867e72b5cf033706930c77efbbdc8b68b28b92 (patch)
tree0633edba453210e346214a51db28ff1471e7cbc1 /net/lapb/lapb_timer.c
parent17f172a0932e23bbadba10725b6daf5b4282d54d (diff)
selinux: fix GPF on invalid policy
commit 5b0e7310a2a33c06edc7eb81ffc521af9b2c5610 upstream. levdatum->level can be NULL if we encounter an error while loading the policy during sens_read prior to initializing it. Make sure sens_destroy handles that case correctly. Change-Id: Id76c45c36cdebc328038e4f98c524be08968a4e0 Reported-by: syzbot+6664500f0f18f07a5c0e@syzkaller.appspotmail.com Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions