diff options
author | Jesse Yurkovich <jesse.y@gmail.com> | 2022-01-12 07:48:32 +0300 |
---|---|---|
committer | Jesse Yurkovich <jesse.y@gmail.com> | 2022-01-12 07:48:32 +0300 |
commit | 77616082f44da5258faf9ec0d53618c721b88c62 (patch) | |
tree | 9e8aa9f97de74cb71b1a0e98a03695088049d26e /.clang-format | |
parent | 0dc309bef636e4da8ee3dad97eb8b27562138701 (diff) |
Fix T89542: Crash when loading certain .hdr files
The direct cause of the bug in question was passing in the raw memory
buffer to sscanf. It should be called with a null-terminated buffer;
which isn't guaranteed when blindly trusting the file data.
When attempting to fuzz this code path, a variety of other crashes were
discovered and fixed.
Differential Revision: https://developer.blender.org/D11952
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions