Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
3.4, 3.5
-
None
-
Mac OS X 10.7, JDK 1.6
CentOS 5, JDK 1.7u1
-
New, Patch Available
Description
When the NativeFSLock releases, it deletes the lock file after lock release.
In a concurrent situation, it is possible for another thread or process to acquire the lock before the delete happens. Any other third thread or process will then be able to recreate the lock file and acquire the lock while a lock is already held on the deleted file.