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

Ludovic Poitou
18.32.2014 ff6fa2b2dd7a6d4b405c0972041f16b889d527c3
Port of fix to OPENDJ-1146, possible leak in ACI with subtree delete
1 files modified
6 ■■■■ changed files
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/authorization/dseecompat/AciList.java 6 ●●●● patch | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/authorization/dseecompat/AciList.java
@@ -362,11 +362,7 @@
      {
        return false;
      }
      if (hasAci && aciList.remove(entryDN) == null)
      {
        return false;
      }
      if (!hasGlobalAci && !hasAci)
      if (hasAci || !hasGlobalAci)
      {
        return aciList.removeSubtree(entryDN, null);
      }