diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-01-06 18:08:40 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-01-07 13:15:17 +0300 |
commit | bef2412ca253a9d3d63fc713e03997104d350f50 (patch) | |
tree | 77967e78f9db9c9d900c22996701f8ec62f3b903 /intern/cycles/util | |
parent | 29e33cfff5b6e9d2e83ae5fdb2372163fe251817 (diff) |
Fix T86952: Buffer overflow reading specific DDS images
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.
Differential Revision: https://developer.blender.org/D13755
Diffstat (limited to 'intern/cycles/util')
0 files changed, 0 insertions, 0 deletions