-
由 Tyler Hicks 提交于
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: e53cfe6c ("apparmor: rework perm mapping to a slightly broader set") Signed-off-by: NTyler Hicks <tyhicks@canonical.com> Acked-by: NSerge Hallyn <serge@hallyn.com> Signed-off-by: NJohn Johansen <john.johansen@canonical.com>7f3ebcf2