Blender Git Loki

Git Commits -> Revision 7c86438

Revision 7c86438 by Sergey Sharybin (master)
February 15, 2021, 09:30 (GMT)
Fix T71960: Malformed .bmp files lead to crash

Add a boundary check, avoiding access past actual data.

Ideally would need to report error to the user somehow,
but it doesn't seem to be easy to do.

This is a minimal safe patch. The proper complete fix is
being worked on by Jesse.

Differential Revision: https://developer.blender.org/D10357

Commit Details:

Full Hash: 7c864388fc0de1e92b8ad9394966d38ffea17daf
Parent Commit: 2d3b29d
Lines Changed: +18, -3

1 Modified Path:

/source/blender/imbuf/intern/bmp.c (+18, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021