Blender Git Commit Log

Git Commits -> Revision 12168cc

Revision 12168cc by Campbell Barton (master)
November 11, 2020, 03:41 (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: 12168ccf189df580b3a2ffd95bcc31a51c7d86a3
Parent Commit: 8953485
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