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

gzip struct not reading past the 1st member #705

Open
ddeschenes-1 opened this issue Nov 22, 2024 · 0 comments
Open

gzip struct not reading past the 1st member #705

ddeschenes-1 opened this issue Nov 22, 2024 · 0 comments

Comments

@ddeschenes-1
Copy link

The gzip format allows many gzip members concatenated.
The struct file is not supporting that repetition.
It erroneously defines the compressed body until 8 bytes from the end.
This corrupts the body to include bytes that fails the deflate stream.

There is a catch when attempting fix this: the gzip format does not declare length as a prefix nor a suffix.
the compressed payload ends by understanding the inside of the deflate stream.
This is mentioned in issue #396 too.

So, this repeated gzip member issue depends on how the deflate stream can be handled (probably by a 'process').

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

No branches or pull requests

1 participant