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

Florian Forster octo at verplant.org
Tue Sep 2 19:50:53 CEST 2014


 src/meta_data.c         |    8 +++++++-
 src/pyvalues.c          |    8 ++++++--
 src/utils_format_json.c |   13 +++++++++++--
 3 files changed, 24 insertions(+), 5 deletions(-)

New commits:
commit 670dd12b750843cf83ac3cf052b4c2d8b635c212
Author: Florian Forster <octo at collectd.org>
Date:   Tue Sep 2 19:50:47 2014 +0200

    src/meta_data.c: If the meta_data_t is empty, avoid calling malloc(0).

commit 7acb8df1c0fa0065f267d7f5af2abe260340900e
Author: Florian Forster <octo at collectd.org>
Date:   Tue Sep 2 19:49:11 2014 +0200

    src/utils_format_json.c: Handle empty meta_data_t gracefully.
    
    Previously, `meta != NULL` and `keys_num == 0` was possible and would
    result in "{}", which is not valid JSON.
    
    Fixes: 716

commit 0f4dc42a2a786763134d9661273608cfb2f52821
Author: Florian Forster <octo at collectd.org>
Date:   Tue Sep 2 19:48:10 2014 +0200

    python plugin: Don't create empty meta_data_t objects.
    
    Fixes: #716




More information about the collectd-changes mailing list