Bug 56409 - A file called "\" causes StackOverflowError in tldScanResourcePaths during startup
A file called "\" causes StackOverflowError in tldScanResourcePaths during st...
Status: RESOLVED FIXED
Product: Tomcat 7
Classification: Unclassified
Component: Servlet & JSP API
7.0.42
PC Linux
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2014-04-14 16:28 UTC by Conrad Kostecki
Modified: 2014-04-17 15:47 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki 2014-04-14 16:28:20 UTC
at org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.java:366)
at org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.java:398)
at org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.java:398)
at org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.java:398)
at org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.java:398)
(... repeats a lot of times)

Steps to reproduce:
1) Create a file named "\" below WEB-INF in an own folder
2) Start Tomcat7
Comment 1 Mark Thomas 2014-04-17 11:43:19 UTC
For the record a similar issues exists in Tomcat 8. I'll take a look...
Comment 2 Mark Thomas 2014-04-17 15:47:34 UTC
Thanks for the report. This has been fixed in 7.0.x and 8.0.x and will be included in 7.0.54 and 8.0.6 onwards.