android_kernel_motorola_sm6375/fs/fat
Repository files (latest commit first)
Filename Latest commit message Latest commit date
OGAWA Hirofumi 35033ab988 fat: fix memory allocation failure handling of match_strdup()
In parse_options(), if match_strdup() failed, parse_options() leaves
opts->iocharset in unexpected state (i.e.  still pointing the freed
string).  And this can be the cause of double free.

To fix, this initialize opts->iocharset always when freeing.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: OGAWA Hirofumi <[email protected]>
Reported-by: [email protected]
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2018-07-21 12:50:46 -07:00
..
cache.c
dir.c fat: convert to new i_version API 2018-01-29 06:42:20 -05:00
fat.h
fatent.c Rename superblock flags (MS_xyz -> SB_xyz) 2017-11-27 13:05:09 -08:00
file.c
inode.c fat: fix memory allocation failure handling of match_strdup() 2018-07-21 12:50:46 -07:00
Kconfig
Makefile
misc.c Rename superblock flags (MS_xyz -> SB_xyz) 2017-11-27 13:05:09 -08:00
namei_msdos.c vfs/y2038: inode timestamps conversion to timespec64 2018-06-15 07:31:07 +09:00
namei_vfat.c vfs/y2038: inode timestamps conversion to timespec64 2018-06-15 07:31:07 +09:00
nfs.c