mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-31 21:18:26 +03:00
e134ce7c3c
When the ->params string is empty - memory access is made on the byte before allocated buffer (catched by valgrind) - in the case it would constain 0x20 - it would even overwrite this buffer. So fix by checking len > 0 before doing such access. Also slightly optimise this loop from repeated strlen call. |
||
---|---|---|
.. | ||
datastruct | ||
ioctl | ||
misc | ||
mm | ||
regex | ||
.exported_symbols | ||
libdevmapper.h | ||
libdevmapper.pc.in | ||
libdm-common.c | ||
libdm-common.h | ||
libdm-deptree.c | ||
libdm-file.c | ||
libdm-report.c | ||
libdm-string.c | ||
Makefile.in |