Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE when handling corrupt jar files #38

Open
abn opened this issue Sep 22, 2014 · 0 comments
Open

NPE when handling corrupt jar files #38

abn opened this issue Sep 22, 2014 · 0 comments
Assignees
Milestone

Comments

@abn
Copy link
Member

abn commented Sep 22, 2014

While handling a corrupt jar file, the following stack trace was dumped:

Caused by: java.util.zip.ZipException: invalid distance too far back
         at 
java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
         at java.util.zip.ZipInputStream.read(ZipInputStream.java:193)
         at java.util.jar.JarInputStream.read(JarInputStream.java:207)
         at 
com.redhat.victims.fingerprint.JarFile.getNextFile(JarFile.java:214)
         at com.redhat.victims.fingerprint.JarFile.<init>(JarFile.java:149)

The victims lib should be more robust and provide better error/debug information in the scenarios.

@abn abn self-assigned this Sep 22, 2014
@abn abn added this to the 1.3.3 milestone Sep 22, 2014
@abn abn assigned sidhax and unassigned abn Oct 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants