diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-08-02 10:38:23 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2018-08-22 01:24:56 +0200 |
commit | 0a6b29230ec336189bab32498df3f06c8a6944d8 (patch) | |
tree | 0ad3a73388010f8214152d9689f6d4a304c09b04 /drivers/scsi/ipr.c | |
parent | apparmor: Fix failure to audit context info in build_change_hat (diff) | |
download | linux-0a6b29230ec336189bab32498df3f06c8a6944d8.tar.xz linux-0a6b29230ec336189bab32498df3f06c8a6944d8.zip |
apparmor: fix an error code in __aa_create_ns()
We should return error pointers in this function. Returning NULL
results in a NULL dereference in the caller.
Fixes: 73688d1ed0b8 ("apparmor: refactor prepare_ns() and make usable from different views")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
0 files changed, 0 insertions, 0 deletions