Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2020-07-30 15:19:39 +0300
committerBastien Montagne <bastien@blender.org>2020-07-30 15:26:44 +0300
commit9cac158e962f1da656edbd92a951444e012e2a08 (patch)
treedc443fe0d16fa35599c981b3fc0c9e36eaba443f /build_files
parent4251a87bf60eece32ae9ff7a7c481f029a1d2d84 (diff)
Fix T78730: CLOG writes/reads outside allocated memory.
Fix several issues in CLOG code: * In `clg_str_reserve`, allocated memory may be bigger than requested one, do not assign the latter back to `cstr->len_alloc`. * `clg_str_vappendf` was mis-interpreting returned value from `vsnprintf`, and completely mixing total allocated memory and extra needed amount of memory to allocate... Simplified code of `clg_str_vappendf` to only have allocating code handled in one place, makes things easier to follow too. Think this should also be beckported to 2.83.
Diffstat (limited to 'build_files')
0 files changed, 0 insertions, 0 deletions