From cc9db00b66ccb71927ca7ef74f1b91f8b333bb85 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 06 Nov 2006 20:08:49 +0000
Subject: [PATCH] Update the AttributeValue constructors to ensure that they do not accept any null arguments.  This also requires making changes to other areas of the server code to eliminate cases in which it was possible that at least one of the arguments was null.

---
 opends/src/server/org/opends/server/core/ModifyDNOperation.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/ModifyDNOperation.java b/opends/src/server/org/opends/server/core/ModifyDNOperation.java
index 978870d..2f44f55 100644
--- a/opends/src/server/org/opends/server/core/ModifyDNOperation.java
+++ b/opends/src/server/org/opends/server/core/ModifyDNOperation.java
@@ -1202,11 +1202,11 @@
                 }
               }
 
-              SearchFilter filter = assertControl.getSearchFilter();
               try
               {
                 // FIXME -- We need to determine whether the current user has
                 //          permission to make this determination.
+                SearchFilter filter = assertControl.getSearchFilter();
                 if (! filter.matchesEntry(currentEntry))
                 {
                   setResultCode(ResultCode.ASSERTION_FAILED);

--
Gitblit v1.10.0