1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00
Zdenek Kabelac 844b75f4d6 Fix allocation of system_id
As code uses strncpy(system_id, NAME_LEN) and doesn't set '\0'
Fix it by always allocating NAME_LEN + 1 buffer size and with zalloc
we always get '\0' as the last byte.

This bug may trigger some unexpected behavior of the string operation
code - depends on the pool allocator.

FIXME: refactor this code to alloc_vg.
2011-03-13 23:05:48 +00:00
..
2011-02-28 19:53:03 +00:00
2011-03-13 23:01:08 +00:00
2011-03-10 14:51:35 +00:00
2010-12-20 13:19:13 +00:00
2011-03-13 22:52:16 +00:00
2011-02-18 14:47:28 +00:00
2011-03-13 23:05:48 +00:00
2011-03-13 23:05:48 +00:00
2011-02-18 14:16:11 +00:00
2011-02-18 14:16:11 +00:00
2011-03-13 23:05:48 +00:00
2011-02-18 14:29:39 +00:00
2011-03-06 17:52:07 +00:00
2011-03-05 12:14:00 +00:00
2011-02-18 14:29:39 +00:00
2011-02-18 14:47:28 +00:00