diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-01-07 19:32:58 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-01-08 17:22:58 +0300 |
commit | 2d3f96cace6d63dbf15544dbe8a9a4fa912f6d6d (patch) | |
tree | 1bf93bc7f2c7f452009d93f40717a768776df62d /source/blender/editors/scene | |
parent | c549d736cff0d5013f05fb5240ef07671c5aa5ce (diff) |
Fix T84453: Crash bezier curves transfrom
The pointer allocated to the `TransData` was being incorrectly incremented,
causing misalignment and consequently `heap-buffer-overflow`.
Because of this, `TD_NOTCONNECTED` was being set in a strange way that did
not correspond to other types of `TransData`.
The solution is to not increment the `TransData` pointer and set
`TD_NOTCONNECTED` only for "unconnected" segments.
The code was also a bit deduplicated.
Diffstat (limited to 'source/blender/editors/scene')
0 files changed, 0 insertions, 0 deletions