microsoft / DirectXTex

DirectXTex texture processing library
https://walbourn.github.io/directxtex/
MIT License
1.74k stars 426 forks source link

Fix for HDR codec to avoid buffer overread for some malformed files #471

Closed walbourn closed 2 months ago

walbourn commented 2 months ago

Fixed an issue when decoding the HDR text header if there is no ending \n present.

walbourn commented 2 months ago

Test suite updates here: https://github.com/walbourn/directxtextest/commit/56d74f1c27d03744538285aa8bcd5ac4d8fc972e