1
0
Fork 0
remarkable-linux/fs/isofs
Chengguang Xu ba041775a9 isofs: fix potential memory leak in mount option parsing
[ Upstream commit 4f34a5130a ]

When specifying string type mount option (e.g., iocharset)
several times in a mount, current option parsing may
cause memory leak. Hence, call kfree for previous one
in this case. Meanwhile, check memory allocation result
for it.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-21 04:02:41 +09:00
..
Kconfig fs/Kconfig: move iso9660, udf out 2009-01-22 13:15:55 +03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
compress.c block,fs: untangle fs.h and blk_types.h 2016-11-01 09:43:26 -06:00
dir.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +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: fix potential memory leak in mount option parsing 2018-06-21 04:02:41 +09: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
namei.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +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 [PATCH] mark address_space_operations const 2006-06-28 14:59:04 -07:00