Blender Git Commit Log

Git Commits -> Revision 13b02a7

December 2, 2020, 07:32 (GMT)
ImBuf: replace incorrect strstr use with memcmp

Besides being incorrect as only the first two bytes should be tested,
searching binary data using `strstr` can easily read past buffer bounds.

Commit Details:

Full Hash: 13b02a724f440cfab73a51ec2dfe709fd2eec2a1
Parent Commit: 8b59119
Committed By: Jeroen Bakker
Lines Changed: +1, -1

1 Modified Path:

/source/blender/imbuf/intern/radiance_hdr.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021