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

dugan
06.40.2008 a99670d33c4721f8fe9bc3903a75ca2b04a77dbf
Add check for null attribute list. Issue 1459.
1 files modified
2 ■■■■■ changed files
opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java 2 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
@@ -347,6 +347,7 @@
                  container.setCurrentAttributeType(modAttrType);
                  List<Attribute> attrList =
                   resourceEntry.getAttribute(modAttrType,modAttr.getOptions());
                if(attrList != null) {
                  for (Attribute a : attrList) {
                    for (AttributeValue v : a.getValues()) {
                      container.setCurrentAttributeValue(v);
@@ -358,6 +359,7 @@
                  }
                }
             }
            }
            if(modAttr.hasValue()) {
               for(AttributeValue v : modAttr.getValues()) {