cure ITS#3602

This commit is contained in:
Pierangelo Masarati 2005-03-15 23:01:06 +00:00
parent d92eaaa79a
commit c90998e60d

View file

@ -53,7 +53,13 @@ dn2entry_retry:
/* get entry */
rc = bdb_dn2entry( op, NULL, &op->o_req_ndn, &ei, 1, locker, &lock );
/* bdb_dn2entry() may legally leave ei == NULL
* if rc != 0 and rc != DB_NOTFOUND
*/
if ( ei ) {
e = ei->bei_e;
}
switch(rc) {
case DB_NOTFOUND:
case 0: