https://issues.apache.org/bugzilla/show_bug.cgi?id=56253
Bug ID: 56253
Summary: StringIndexOutOfBoundsException in
AbstractArchiveResourceSet.list() method
Product: Tomcat 8
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Created attachment 31384
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31384&action=edit
Simple patch to add needed string length check.
Like in the AbstractArchiveResourceSet.getResource() method, the pathInJar
variable can be an empty string in the list() method too. A length check is
needed for list() the same as for getResource(). Marking as major since this
is needed for the Eclipse Tomcat "Serve modules without publishing" feature to
work with Tomcat 8.
Thanks,
Larry
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]