ITS#8629 Make sure pwcons is around for slapauth

Long term, overlay callbacks should not be running in tool mode at all.
This commit is contained in:
Ondřej Kuzník 2019-12-02 12:25:52 +00:00
parent 1a0ab3d269
commit b71235ac45

View File

@ -2431,7 +2431,7 @@ ppolicy_db_init(
on->on_bi.bi_private = ch_calloc( sizeof(pp_info), 1 );
if ( dtblsize && !pwcons ) {
if ( !pwcons ) {
/* accommodate for c_conn_idx == -1 */
pwcons = ch_calloc( sizeof(pw_conn), dtblsize + 1 );
pwcons++;