mirror of
git://sourceware.org/git/lvm2.git
synced 2024-10-28 11:55:55 +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. |
||
---|---|---|
.. | ||
libdm-compat.h | ||
libdm-iface.c | ||
libdm-targets.h |