diff options
| author | liyouhong <liyouhong@kylinos.cn> | 2026-07-29 14:49:32 +0800 |
|---|---|---|
| committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2026-10-13 15:44:58 +0200 |
| commit | 86ba91170c03e02eee767d82a9a7f2048e51a5e4 (patch) | |
| tree | 7badf384f6c574f006219928b3903f21b17a9176 /tools/lib/python | |
| parent | ea25564bf05743da4f1e56ffe3e99aa8b4fa4d25 (diff) | |
| download | linux-next-86ba91170c03e02eee767d82a9a7f2048e51a5e4.tar.gz linux-next-86ba91170c03e02eee767d82a9a7f2048e51a5e4.zip | |
fs/ntfs3: fix ntfs_fnd leak when compare function is missing
indx_insert_entry(), indx_delete_entry() and indx_update_dup() take a
finder via fnd_get() before calling get_cmp_func(). If no compare
function is available they return -EINVAL and never release the finder.
Jump to the existing out path so fnd_put() still runs.
Fixes: 3a2141b2f1c3 ("fs/ntfs3: resolve compare function in public index APIs")
Signed-off-by: liyouhong <liyouhong@kylinos.cn>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
