Blender Git Loki
Git Commits -> Revision 384b298
Revision 384b298 by Germano Cavalcante (blender-v2.91-release) January 13, 2021, 14:03 (GMT) |
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. |
Commit Details:
Full Hash: 384b298608187d11c5a1a7520067034418cdd8ea
Parent Commit: 1c9fc4d
Committed By: Jeroen Bakker
Lines Changed: +23, -29
1 Modified Path:
/source/blender/editors/transform/transform_convert_curve.c (+23, -29) (Diff)