Blender Git Commit Log

Git Commits -> Revision be11603

Revision be11603 by Bastien Montagne (master)
September 16, 2020, 12:39 (GMT)
Fix (unreported) buffer overflow in Cycles' 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. Found while investigating T80657.

Commit Details:

Full Hash: be11603dc224345a1b75e8cdf7b0c5396db0d94d
Parent Commit: f14995a
Lines Changed: +1, -1

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020