author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 28 Jun 2017 11:46:59 +0000 (13:46 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 28 Jun 2017 11:46:59 +0000 (13:46 +0200) | ||
commit | 3179c85911babea7e51902d5d72c6fe1812af4d0 | |
tree | 741fba03b39563641e5d8e2f31c7b8ef707df16b | tree | snapshot |
parent | fd01cdd0546ccbbda7f4cf5db2d0ae28e1e770cd | commit | diff |
openldap: check ld structure before passing it to ldap_unbind()
This prevents collectd from segfaulting when the ldap session setup
fails before opening a connection to openldap (syntax error in the URL
option for example).
This prevents collectd from segfaulting when the ldap session setup
fails before opening a connection to openldap (syntax error in the URL
option for example).
src/openldap.c | diff | blob | history |