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

neil_a_wilson
24.18.2006 8472e2397acadbea4c85f14d3951b8e60de403ee
Fix a problem in which the modify operation checked for a cancel request
immediately after acquiring a lock on the target entry but before entering the
try/finally block to ensure that the lock would be released. This could lead
to a case in which the lock will never be released, interfering with the
ability to interact with that entry in the future.

OpenDS Issue Number: 714
1 files modified
4 ■■■■ changed files
opends/src/server/org/opends/server/core/ModifyOperation.java 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/core/ModifyOperation.java
@@ -872,6 +872,8 @@
      }
      try
      {
      // Check for and handle a request to cancel this operation.
      if (cancelRequest != null)
      {
@@ -897,8 +899,6 @@
      }
      try
      {
        // Get the entry to modify.  If it does not exist, then fail.
        try
        {