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
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 > > >
changed notes changed state Open to Feedback
changed notes changed state Feedback to Closed
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...
Original code is correct.