Bug 66621

Summary: Bug in WebdavServlet?
Product: Tomcat 8 Reporter: Alexander Veit <alexanderv>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P2    
Version: 8.5.89   
Target Milestone: ----   
Hardware: PC   
OS: Linux   

Description Alexander Veit 2023-05-31 13:12:41 UTC
While looking at the WebdavServlet source code I spotted the following line where expired collection locks are being removed from the resource locks:


However, the usual pattern seems to be that expired locks are being removed from the same collection they were found in. So this may be a bug. Is this correct?
Comment 1 Mark Thomas 2023-05-31 16:59:10 UTC
Thanks for spotting that. I agree that there is a bug there.

Fixed in:
- 11.0.x for 11.0.0-M7 onwards
- 10.1.x for 10.1.10 onwards
-  9.0.x for  9.0.76 onwards
-  8.5.x for  8.5.90 onwards