Issue 13 - minor bug in slapd/backend.c
Summary: minor bug in slapd/backend.c
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-12-21 12:55 UTC by bob@linux.lu
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bob@linux.lu 1998-12-21 12:55:12 UTC
Full_Name: Bob Pepin
Version: 1.1
OS: suse linux
URL: ftp://ftp.openldap.org/incoming/backend.c.diff
Submission from: (NULL) (158.64.28.10)


replace dn == NULL with *dn == NULL
Comment 1 Kurt Zeilenga 1998-12-21 16:56:01 UTC
Please elborate.  The check is to ensure the dn argument, a
pointer, is non-NULL and to return false if is NULL.  You
change would remove this sanity check and disallow the root
DN from being the ROOT DSE (I'm not why anyone would want to
do this, but they could).
 
At 12:55 PM 12/21/98 GMT, bob@linux.lu wrote:
>Full_Name: Bob Pepin
>Version: 1.1
>OS: suse linux
>URL: ftp://ftp.openldap.org/incoming/backend.c.diff
>Submission from: (NULL) (158.64.28.10)
>
>
>replace dn == NULL with *dn == NULL
>
>
>
Comment 2 Kurt Zeilenga 1998-12-21 17:12:24 UTC
changed notes
changed state Open to Feedback
Comment 3 Kurt Zeilenga 1998-12-21 22:58:05 UTC
changed notes
changed state Feedback to Closed
Comment 4 Kurt Zeilenga 1998-12-21 22:59:19 UTC
 
Comment 5 Kurt Zeilenga 1998-12-21 22:59:19 UTC
On Mon, Dec 21, 1998 at 08:56:01AM -0800, Kurt D. Zeilenga wrote:
> Please elborate.  The check is to ensure the dn argument, a
> pointer, is non-NULL and to return false if is NULL.  You
> change would remove this sanity check and disallow the root
> DN from being the ROOT DSE (I'm not why anyone would want to
> do this, but they could).
oh, I'm sorry, my fault...

Comment 6 OpenLDAP project 2014-08-01 21:06:05 UTC
Original code is correct.