1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00
Zdenek Kabelac 7cf73cbc1f Do not write to -1 buffer address
In case of zero bytes would be read from sysfs, it would store '\0' on
temp_buf[-1] address.

Simplify some buffer length calculation and use strcpy if we've just
checked string fits in give buffer.

Replace jump label error: with bad: commonly used in libdm.
2012-02-13 10:49:28 +00:00
..
2012-02-08 12:59:19 +00:00
2012-02-10 13:52:05 +00:00
2012-01-23 17:46:31 +00:00
2012-01-23 17:47:36 +00:00
2012-02-08 12:59:45 +00:00
2012-02-10 14:00:07 +00:00