diff options
author | 2018-05-09 09:12:36 +0900 | |
---|---|---|
committer | 2018-05-14 13:59:43 +0300 | |
commit | 697989164ef699a01012490fa2dd1970b17828e6 (patch) | |
tree | 6968eb8284bb51bef2142b31a0274161f9857173 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tpm: fix use after free in tpm2_load_context() (diff) | |
download | wireguard-linux-697989164ef699a01012490fa2dd1970b17828e6.tar.xz wireguard-linux-697989164ef699a01012490fa2dd1970b17828e6.zip |
tpm: replace kmalloc() + memcpy() with kmemdup()
Use kmemdup rather than duplicating its implementation.
Signed-off-by: Ji-Hun Kim <ji_hun.kim@samsung.com>
Reviewed-by: James Morris <james.morris@microsoft.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions