diff options
author | 2022-05-30 18:43:01 +0300 | |
---|---|---|
committer | 2022-05-31 17:29:29 +0300 | |
commit | f26967b9f7a830e228bb13fb41bd516ddd9d789d (patch) | |
tree | b5ba4fcc3c18f14c8695cc89c4032e4862921a65 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | Merge tag 'v5.18' (diff) | |
download | linux-dev-f26967b9f7a830e228bb13fb41bd516ddd9d789d.tar.xz linux-dev-f26967b9f7a830e228bb13fb41bd516ddd9d789d.zip |
fs/ntfs3: Fix invalid free in log_replay
log_read_rst() returns ENOMEM error when there is not enough memory.
In this case, if info is returned without initialization,
it attempts to kfree the uninitialized info->r_page pointer. This patch
moves the memset initialization code to before log_read_rst() is called.
Reported-by: Gerald Lee <sundaywind2004@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions