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

Florian Forster octo at verplant.org
Tue Feb 5 07:53:05 CET 2013


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

New commits:
commit b0c32ea6b670877e573913139f05d5c110e50861
Author: Dan Fandrich <dan at coneharvesters.com>
Date:   Tue Feb 5 00:02:17 2013 +0100

    curl_xml plugin: Fix potential dereference of NULL pointer.
    
    I managed to get collectd to segfault in a couple of places while
    playing with it a bit. The first is in the curl_xml module when the
    XPATH expression doesn't quite match the input. The crash occurs on line
    407 when instance_node->nodeTab[0] is dereferenced. At this point, all
    members of instance_node are 0, so dereferencing the array isn't a good
    idea. This patch fixes the problem, although I'm not sure if this
    particular case actually deserves its own error message.
    
    Signed-off-by: Florian Forster <octo at collectd.org>




More information about the collectd-changes mailing list