JDK-4359618 : Incorrectly chained jar index files cause stack overflow on resource lookup
  • Type: Bug
  • Component: tools
  • Sub-Component: jar
  • Affected Version: 1.3.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2000-08-04
  • Updated: 2001-10-12
  • Resolved: 2000-08-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 betaFixed
Related Reports
Relates :  
Description
It is possible to chain jar files using their index files such that a lookup of 
a resource starting at the root jar would cause the program to hang 
indefinitely. The problem occurs because the lookup of jar files fails to skip 
jar files that have already been searched during the current lookup. This bug 
occurs for jdk1.3 on solaris and win32 (NT)

The attached code illustrates the problem. To run the code,
1. Set the classpath to .:a.jar:b.jar:c.jar
2. java c.A

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin-beta FIXED IN: merlin-beta INTEGRATED IN: merlin-beta VERIFIED IN: merlin-beta3
14-06-2004

EVALUATION Needs to be fixed. naveen.sanjeeva@eng 2000-08-04
04-08-2000