Skip to content

fix(dds): propagate failed pixel reads - #5402

Merged
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-dds
Aug 15, 2026
Merged

fix(dds): propagate failed pixel reads#5402
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-dds

Conversation

@lgritz

@lgritz lgritz commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

read_native_scanline() and read_native_tile() called readimg_scanlines() and readimg_tiles() but ignored their return values, so a failed or short decode was copied out of m_buf as if it had succeeded. Check the returns and fail the read instead.

Assisted-by: GitHub Copilot / Claude Opus 4.8

read_native_scanline() and read_native_tile() called readimg_scanlines()
and readimg_tiles() but ignored their return values, so a failed or short
decode was copied out of m_buf as if it had succeeded. Check the returns
and fail the read instead.

Assisted-by: GitHub Copilot / Claude Opus 4.8

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz
lgritz merged commit f624051 into AcademySoftwareFoundation:main Aug 15, 2026
30 checks passed
@lgritz
lgritz deleted the lg-dds branch August 15, 2026 17:47
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