android_kernel_oneplus_msm8998/fs/ubifs
Richard Weinberger c4c8445490 ubifs: Check for name being NULL while mounting
commit 37f31b6ca4311b94d985fb398a72e5399ad57925 upstream.

The requested device name can be NULL or an empty string.
Check for that and refuse to continue. UBIFS has to do this manually
since we cannot use mount_bdev(), which checks for this condition.

Fixes: 1e51764a3c ("UBIFS: add new flash file system")
Reported-by: syzbot+38bd0f7865e5c6379280@syzkaller.appspotmail.com
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-13 09:11:34 +02:00
..
budget.c
commit.c
compress.c
debug.c
debug.h
dir.c
file.c
find.c
gc.c
io.c
ioctl.c
journal.c ubifs: Fix synced_i_size calculation for xattr inodes 2018-09-09 20:04:35 +02:00
Kconfig
key.h
log.c
lprops.c ubifs: Fix memory leak in lprobs self-check 2018-09-09 20:04:35 +02:00
lpt.c
lpt_commit.c
Makefile
master.c
misc.h
orphan.c
recovery.c
replay.c
sb.c
scan.c
shrinker.c
super.c ubifs: Check for name being NULL while mounting 2018-10-13 09:11:34 +02:00
tnc.c
tnc_commit.c
tnc_misc.c
ubifs-media.h
ubifs.h
xattr.c