Repository navigation
ext/gd: fix undefined behavior with GIFs with problematic LZW compression data - #23954
Merged
Merged
Conversation
Member
Author
|
This is only needed for PHP 8.4 and 8.5, 8.6 included the fix as part of #22532 Without this fix, |
devnexen
approved these changes
Sep 28, 2026
DanielEScherzer
force-pushed
the
gif-oob-read
branch
from
September 28, 2026 23:35
7af33c8 to
1bff46e
Compare
Member
Author
|
@vapier as the original author of the fix, I've included your GitHub username in the credits in the NEWS entry:
please let me know if you would like to be credited under a different name |
|
I'm fairly indifferent. thanks for checking. |
DanielEScherzer
force-pushed
the
gif-oob-read
branch
from
September 29, 2026 19:43
1bff46e to
6f601ce
Compare
…sion data Apply the changes from libgd/libgd@9fa3abd in order to fix undefined behavior from out-of-bounds reads when creating a GIF with problematic LZW compression data.
DanielEScherzer
force-pushed
the
gif-oob-read
branch
from
September 30, 2026 00:54
6f601ce to
c8d62b8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Apply the changes from libgd/libgd@9fa3abd in order to fix undefined behavior from out-of-bounds reads when creating a GIF with problematic LZW compression data.