Bug 56600 - Missing "return" statements in WebdavServlet.doPropfind()
Missing "return" statements in WebdavServlet.doPropfind()
Status: RESOLVED FIXED
Product: Tomcat 8
Classification: Unclassified
Component: Catalina
8.0.8
PC All
: P2 minor (vote)
: ----
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2014-06-06 16:14 UTC by Konstantin Kolinko
Modified: 2014-06-11 17:36 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kolinko 2014-06-06 16:14:38 UTC
In WebdavServlet.doPropfind() method that handles PROPFIND requests there are two resp.sendError() method calls that are not followed by "return;".

It should not cause a visible error, but just some wasted work that generates response that is never sent to the client.
Comment 1 Konstantin Kolinko 2014-06-06 16:36:18 UTC
Fixed in Tomcat 8 and Tomcat 7 (r1600955, r1600956)
and will be in 8.0.9, 7.0.55 onwards.

Proposed for Tomcat 6.
Comment 2 Konstantin Kolinko 2014-06-11 17:36:24 UTC
Fixed in Tomcat 6 (r1601968), will be in 6.0.42 onwards.