Skip to content

When a "Malicious entry" is found the zip file is locked until process is killed #94

@davepreston

Description

@davepreston

I have a zip file that is being flagged as a "Malicious entry". That part is fine and throws an exception as expected, but then I'm getting stuck.
If I do nothing then the zip file is locked and can't be touched until the process is killed (bad in my case because I'm trying to move on to the next file and don't want leftover files - I'm reusing zip filenames so it halts processing).
If I try to call the zip.close() function it throws the "Malicious entry" error again and kills the process.

I'm using the async api. I haven't tried switching to the callback API, but I could try that if you think that may resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions