7f3ebcf2b1
Don't read past the end of the buffer containing permissions
characters or write past the end of the destination string.
Detected by CoverityScan CID#1415361, 1415376 ("Out-of-bounds access")
Fixes:
|
||
---|---|---|
.. | ||
apparmor.h | ||
apparmorfs.h | ||
audit.h | ||
capability.h | ||
cred.h | ||
crypto.h | ||
domain.h | ||
file.h | ||
ipc.h | ||
label.h | ||
lib.h | ||
match.h | ||
mount.h | ||
net.h | ||
path.h | ||
perms.h | ||
policy.h | ||
policy_ns.h | ||
policy_unpack.h | ||
procattr.h | ||
resource.h | ||
secid.h | ||
sig_names.h | ||
task.h |