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

Fix zipFiler crash on dirs with subdirs #75

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

Conversation

taleinat
Copy link

@taleinat taleinat commented May 2, 2020

This happens since nodes for directories don't have their "file" field initialized.

New test case reproducing the error is included.

This happens since nodes for directories don't have
their "file" field initialized.

Signed-off-by: Tal Einat <[email protected]>
@taleinat taleinat force-pushed the fix-zipfiler-subdirs-crash branch from 3032061 to 6872afa Compare May 2, 2020 22:11
@mcuadros
Copy link
Contributor

mcuadros commented Jun 1, 2020

@taleinat will be great if you can submit your PR to https://github.com/go-enry/go-license-detector, we moved the project.

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.

None yet

2 participants