[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5435) Seg. fault due to dereference of NULL ConfigReply * arguments.
rein@basefarm.no wrote:
> Full_Name: Rein Tollevik
> Version: 2.4.8
> OS:
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (84.215.2.34)
>
>
> Functions in servers/slapd/back-bdb/init.c dereference their ConfigReply *
> arguments without testing that they are non-NULL first, which causes seg.
> faults.
Obviously this should never happen. Please provide the stack trace from such
an occurrence.
> 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
>
>
>
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/