]> 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 842326760de84f620b05e5e79b5ab418981b286c..d76dca4148608f98f4e476a8368d89589334c647 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2003 The OpenLDAP Foundation.
+ * Copyright 1998-2006 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -228,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 ) ) {