diff options
| author | Eric Biggers <[email protected]> | 2018-11-03 21:56:00 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-11-09 09:35:43 +0000 |
| commit | f43f39958beb206b53292801e216d9b8a660f087 (patch) | |
| tree | 55c72a4428c1e7cb5e38e85e8912e1540be2e65b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | crypto: simd - correctly take reqsize of wrapped skcipher into account (diff) | |
| download | kernel-f43f39958beb206b53292801e216d9b8a660f087.tar.gz kernel-f43f39958beb206b53292801e216d9b8a660f087.zip | |
crypto: user - fix leaking uninitialized memory to userspace
All bytes of the NETLINK_CRYPTO report structures must be initialized,
since they are copied to userspace. The change from strncpy() to
strlcpy() broke this. As a minimal fix, change it back.
Fixes: 4473710df1f8 ("crypto: user - Prepare for CRYPTO_MAX_ALG_NAME expansion")
Cc: <[email protected]> # v4.12+
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
