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

Solved the problem of can't analysis a series file #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PointerWild
Copy link

When someone put a series flie path into a ArrayList , and then analysis those files with the code " PEParser.parse(arrayList.get(i))" in a for-loop , there will be some error sometime . This is because a code " dd.getLength() " is much biger then what the byte[]("byte[] certificate = new byte[dd.getLength() - 8];") should be . And in this kind of situation,we can't catch the exception.

When someone put a series flie path into a ArrayList , and then analysis those files with the code " PEParser.parse(arrayList.get(i))" in a for-loop , there will be some error  sometime . This is because a code " dd.getLength() " is much biger then what the byte[]("byte[] certificate = new byte[dd.getLength() - 8];")  should be . And in this kind of situation,we can't catch the exception.
@kichik
Copy link
Owner

kichik commented Oct 20, 2018

Is that what other parts of the code do too? Leave "error" behind?

Do you know why it failed in the first place?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants