[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'

Florian Forster octo at verplant.org
Sun May 13 23:52:16 CEST 2018


 src/write_sensu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b34cd94ec5b8b46fb0610c020c49f20e6d3980a8
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Sun May 13 17:06:54 2018 +0200

    write_sensu: use sstrncpy
    
    Fixes:
      CC       src/write_sensu.lo
    src/write_sensu.c: In function ‘replace_str’:
    src/write_sensu.c:630:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
       strncpy(r, p, strlen(p));
       ^~~~~~~~~~~~~~~~~~~~~~~~
      CCLD     write_sensu.la




More information about the collectd-changes mailing list