diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-09-06 18:42:14 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-09-06 18:42:14 +0200 |
commit | db44bf4b4768a0664d3c9d9000ecb747de31ded8 (patch) | |
tree | 31ac2e04d8189af42d0fdc0da5d799903a38504b /security | |
parent | Merge tag 'trace-v4.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
parent | apparmor: fix bad debug check in apparmor_secid_to_secctx() (diff) | |
download | linux-db44bf4b4768a0664d3c9d9000ecb747de31ded8.tar.xz linux-db44bf4b4768a0664d3c9d9000ecb747de31ded8.zip |
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()
Diffstat (limited to 'security')
-rw-r--r-- | security/apparmor/secid.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/apparmor/secid.c b/security/apparmor/secid.c index f2f22d00db18..4ccec1bcf6f5 100644 --- 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) |