[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5435) Seg. fault due to dereference of NULL ConfigReply * arguments.

Full_Name: Rein Tollevik
Version: 2.4.8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Functions in servers/slapd/back-bdb/init.c dereference their ConfigReply *
arguments without testing that they are non-NULL first, which causes seg.
faults.  I have only seen this happen when I tried to slapcat a database that
hadn't had its directory created or some other stupidity, but anyhow...   

I don't include my patch to this, as it is probably easier to fix it again in
your source than to apply a patch.

Rein Tollevik
Basefarm AS