1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/libdm
Zdenek Kabelac 820aa36192 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
..
datastruct Use void pointer instead of char for binary key 2011-03-10 12:48:40 +00:00
ioctl Use dm_asprintf to simplify code 2012-02-08 12:59:19 +00:00
misc cmirrord now returns log name to kernel in CTR so it can be registered 2011-10-14 14:18:49 +00:00
mm Add test for failing allocation 2012-02-10 13:52:05 +00:00
regex Add test for memory allocation failures 2012-02-10 13:49:29 +00:00
.exported_symbols Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00
libdevmapper.h Reorder fns in libdm-deptree. 2012-01-23 17:46:31 +00:00
libdevmapper.pc.in Switch to use Requires.private for devmapper.pc and lvm2app.pc 2010-05-11 08:54:11 +00:00
libdm-common.c Do not write to -1 buffer address 2012-02-13 10:49:28 +00:00
libdm-common.h Use sysfs to set/get of read-ahead 2012-01-09 12:26:14 +00:00
libdm-config.c add const 2012-01-23 17:47:36 +00:00
libdm-deptree.c Check for deps pointer before dererence 2012-02-10 14:48:28 +00:00
libdm-file.c Drop unreachable code 2012-02-08 12:59:45 +00:00
libdm-report.c Do not crash for NULL sort_key 2012-02-10 14:00:07 +00:00
libdm-string.c Return error for failing allocation 2012-02-10 13:56:19 +00:00
Makefile.in Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00