Skip to content

DDS: fix crashes and add tests#3625

Merged
lgritz merged 1 commit intoAcademySoftwareFoundation:masterfrom
lgritz:lg-dds
Oct 23, 2022
Merged

DDS: fix crashes and add tests#3625
lgritz merged 1 commit intoAcademySoftwareFoundation:masterfrom
lgritz:lg-dds

Conversation

@lgritz
Copy link
Copy Markdown
Collaborator

@lgritz lgritz commented Oct 22, 2022

  • In the case of DDS cubemap files where a cube face was not present, we were filling m_buf with 0's before allocating it.

  • Add check for invalid bits per pixel.

  • Add regression test for another bug that was previously fixed in 2.4.3.

* In the case of DDS cubemap files where a cube face was not present,
  we were filling m_buf with 0 bytes before allocating it.

* Add check for invalid bits per pixel.

* Add regression test for another bug that was perviously fixed in
  2.4.3.
@lgritz lgritz merged commit e44400f into AcademySoftwareFoundation:master Oct 23, 2022
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Oct 23, 2022
* In the case of DDS cubemap files where a cube face was not present,
  we were filling m_buf with 0 bytes before allocating it.

* Add check for invalid bits per pixel.

* Add regression test for another bug that was perviously fixed in
  2.4.3.
@lgritz lgritz deleted the lg-dds branch October 23, 2022 21:01
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