]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/alias.c
ITS#4310 seems to affect also back-ldbm
[openldap] / servers / slapd / back-ldbm / alias.c
index 104dbbee514ac0150849a4eb917524073a0eeec8..d76dca4148608f98f4e476a8368d89589334c647 100644 (file)
@@ -1,7 +1,16 @@
 /* $OpenLDAP$ */
-/*
- * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2006 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
  */
 
 #include "portable.h"
@@ -219,7 +228,7 @@ static int dnlist_subordinate(
        BerVarray dnlist,
        struct berval *dn )
 {
-       assert( dnlist );
+       assert( dnlist != NULL );
 
        for( ; dnlist->bv_val != NULL; dnlist++ ) {
                if( dnIsSuffix( dnlist, dn ) ) {