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

deflateCopy(): Fix allocation and copying of pending_buf in LIT_MEM mode #900

Closed
wants to merge 1 commit into from

Conversation

zmodem
Copy link
Contributor

@zmodem zmodem commented Dec 20, 2023

We noticed in internal testing that the state didn't get copied correctly (see https://crbug.com/1513368).

@madler
Copy link
Owner

madler commented Dec 20, 2023

Thanks for catching that! Fixed.

@madler madler closed this Dec 20, 2023
aarongable pushed a commit to chromium/chromium that referenced this pull request Dec 21, 2023
This applies the fix from madler/zlib#900 and
adds a test.

Bug: 1513368
Change-Id: I38025c66e1ef2420c726406ddefe6c728bdb6458
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5139141
Commit-Queue: Adenilson Cavalcanti <[email protected]>
Auto-Submit: Hans Wennborg <[email protected]>
Reviewed-by: Adenilson Cavalcanti <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1239920}
jrguzman-ms pushed a commit to msft-mirror-aosp/platform.external.zlib that referenced this pull request Dec 21, 2023
This applies the fix from madler/zlib#900 and
adds a test.

Bug: 1513368
Change-Id: I38025c66e1ef2420c726406ddefe6c728bdb6458
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5139141
Commit-Queue: Adenilson Cavalcanti <[email protected]>
Auto-Submit: Hans Wennborg <[email protected]>
Reviewed-by: Adenilson Cavalcanti <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1239920}
NOKEYCHECK=True
GitOrigin-RevId: 5672e5e75c159ba1742f8cfd784d294cff21c597
@Neustradamus
Copy link

Merged commit:

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.

3 participants