Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDS: fix crashes and add tests #3625

Merged
merged 1 commit into from Oct 23, 2022

Conversation

lgritz
Copy link
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.

None yet

1 participant