mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-26 22:18:03 +00:00
![]() From the strcpy(3) man page, the following warning is given: The strncpy() function is similar, except that at most n bytes of src are copied. Warning: If there is no null byte among the first n bytes of src, the string placed in dest will not be null-terminated. The current corosync code base does not take this warning into account when using strncpy, potentially resulting in non-null terminated strings. Signed-off-by: Russell Bryant <russell@russellbryant.net> Reviewed-by: Steven Dake <sdake@redhat.com> |
||
---|---|---|
.. | ||
common_test_agent.c | ||
common_test_agent.h | ||
confdb_test_agent.c | ||
cpg_test_agent.c | ||
Makefile.am | ||
mem_leak_test.sh | ||
net_breaker.sh | ||
sam_test_agent.c | ||
syncv2.c | ||
votequorum_test_agent.c |