Bug 56409 - A file called "\" causes StackOverflowError in tldScanResourcePaths during startup
Summary: A file called "\" causes StackOverflowError in tldScanResourcePaths during st...
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Servlet & JSP API (show other bugs)
Version: 7.0.42
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
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.