1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/format_text
Wu Guanghao ce58e9d5b3 _vg_read_raw_area: fix segfault caused by using null pointer
When we tested lvm2, the kernel injected various random faults.

(gdb) bt
...
(gdb) p vg
$1 = (struct volume_group *) 0x0
(gdb) p use_previous_vg
$2 = (unsigned int *) 0x0

Signed-off-by: Wu Guanghao <wuguanghao3@huawei.com>
2022-08-15 09:39:02 -05:00
..
archive.c fix spelling of pruning 2021-11-19 12:02:35 -06:00
archiver.c debug: reduce some debugging noise 2021-10-14 23:34:11 +02:00
archiver.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
export.c metadata: remember parsing size of VG metadata 2021-09-27 18:49:41 +02:00
flags.c Add metadata-based autoactivation property for VG and LV 2021-04-07 15:32:49 -05:00
format-text.c _vg_read_raw_area: fix segfault caused by using null pointer 2022-08-15 09:39:02 -05:00
format-text.h vgck: fix updatemetadata writing different descriptions 2019-10-11 12:57:32 -05:00
import_vsn1.c cov: clean up pvid and vgid usage 2021-08-16 11:31:15 -05:00
import-export.h metadata: add vg_from_config_tree 2019-11-27 11:13:47 -06:00
import.c handle bad metadata text in vg_read path 2021-09-28 15:17:43 -05:00
layout.h gcc: zero-sized array to fexlible array C99 2020-09-01 17:57:50 +02:00
text_export.h cleanup: easier print of historical lv 2021-03-10 01:11:52 +01:00
text_import.h doc: change fsf address 2016-01-21 12:11:37 +01:00
text_label.c asan: fix some reports from libasan 2022-02-07 20:02:11 +01:00