Skip to content

Avoid negative shift of signed integer in hdr_alpha_unpack()#614

Merged
solidpixel merged 2 commits intomainfrom
issue_608
May 7, 2026
Merged

Avoid negative shift of signed integer in hdr_alpha_unpack()#614
solidpixel merged 2 commits intomainfrom
issue_608

Conversation

@solidpixel
Copy link
Copy Markdown
Contributor

@solidpixel solidpixel commented May 7, 2026

No functional change in practice, just a semantic change to keep UBSAN happy.

Fixes #608.

@solidpixel solidpixel merged commit 0c324ff into main May 7, 2026
9 checks passed
@solidpixel solidpixel deleted the issue_608 branch May 7, 2026 15:55
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.

UBSAN failure due to left shift of negative value

1 participant