1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-31 05:47:43 +03:00
Zdenek Kabelac 2562968864 vgcfgrestore: fix crash on restore of wrong vgname
When vgname has not existed in metadata, it has crashed on double free
in format_instance destroy() -  since VG was created, used FID and was
released - which also released FID, so further use was accessing bad
memory.

Fix it for this code path before release_vg() so FID will exists
when _vg_read_file_name() returns NULL.
2013-06-18 22:11:21 +02:00
..
2013-06-16 00:07:32 +02:00
2012-02-08 12:52:58 +00:00
2013-04-21 23:07:00 +02:00
2013-06-16 00:07:32 +02:00
2013-06-16 00:07:32 +02:00
2013-04-02 15:16:04 +02:00
2013-05-13 13:13:20 +02:00
2013-06-16 00:07:32 +02:00