Merge branch 'collectd-5.5'
authorFlorian Forster <octo@collectd.org>
Sat, 5 Dec 2015 22:08:22 +0000 (23:08 +0100)
committerFlorian Forster <octo@collectd.org>
Sat, 5 Dec 2015 22:08:22 +0000 (23:08 +0100)
1  2 
src/daemon/common.c
src/iptables.c
src/libcollectdclient/network.c

@@@ -1169,10 -1170,12 +1169,13 @@@ int parse_values (char *buffer, value_l
        char *ptr;
        char *saveptr;
  
 -      i = -1;
+       if ((buffer == NULL) || (vl == NULL) || (ds == NULL))
+               return EINVAL;
 +      i = 0;
        dummy = buffer;
        saveptr = NULL;
 +      vl->time = 0;
        while ((ptr = strtok_r (dummy, ":", &saveptr)) != NULL)
        {
                dummy = NULL;
diff --cc src/iptables.c
Simple merge
Simple merge