Bug 620996
Summary: | upgrade to tomcat5-5.5.23-0jpp.9.el5_5 causes StackOverflowError | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Bryan Maupin <bmaupin> | ||||
Component: | tomcat5 | Assignee: | David Knox <dknox> | ||||
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 5.5.z | CC: | azelinka, bmaupin, jclere, jscotka, ofourdan, paul.deaudney, superber, syeghiay, tao | ||||
Target Milestone: | rc | Keywords: | ZStream | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | tomcat5-5_5_23-0jpp_11_el5_5 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-01-14 00:09:18 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 623254 | ||||||
Attachments: |
|
Description
Bryan Maupin
2010-08-03 22:36:18 UTC
Same here, with Sun Java 1.5 I believe "RHSA-2010:0580 - Security Advisory" specifically (CVE-2009-2693, CVE-2009-2902) to be cause of this. The patch tomcat5-5.5.23-CVE-2009-2693-2901-2902.patch appears to be source of the brokenness. The patch applies to the tomcat5-server-lib-5.5.23-0jpp.9.el5_5 package. This is the ExpandWar.delete(...) method after applying patch. Bring on the loop. /** * * Delete the specified directory, including all of its contents and * * subdirectories recursively. * * * * @param dir File object representing the directory to be deleted * * @param logFailure <code>true</code? if failure to delete the resource * * should be logged * */ public static boolean delete(File dir, boolean logFailure) { boolean result; if (dir.isDirectory()) { result = delete(dir, logFailure); <-------- FIX ME RED HAT! } else { if(dir.exists()) { result = dir.delete(); } else { result = true; } } if (logFailure && !result) { log.error(sm.getString( "expandWar.deleteFailed", dir.getAbsolutePath())); } return result; } Can we get an ETA on the fix for this? An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0138.html |