From 5992a9b7e64bbe616572b508c9a097bc2ea6dc63 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 18 Jul 2004 21:34:01 +0000 Subject: [PATCH] dnMatch must be called with valid args --- servers/slapd/dn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/dn.c b/servers/slapd/dn.c index c8d0868041..44528fa2f6 100644 --- a/servers/slapd/dn.c +++ b/servers/slapd/dn.c @@ -975,6 +975,8 @@ dnMatch( assert( matchp ); assert( value ); assert( assertedValue ); + assert( !BER_BVISNULL( value ) ); + assert( !BER_BVISNULL( asserted ) ); match = value->bv_len - asserted->bv_len; -- 2.39.5