Blender Git Commit Log
Git Commits -> Revision 5b08cba
Revision 5b08cba by Jesse Yurkovich (master) April 13, 2021, 11:13 (GMT) |
Fix T71960: Malformed .bmp files lead to crash Adds appropriate checks/guards around all the untrusted parameters which are used for reading from memory. Validation: - All the crashing files within the bug have been checked to not causes crashes any longer> - A handful of correct .bmp were validated: 3 different files at each of 1, 4, 8, 24, 32 bpp depth along with a random variety of other 24 bpp files (around 20 in total). - ~280 million iterations of fuzzing using AFL were completed with 0 crashes. The old code experienced several dozen crashes in first minutes of running {F8584509}. Ref D7945 |
Commit Details:
Full Hash: 5b08cbae513ee41bdc4544cd92ac6d6a0e68683f
Parent Commit: c50d55d
Committed By: Campbell Barton
Lines Changed: +31, -34
1 Modified Path:
/source/blender/imbuf/intern/bmp.c (+31, -34) (Diff)