diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2024-09-03 15:01:09 +0800 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2024-09-18 07:40:58 +0900 |
commit | d2b537b3e533f28e0d97293fe9293161fe8cd137 (patch) | |
tree | d24c378472eacec1ecad18554e0af2e4115fb10e /rust/kernel/task.rs | |
parent | f761fcdd289d07e8547fef7ac76c3760fc7803f2 (diff) |
exfat: fix memory leak in exfat_load_bitmap()
If the first directory entry in the root directory is not a bitmap
directory entry, 'bh' will not be released and reassigned, which
will cause a memory leak.
Fixes: 1e49a94cf707 ("exfat: add bitmap operations")
Cc: stable@vger.kernel.org
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions