Page MenuHome

Fix T86952: Buffer overflow reading specific DDS images
ClosedPublic

Authored by Sergey Sharybin (sergey) on Jan 6 2022, 4:10 PM.

Details

Summary

Add a data boundary check in the flipping code.

This code now also communicates the number of mipmap levels
it processed with an intent to avoid GPU texture from using
more levels than there are in the DDS data.

Diff Detail

Repository
rB Blender
Branch
fix_T86952 (branched from master)
Build Status
Buildable 19807
Build 19807: arc lint + arc unit