diff options
| author | Dan Carpenter <[email protected]> | 2018-05-29 16:11:28 +0300 |
|---|---|---|
| committer | Mimi Zohar <[email protected]> | 2018-05-31 10:13:24 -0400 |
| commit | a41d80acfa2764e9b1ce49aa303a263e609d91f7 (patch) | |
| tree | 245f661c84f72a7f4dcb787f798c771971ac79ea /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 72acd64df4561593d2ec3227b4aca9b0d7ded50e (diff) | |
EVM: prevent array underflow in evm_write_xattrs()
If the user sets xattr->name[0] to NUL then we would read one character
before the start of the array. This bug seems harmless as far as I can
see but perhaps it would trigger a warning in KASAN.
Fixes: fa516b66a1bf ("EVM: Allow runtime modification of the set of verified xattrs")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions