Skip to content

Fix loop count logic - #2786

Merged
197g merged 2 commits into
mainfrom
issue-2738-loop-count-panic
Feb 25, 2026
Merged

197g merged 2 commits into
mainfrom
issue-2738-loop-count-panic

Conversation

@197g

@197g 197g commented Feb 25, 2026

Copy link
Copy Markdown
Member

This avoids a few unwrap paths, in particular an incorrect assumption in gif that was not NonZero internally (unlike WebP) and slipped by review.

Closes: #2783

Marked for backport since it'll contain the LoopCount PR itself.

This avoids a few unwrap paths, in particular an incorrect assumption in
gif that was not NonZero internally (unlike WebP) and slipped by review.
@197g
197g force-pushed the issue-2738-loop-count-panic branch from 6e6eb1f to c4a008a Compare February 25, 2026 21:21
@197g
197g force-pushed the issue-2738-loop-count-panic branch from c4a008a to 2335f47 Compare February 25, 2026 21:30
@197g
197g merged commit 0db0c13 into main Feb 25, 2026
32 checks passed
@197g
197g deleted the issue-2738-loop-count-panic branch February 25, 2026 21:39
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Release 0.25.* Feb 25, 2026
@197g 197g moved this from Done to Backlog in Release 0.25.* Mar 1, 2026
@197g 197g moved this from Backlog to Backported in Release 0.25.* Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backported

Development

Successfully merging this pull request may close these issues.

Vulnerability Report: Panic in GIF loop_count() on zero repeat count leads to DoS

2 participants