linux unikernel
Log | Files | Refs | README | LICENSE | git clone https://git.ne02ptzero.me/git/whiterose

commit db44bf4b4768a0664d3c9d9000ecb747de31ded8
parent be65e2595b4c1fbeceba336d8ee83406726b1d8d
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Thu,  6 Sep 2018 09:42:14 -0700

Merge tag 'apparmor-pr-2018-09-06' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor

Pull apparmor fix from John Johansen:
 "A fix for an issue syzbot discovered last week:

   - Fix for bad debug check when converting secids to secctx"

* tag 'apparmor-pr-2018-09-06' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor:
  apparmor: fix bad debug check in apparmor_secid_to_secctx()

Msecurity/apparmor/secid.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/security/apparmor/secid.c b/security/apparmor/secid.c @@ -79,7 +79,6 @@ int apparmor_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) struct aa_label *label = aa_secid_to_label(secid); int len; - AA_BUG(!secdata); AA_BUG(!seclen); if (!label)