mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
17.24.2009 3181453e2fa1149121b3f1ec202e7e97bc3bbb29
Fix for issue 4164: Fixed decoding bug where multiple values for extra properties are not parsed correctly.
7 files modified
31 ■■■■■ changed files
opends/src/server/org/opends/server/schema/AttributeTypeSyntax.java 3 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/DITContentRuleSyntax.java 5 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/DITStructureRuleSyntax.java 5 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/MatchingRuleSyntax.java 5 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/MatchingRuleUseSyntax.java 5 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/NameFormSyntax.java 5 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/ObjectClassSyntax.java 3 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/schema/AttributeTypeSyntax.java
@@ -1469,10 +1469,10 @@
    }
    else if (c == '(')
    {
      startPos++;
      while (true)
      {
        // Skip over any leading spaces;
        startPos++;
        while ((startPos < length) && ((c = valueStr.charAt(startPos)) == ' '))
        {
          startPos++;
@@ -1490,6 +1490,7 @@
        if (c == ')')
        {
          // This is the end of the list.
          startPos++;
          break;
        }
        else if (c == '(')
opends/src/server/org/opends/server/schema/DITContentRuleSyntax.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.schema;
import org.opends.messages.Message;
@@ -1371,10 +1371,10 @@
    }
    else if (c == '(')
    {
      startPos++;
      while (true)
      {
        // Skip over any leading spaces;
        startPos++;
        while ((startPos < length) && ((c = valueStr.charAt(startPos)) == ' '))
        {
          startPos++;
@@ -1391,6 +1391,7 @@
        if (c == ')')
        {
          // This is the end of the list.
          startPos++;
          break;
        }
        else if (c == '(')
opends/src/server/org/opends/server/schema/DITStructureRuleSyntax.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.schema;
import org.opends.messages.Message;
@@ -1117,10 +1117,10 @@
    }
    else if (c == '(')
    {
      startPos++;
      while (true)
      {
        // Skip over any leading spaces;
        startPos++;
        while ((startPos < length) && ((c = valueStr.charAt(startPos)) == ' '))
        {
          startPos++;
@@ -1137,6 +1137,7 @@
        if (c == ')')
        {
          // This is the end of the list.
          startPos++;
          break;
        }
        else if (c == '(')
opends/src/server/org/opends/server/schema/MatchingRuleSyntax.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.schema;
import org.opends.messages.Message;
@@ -1071,10 +1071,10 @@
    }
    else if (c == '(')
    {
      startPos++;
      while (true)
      {
        // Skip over any leading spaces;
        startPos++;
        while ((startPos < length) && ((c = valueStr.charAt(startPos)) == ' '))
        {
          startPos++;
@@ -1091,6 +1091,7 @@
        if (c == ')')
        {
          // This is the end of the list.
          startPos++;
          break;
        }
        else if (c == '(')
opends/src/server/org/opends/server/schema/MatchingRuleUseSyntax.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.schema;
import org.opends.messages.Message;
@@ -1062,10 +1062,10 @@
    }
    else if (c == '(')
    {
      startPos++;
      while (true)
      {
        // Skip over any leading spaces;
        startPos++;
        while ((startPos < length) && ((c = valueStr.charAt(startPos)) == ' '))
        {
          startPos++;
@@ -1082,6 +1082,7 @@
        if (c == ')')
        {
          // This is the end of the list.
          startPos++;
          break;
        }
        else if (c == '(')
opends/src/server/org/opends/server/schema/NameFormSyntax.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.schema;
import org.opends.messages.Message;
@@ -1178,10 +1178,10 @@
    }
    else if (c == '(')
    {
      startPos++;
      while (true)
      {
        // Skip over any leading spaces;
        startPos++;
        while ((startPos < length) && ((c = valueStr.charAt(startPos)) == ' '))
        {
          startPos++;
@@ -1199,6 +1199,7 @@
        if (c == ')')
        {
          // This is the end of the list.
          startPos++;
          break;
        }
        else if (c == '(')
opends/src/server/org/opends/server/schema/ObjectClassSyntax.java
@@ -1426,10 +1426,10 @@
    }
    else if (c == '(')
    {
      startPos++;
      while (true)
      {
        // Skip over any leading spaces;
        startPos++;
        while ((startPos < length) && ((c = valueStr.charAt(startPos)) == ' '))
        {
          startPos++;
@@ -1447,6 +1447,7 @@
        if (c == ')')
        {
          // This is the end of the list.
          startPos++;
          break;
        }
        else if (c == '(')