Blender Git Commit Log

Git Commits -> Revision 15ffda3

Revision 15ffda3 by Campbell Barton (master)
November 11, 2020, 05:14 (GMT)
Fix T82602: checking image header reads past buffer bounds

Use the size argument to ensure checking the header doesn't read
past the buffer bounds when reading corrupt/truncated headers
from image files.

Commit Details:

Full Hash: 15ffda3bcd697e6f3a0cc13e141da865f36f3b53
Parent Commit: 2d60845
Lines Changed: +95, -49

14 Modified Paths:

/source/blender/imbuf/intern/bmp.c (+9, -5) (Diff)
/source/blender/imbuf/intern/cineon/cineon_dpx.c (+4, -4) (Diff)
/source/blender/imbuf/intern/cineon/logImageCore.c (+17, -9) (Diff)
/source/blender/imbuf/intern/cineon/logImageCore.h (+2, -2) (Diff)
/source/blender/imbuf/intern/dds/dds_api.cpp (+4, -1) (Diff)
/source/blender/imbuf/intern/iris.c (+4, -1) (Diff)
/source/blender/imbuf/intern/jp2.c (+16, -9) (Diff)
/source/blender/imbuf/intern/jpeg.c (+5, -4) (Diff)
/source/blender/imbuf/intern/oiio/openimageio_api.cpp (+4, -1) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+5, -1) (Diff)
/source/blender/imbuf/intern/png.c (+9, -6) (Diff)
/source/blender/imbuf/intern/radiance_hdr.c (+4, -1) (Diff)
/source/blender/imbuf/intern/targa.c (+8, -4) (Diff)
/source/blender/imbuf/intern/tiff.c (+4, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021