1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00
lvm2/daemons/lvmlockd
Zdenek Kabelac 5dec664ccf lvmlocks: rework dm_strncpy
Fix cutting away 1 character via incorrect usage of dm_strncpy
introduced in last batch of commits and use sizeof(buffer) to
get proper sizes.

In case of use strcpy_name_len() the replacement was invalid,
so we need to restore this case since sanlock uses buffer without
nul ending, so we would strip one more character from the buffer.

Also start to use dm_strncpy() without (void) for unchecked usage.
2024-04-04 19:38:21 +02:00
..
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
lvmlockctl.c cov: ensuring buffer is zeroed 2021-09-21 21:03:47 +02:00
lvmlockd-client.h cleanup: matching declaration order 2020-09-01 17:57:50 +02:00
lvmlockd-core.c lvmlocks: rework dm_strncpy 2024-04-04 19:38:21 +02:00
lvmlockd-dlm.c lvmlocks: rework dm_strncpy 2024-04-04 19:38:21 +02:00
lvmlockd-idm.c cleanup: free already does NULL check 2021-09-15 15:24:56 +02:00
lvmlockd-internal.h debug: check for syscalls 2023-09-03 22:03:33 +02:00
lvmlockd-sanlock.c lvmlocks: rework dm_strncpy 2024-04-04 19:38:21 +02:00
Makefile.in configure.ac: update dlm check 2023-02-23 16:46:35 +01:00