Re: [PATCH 1/2] apparmor: Check buffer bounds when mapping permissions mask

2018-07-19 Thread John Johansen
On 07/05/2018 10:25 PM, Tyler Hicks wrote: > 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: e53cfe6c7caa ("apparmor: rework perm

Re: [PATCH 1/2] apparmor: Check buffer bounds when mapping permissions mask

2018-07-19 Thread John Johansen
On 07/05/2018 10:25 PM, Tyler Hicks wrote: > 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: e53cfe6c7caa ("apparmor: rework perm

Re: [PATCH 1/2] apparmor: Check buffer bounds when mapping permissions mask

2018-07-10 Thread Serge E. Hallyn
Quoting Tyler Hicks (tyhi...@canonical.com): > 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: e53cfe6c7caa ("apparmor: rework perm

Re: [PATCH 1/2] apparmor: Check buffer bounds when mapping permissions mask

2018-07-10 Thread Serge E. Hallyn
Quoting Tyler Hicks (tyhi...@canonical.com): > 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: e53cfe6c7caa ("apparmor: rework perm

[PATCH 1/2] apparmor: Check buffer bounds when mapping permissions mask

2018-07-05 Thread 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: e53cfe6c7caa ("apparmor: rework perm mapping to a slightly broader set") Signed-off-by: Tyler

[PATCH 1/2] apparmor: Check buffer bounds when mapping permissions mask

2018-07-05 Thread 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: e53cfe6c7caa ("apparmor: rework perm mapping to a slightly broader set") Signed-off-by: Tyler