diff options
author | Eric Biggers <ebiggers@google.com> | 2019-10-10 02:34:17 +0300 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2019-10-21 23:22:08 +0300 |
commit | 6f99756dab5ba23e5dc74cd4ad24edd53af39beb (patch) | |
tree | 6a804de11a982e65238d1e3b8271427e31c1d580 /tools/perf/scripts/python/stackcollapse.py | |
parent | 1565bdad59e97f31cfc7b065bc0fc77e9549e62d (diff) | |
download | linux-6f99756dab5ba23e5dc74cd4ad24edd53af39beb.tar.xz |
fscrypt: zeroize fscrypt_info before freeing
memset the struct fscrypt_info to zero before freeing. This isn't
really needed currently, since there's no secret key directly in the
fscrypt_info. But there's a decent chance that someone will add such a
field in the future, e.g. in order to use an API that takes a raw key
such as siphash(). So it's good to do this as a hardening measure.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions