linux-stable/fs/isofs
Pan Bian efb178aa99 isofs: release buffer head before return
[ Upstream commit 0a6dc67a6a ]

Release the buffer_head before returning error code in
do_isofs_readdir() and isofs_find_entry().

Fixes: 2deb1acc65 ("isofs: fix access to unallocated memory when reading corrupted filesystem")
Link: https://lore.kernel.org/r/20210118120455.118955-1-bianpan2016@163.com
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-03 18:22:46 +01:00
..
compress.c
dir.c isofs: release buffer head before return 2021-03-03 18:22:46 +01:00
export.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
inode.c isofs: reject hardware sector size > 2048 bytes 2018-10-03 17:00:57 -07:00
isofs.h isofs: fix timestamps beyond 2027 2017-11-30 08:40:45 +00:00
joliet.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
namei.c isofs: release buffer head before return 2021-03-03 18:22:46 +01:00
rock.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rock.h isofs: fix timestamps beyond 2027 2017-11-30 08:40:45 +00:00
util.c isofs: fix timestamps beyond 2027 2017-11-30 08:40:45 +00:00
zisofs.h