Blender Git Commit Log

Git Commits -> Revision 3014601

Revision 3014601 by Luca Rood (surface-deform-modifier)
January 3, 2017, 21:22 (GMT)
Fix out of bounds memory access in interp_weights_face_v3

interp_weights_face_v3 required a length four array for weights even when
calculating weights for a tri, otherwise, it would access unkown memory.
This fix allows a weight array of size three to be passed when only
calculating tri weights.

Commit Details:

Full Hash: 3014601f3be875496b7297954c48462a8a1a9ece
Parent Commit: b80971c
Lines Changed: +2, -1

1 Modified Path:

/source/blender/blenlib/intern/math_geom.c (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021