linux/block/partitions
Mauricio Faria de Oliveira d43fdae7ba partitions/aix: append null character to print data from disk
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: 6ceea22bbb ("partitions: add aix lvm partition support files")
Suggested-by: Daniel J. Axtens <daniel.axtens@canonical.com>
Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-07-27 09:17:41 -06:00
..
Kconfig
Makefile
acorn.c
acorn.h
aix.c partitions/aix: append null character to print data from disk 2018-07-27 09:17:41 -06:00
aix.h
amiga.c
amiga.h
atari.c
atari.h
check.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
check.h
cmdline.c
cmdline.h
efi.c
efi.h
ibm.c
ibm.h
karma.c
karma.h
ldm.c partitions/ldm: remove redundant pointer dgrp 2018-07-09 09:07:53 -06:00
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