Skip to content

fix(iff): Fix allocation bug when reading 16 bit RGBA + float z#5251

Merged
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-iff
Jun 27, 2026
Merged

fix(iff): Fix allocation bug when reading 16 bit RGBA + float z#5251
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-iff

Conversation

@lgritz

@lgritz lgritz commented Jun 21, 2026

Copy link
Copy Markdown
Collaborator

We were allocating a temporary buffer big enough for the RGBA but neglecting the z. Only for the 16 bit case.

We were allocating a temporary buffer big enough for the RGBA
but neglecting the z. Only for the 16 bit case.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz

lgritz commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator Author

It's been a week without comment, merging this bug fix.

@lgritz lgritz merged commit f01bd16 into AcademySoftwareFoundation:main Jun 27, 2026
28 checks passed
@lgritz lgritz deleted the lg-iff branch June 27, 2026 14:52
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Jun 30, 2026
…emySoftwareFoundation#5251)

We were allocating a temporary buffer big enough for the RGBA but
neglecting the z. Only for the 16 bit case.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
lgritz added a commit that referenced this pull request Jul 1, 2026
We were allocating a temporary buffer big enough for the RGBA but
neglecting the z. Only for the 16 bit case.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
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.

1 participant