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

Fix "pendingBuf overflow" assert in LIT_MEM mode #898

Closed
wants to merge 1 commit into from

Conversation

zmodem
Copy link
Contributor

@zmodem zmodem commented Dec 15, 2023

Since each element in s->d_buf is 2 bytes, the sx index should be multiplied by 2 in the assert.

Fixes #897

Since each element in s->d_buf is 2 bytes, the sx index should be
multiplied by 2 in the assert.

Fixes madler#897
@madler madler closed this Dec 15, 2023
aarongable pushed a commit to chromium/chromium that referenced this pull request Dec 18, 2023
This fixes an incorrect assertion, see
madler/zlib#897

The PR has been accepted upstream, but isn't published as part of the
'develop' branch yet.

Bug: 1511987
Change-Id: Icedb1ff619acec63d655b54bb65d25918b7e240a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5131006
Reviewed-by: Nico Weber <thakis@chromium.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1238580}
jrguzman-ms pushed a commit to msft-mirror-aosp/platform.external.zlib that referenced this pull request Dec 19, 2023
This fixes an incorrect assertion, see
madler/zlib#897

The PR has been accepted upstream, but isn't published as part of the
'develop' branch yet.

Bug: 1511987
Change-Id: Icedb1ff619acec63d655b54bb65d25918b7e240a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5131006
Reviewed-by: Nico Weber <thakis@chromium.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1238580}
NOKEYCHECK=True
GitOrigin-RevId: 1742eed8819e3862dcb4a618be1dca482908f365
@Neustradamus
Copy link

@madler: I think that some commits are missing since 2023-11-15, can you push it?
Thanks in advance.

@zmodem Issue: #897

@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.

"pendingBuf overflow" assert when building with the LIT_MEM define
3 participants