Skip to content

Raise an error if the trailer chain loops back on itself#9519

Merged
radarhere merged 1 commit intopython-pillow:mainfrom
hugovk:trailer_loop
Mar 31, 2026
Merged

Raise an error if the trailer chain loops back on itself#9519
radarhere merged 1 commit intopython-pillow:mainfrom
hugovk:trailer_loop

Conversation

@hugovk
Copy link
Copy Markdown
Member

@hugovk hugovk commented Mar 31, 2026

The test file from the issue has a trailer that references itself. I've instead created a test file where trailer A references trailer B which references trailer A again.

@hugovk hugovk added this to the 12.2.0 milestone Mar 31, 2026
@radarhere radarhere merged commit 3bf614e into python-pillow:main Mar 31, 2026
57 checks passed
@hugovk hugovk deleted the trailer_loop branch April 1, 2026 03:28
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.

2 participants