Code

openldap: Fixed possible dereference of NULL pointer
authorPavel Rochnyack <pavel2000@ngs.ru>
Mon, 24 Jul 2017 07:05:16 +0000 (14:05 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Mon, 24 Jul 2017 07:07:27 +0000 (14:07 +0700)
commitff0d8b0879c81f4743f38637063c0e26194f3e00
treee901d659111f58221b67d6ab8b8cdde7c7ba52a9
parentf519b4b222ab9253e70b6cda7605d7c58ff771b4
openldap: Fixed possible dereference of NULL pointer

If `plugin_register_complex_read()` has failed, then `cldap_free` is called which set pointer to NULL.
That pointer is accessed by `cldap_shutdown()` callback later.
src/openldap.c