Skip to content

Commit db44bf4

Browse files
committed
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()
2 parents be65e25 + edf4e7b commit db44bf4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

security/apparmor/secid.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ int apparmor_secid_to_secctx(u32 secid, char **secdata, u32 *seclen)
7979
struct aa_label *label = aa_secid_to_label(secid);
8080
int len;
8181

82-
AA_BUG(!secdata);
8382
AA_BUG(!seclen);
8483

8584
if (!label)

0 commit comments

Comments
 (0)