-
-
Notifications
You must be signed in to change notification settings - Fork 29
Reserve half of the GzState input buffer space for gzprintf. #378
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 6 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
you can cherry-pick c74a62e to fix those CI issues. There are a bunch of |
|
That particular line of zlib-ng is generating an offset relative to the The same used to apply to
So for read operations, which don't get a double-size
|
(cherry picked from commit c74a62e)
folkertdev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent, thanks!
This matches the semantics of zlib-ng: when we allocate a double-sized input buffer in write mode, normal gz write functions are only allowed to write to the front half of the buffer. The remaining space is reserved for gzprintf.