mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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:
|
||
---|---|---|
.. | ||
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 | ||
Kconfig | ||
ldm.c | ||
ldm.h | ||
mac.c | ||
mac.h | ||
Makefile | ||
msdos.c | ||
msdos.h | ||
osf.c | ||
osf.h | ||
sgi.c | ||
sgi.h | ||
sun.c | ||
sun.h | ||
sysv68.c | ||
sysv68.h | ||
ultrix.c | ||
ultrix.h |