Files
linux-rockchip/fs
Yuezhang Mo 4e1813e52f exfat: fix memory leak in exfat_load_bitmap()
commit d2b537b3e533f28e0d97293fe9293161fe8cd137 upstream.

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: 1e49a94cf7 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-17 15:21:57 +02:00
..
2024-08-29 17:30:56 +02:00
2024-08-29 17:30:34 +02:00
2024-10-17 15:21:18 +02:00
2024-10-17 15:21:32 +02:00
2024-02-23 09:12:45 +01:00
2023-09-23 11:11:10 +02:00
2023-08-30 16:11:10 +02:00
2024-07-05 09:31:59 +02:00
2023-01-04 11:29:01 +01:00