From 025b3b929e2031d16dcfd5675c2536b946884f1e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 15 Jun 2012 04:46:11 -0700 Subject: [PATCH] ITS#7298 fix PermissiveModify control parsing --- servers/slapd/controls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/controls.c b/servers/slapd/controls.c index e737afb043..9d8a55fb93 100644 --- a/servers/slapd/controls.c +++ b/servers/slapd/controls.c @@ -1624,7 +1624,7 @@ static int parsePermissiveModify ( return LDAP_PROTOCOL_ERROR; } - if ( BER_BVISNULL( &ctrl->ldctl_value )) { + if ( !BER_BVISNULL( &ctrl->ldctl_value )) { rs->sr_text = "permissiveModify control value not absent"; return LDAP_PROTOCOL_ERROR; }