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

Florian Forster octo at verplant.org
Fri Sep 22 08:56:35 CEST 2017


 src/openldap.c |   98 +++++++++++++++++---------------------------------------
 1 file changed, 30 insertions(+), 68 deletions(-)

New commits:
commit 603d00c9b3956ccd8486d6e60c747e4dff1290f6
Merge: 23d34e7 ee2af3b
Author: Florian Forster <octo at collectd.org>
Date:   Fri Sep 22 08:55:18 2017 +0200

    Merge remote-tracking branch 'github/pr/2377'

commit ee2af3ba8ed42f5f04962f56edb59b80eb545f77
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date:   Mon Jul 24 15:07:16 2017 +0700

    openldap: Fix plugin shutdown with connection failed
    
    When plugin failes to connect to LDAP server, the `ldap_unbind_ext_s(st->ld)` is called.
    According to `man 3 ldap_unbind_ext_s`, that call is used to free the resources contained in the ld structure.
    When plugin shutdown, the `ldap_unbind_ext_s` called again, which causes coredump.
    
    The plugin code was changed to set st->ld to NULL after `ldap_unbind_ext_s()` call.




More information about the collectd-changes mailing list