diff options
author | John Johansen <john.johansen@canonical.com> | 2019-01-24 13:53:05 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-13 14:04:07 -0700 |
commit | a579fde7bd48e851daec98c892192a47da1ad5ea (patch) | |
tree | c89b3d2ae61c40862578d522e1a3f54f77494f54 /arch | |
parent | 94d4062f6193ef617c1e1ef5d757a44445bdb66f (diff) |
apparmor: Fix aa_label_build() error handling for failed merges
[ Upstream commit d6d478aee003e19ef90321176552a8ad2929a47f ]
aa_label_merge() can return NULL for memory allocations failures
make sure to handle and set the correct error in this case.
Reported-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions