diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-11 06:08:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-11 06:41:04 +0300 |
commit | 12168ccf189df580b3a2ffd95bcc31a51c7d86a3 (patch) | |
tree | cc0895a669ecf876531324c215c1cc08268326f3 /source/blender/imbuf/intern/bmp.c | |
parent | 8953485f5612f6ddf1ce7be2320b349383caefdd (diff) |
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.
Diffstat (limited to 'source/blender/imbuf/intern/bmp.c')
0 files changed, 0 insertions, 0 deletions