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: dev@tomcat.apache.org
          Reporter: larry.isa...@sas.com

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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to