diff options
author | Tyler Hicks <[email protected]> | 2018-07-06 05:25:00 +0000 |
---|---|---|
committer | John Johansen <[email protected]> | 2018-07-19 16:24:43 -0700 |
commit | 7f3ebcf2b1395e0248e56146041e1e5625fd2f23 (patch) | |
tree | 51d693e57cc5734aee692b1cebab08acd1aab511 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fb7d1bcf1602b46f37ada72178516c01a250e434 (diff) |
apparmor: Check buffer bounds when mapping permissions mask
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 Hicks <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions