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

Florian Forster octo at verplant.org
Fri May 12 15:18:38 CEST 2017


 src/utils_cmd_putval.c |   36 ++++++++++++++++++++----------------
 src/write_prometheus.c |    7 ++++++-
 2 files changed, 26 insertions(+), 17 deletions(-)

New commits:
commit 43625304e5028751d03f9bbcc38ee1c12b0efb6f
Merge: 5b526f1 9a1a776
Author: Florian Forster <ff at octo.it>
Date:   Fri May 12 15:17:13 2017 +0200

    Merge pull request #2275 from octo/ff/prometheus
    
    write_prometheus plugin: Fix incorrect use of realloc().

commit 5b526f18e715f0858f3453dcd97e499f2bfea83c
Merge: 632cca4 619adc0
Author: Florian Forster <ff at octo.it>
Date:   Fri May 12 15:16:50 2017 +0200

    Merge pull request #2274 from octo/ff/putval
    
    src/utils_cmd_putval.c: Fix multi-value PUTVAL.

commit 619adc097bbc8f26e846db9a6cdfcb0322ba9944
Author: Florian Forster <octo at collectd.org>
Date:   Fri May 12 12:08:55 2017 +0200

    src/utils_cmd_putval.c: Fix multi-value PUTVAL.
    
    vl.values was allocated outside of the loop and then copied into each
    ret_putval->vl[]. This means that later values overwrote the values
    stored in previous ret_putval->vl[].

commit 9a1a776fd790728f1158e65259dbecc8c43e34c9
Author: Florian Forster <octo at collectd.org>
Date:   Fri May 12 13:05:37 2017 +0200

    write_prometheus plugin: Fix incorrect use of realloc().
    
    Calling realloc(ptr, 0) is undefined. Call free() explicitly.




More information about the collectd-changes mailing list