diff options
author | 2022-11-23 16:48:46 +0800 | |
---|---|---|
committer | 2023-03-27 16:59:08 +0400 | |
commit | e6c3cef24cb0d045f99d5cb039b344874e3cfd74 (patch) | |
tree | c162f364cfd5836d7d8f78ddd4157739727354e1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fs/ntfs3: Fix memory leak if ntfs_read_mft failed (diff) | |
download | wireguard-linux-e6c3cef24cb0d045f99d5cb039b344874e3cfd74.tar.xz wireguard-linux-e6c3cef24cb0d045f99d5cb039b344874e3cfd74.zip |
fs/ntfs3: Add check for kmemdup
Since the kmemdup may return NULL pointer,
it should be better to add check for the return value
in order to avoid NULL pointer dereference.
Fixes: b46acd6a6a62 ("fs/ntfs3: Add NTFS journal")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions