mirror_corosync/tools
Russell Bryant a609f79f1f Ensure that strings are null terminated after strncpy().
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>
2011-03-07 08:30:03 -06:00
..
.gitignore Add dbus and snmp notifier 2011-02-04 09:47:35 -07:00
corosync-blackbox diags: add a mechanism to trigger the writing the flight data 2010-05-04 00:56:25 +00:00
corosync-cfgtool.c Fix corosync-cfgtool -a so that it actaully produces some output! 2009-06-10 07:33:19 +00:00
corosync-cpgtool.c Real add of corosync-cpgtool 2009-08-31 15:58:12 +00:00
corosync-fplay.c corosync-fplay: use uint32_t and remove bit-shift 2011-02-23 13:31:38 +01:00
corosync-keygen.c Add -l option to corosync-keygen. 2011-03-05 10:02:57 -06:00
corosync-notifyd.c Ensure that strings are null terminated after strncpy(). 2011-03-07 08:30:03 -06:00
corosync-notifyd.sysconfig.example Add dbus and snmp notifier 2011-02-04 09:47:35 -07:00
corosync-objctl.c Ensure that strings are null terminated after strncpy(). 2011-03-07 08:30:03 -06:00
corosync-pload.c fix timersub warning on freebsd 2011-01-12 09:42:24 +11:00
corosync-quorumtool.c COVERITY 17: fix exit handling in show_votes(). 2009-11-22 23:59:51 +00:00
Makefile.am snmp: Allow buildling of corosync on already existing older install of corosync 2011-02-24 15:23:37 -07:00