https://github.com/torvalds/linux
Revision d6d478aee003e19ef90321176552a8ad2929a47f authored by John Johansen on 24 January 2019, 21:53:05 UTC, committed by John Johansen on 01 February 2019, 16:01:39 UTC
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>
1 parent a1a0206
History
Tip revision: d6d478aee003e19ef90321176552a8ad2929a47f authored by John Johansen on 24 January 2019, 21:53:05 UTC
apparmor: Fix aa_label_build() error handling for failed merges
Tip revision: d6d478a
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 13.9 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.5 KB
.mailmap -rw-r--r-- 10.7 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 96.9 KB
Kbuild -rw-r--r-- 1.7 KB
Kconfig -rw-r--r-- 563 bytes
MAINTAINERS -rw-r--r-- 480.9 KB
Makefile -rw-r--r-- 59.1 KB
README -rw-r--r-- 727 bytes

README

back to top