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

Ludovic Poitou
18.32.2014 bc22107711f86a81958b70069f509dbe865a9559
Port of fix to OPENDJ-1146, possible leak in ACI with subtree delete
1 files modified
6 ■■■■ changed files
opendj3-server-dev/src/server/org/opends/server/authorization/dseecompat/AciList.java 6 ●●●● patch | view | raw | blame | history
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);
      }