From 7863591584b69fe319520e3a9772cdfa9ebbb7e8 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Thu, 27 May 2010 13:54:18 +0000
Subject: [PATCH] Fix issue #4386, resolving NPE in ADD operations when attributes have duplicate values
---
opends/src/server/org/opends/server/core/AddOperationBasis.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/AddOperationBasis.java b/opends/src/server/org/opends/server/core/AddOperationBasis.java
index 0667056..b3ed353 100644
--- a/opends/src/server/org/opends/server/core/AddOperationBasis.java
+++ b/opends/src/server/org/opends/server/core/AddOperationBasis.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2007-2008 Sun Microsystems, Inc.
+ * Copyright 2007-2010 Sun Microsystems, Inc.
*/
package org.opends.server.core;
import org.opends.messages.MessageBuilder;
@@ -477,6 +477,7 @@
userAttributes = null;
operationalAttributes = null;
ldapError = true;
+ return;
}
}
}
--
Gitblit v1.10.0