summaryrefslogtreecommitdiff
path: root/tools/lib/python/feat/parse_features.py
diff options
context:
space:
mode:
authorShuhao Fu <sfual@cse.ust.hk>2025-10-21 16:42:28 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2025-12-03 10:00:16 +0900
commit9aee8de970f18c2aaaa348e3de86c38e2d956c1d (patch)
tree68e30ffec33f95b325178387d5a4fc1d7220cb23 /tools/lib/python/feat/parse_features.py
parentd61f1cc5db799f4e44a63418b2dc19396787427b (diff)
exfat: fix refcount leak in exfat_find
Fix refcount leaks in `exfat_find` related to `exfat_get_dentry_set`. Function `exfat_get_dentry_set` would increase the reference counter of `es->bh` on success. Therefore, `exfat_put_dentry_set` must be called after `exfat_get_dentry_set` to ensure refcount consistency. This patch relocate two checks to avoid possible leaks. Fixes: 82ebecdc74ff ("exfat: fix improper check of dentry.stream.valid_size") Fixes: 13940cef9549 ("exfat: add a check for invalid data size") Signed-off-by: Shuhao Fu <sfual@cse.ust.hk> Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/lib/python/feat/parse_features.py')
0 files changed, 0 insertions, 0 deletions