Skip to content

fix: promote HEIC decoded-plane guard for Windows retest - #57

Open
McanKul wants to merge 3 commits into
mainfrom
development
Open

fix: promote HEIC decoded-plane guard for Windows retest#57
McanKul wants to merge 3 commits into
mainfrom
development

Conversation

@McanKul

@McanKul McanKul commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

Promotes the HEIC decoded-plane safety guard from #56 to main. The decoder now refuses the copy when the decoded plane dimensions or layout do not match the allocated output buffer.

This PR contains only the HEIC changes from development; #54 and #55 are not included.

Verification plan

Privacy

The change remains fully offline and does not transmit user files.

nonamexishere and others added 3 commits August 25, 2026 04:01
After heif_decode_image, compare interleaved plane width/height to the
handle before any copy. Mismatched grid/irot layouts return INVALID_IMAGE
instead of reading off the plane (Windows 0xc0000005). Fixes #14.
fix: refuse HEIC plane copy when decode size mismatches handle (#14)
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