Skip to content

Decompressing a gz file without an archive error #28

Description

@Niddrym

When trying to extract a log file that is just gzipped, but not tar'd I get the following error:

memory access out of bounds RuntimeError: memory access out of bounds
at wasm://wasm/00256dce:wasm-function[466]:0x4645c
at ccall (node_modules\libarchive-wasm\dist\libarchive.js:1932:42)
at Object.error_string (node_modules\libarchive-wasm\dist\libarchive.js:1941:36)
at Object.f [as read_new_memory] (node_modules\libarchive-wasm\dist\wrapLibarchiveWasm.js:15:38)
at new ArchiveReader (node_modules\libarchive-wasm\dist\ArchiveReader.js:42:35)

I think this might require the archive_read_support_format_raw from libarchive.

Would it be possible to add the functionality?

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