diff options
author | Bastien Montagne <bastien@blender.org> | 2020-09-16 16:02:02 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-09-16 16:04:19 +0300 |
commit | fa2ef64d961959e46d35ff11d50cfc8f7bdf484a (patch) | |
tree | cf29d92ad7ff9a8bed832eaceca2cb7b8d664584 /source/blender/draw | |
parent | d067c13a9d07c7b2d21aa75a93d95d42e0609aa0 (diff) |
Fix (unreported) buffer overflow in BLI_system_cpu_brand_string helper.
Since this buffer is used as an array of 12 32bits integers, and C++
string expect a NULL-terminated C-string, we need an extra char to
ensure last one is always NULL.
See D8906. Thanks to @brecht for noting this one too.
Diffstat (limited to 'source/blender/draw')
0 files changed, 0 insertions, 0 deletions