diff options
author | Dmitry Kasatkin <[email protected]> | 2014-08-15 13:28:52 +0300 |
---|---|---|
committer | Mimi Zohar <[email protected]> | 2014-09-02 17:03:36 -0400 |
commit | 23c19e2ca736722a9523b64b07cda7efab7b6c57 (patch) | |
tree | cb0501321b7221aed0bafe9b3b016ba033053a3d /tools/perf/scripts/python/check-perf-trace.py | |
parent | 9a8d289fbcb7dfd1fc74959e9930b406e76b2002 (diff) |
ima: prevent buffer overflow in ima_alloc_tfm()
This patch fixes the case where the file's signature/hash xattr contains
an invalid hash algorithm. Although we can not verify the xattr, we still
need to measure the file. Use the default IMA hash algorithm.
Signed-off-by: Dmitry Kasatkin <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions