d43fdae7ba
Even if properly initialized, the lvname array (i.e., strings)
is read from disk, and might contain corrupt data (e.g., lack
the null terminating character for strings).
So, make sure the partition name string used in pr_warn() has
the null terminating character.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
acorn.c | ||
acorn.h | ||
aix.c | ||
aix.h | ||
amiga.c | ||
amiga.h | ||
atari.c | ||
atari.h | ||
check.c | ||
check.h | ||
cmdline.c | ||
cmdline.h | ||
efi.c | ||
efi.h | ||
ibm.c | ||
ibm.h | ||
karma.c | ||
karma.h | ||
ldm.c | ||
ldm.h | ||
mac.c | ||
mac.h | ||
msdos.c | ||
msdos.h | ||
osf.c | ||
osf.h | ||
sgi.c | ||
sgi.h | ||
sun.c | ||
sun.h | ||
sysv68.c | ||
sysv68.h | ||
ultrix.c | ||
ultrix.h |