mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2026-01-21 18:30:14 +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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| corosync-blackbox | ||
| corosync-cfgtool.c | ||
| corosync-cpgtool.c | ||
| corosync-fplay.c | ||
| corosync-keygen.c | ||
| corosync-notifyd.c | ||
| corosync-notifyd.sysconfig.example | ||
| corosync-objctl.c | ||
| corosync-pload.c | ||
| corosync-quorumtool.c | ||
| Makefile.am | ||