Bugfix #21212: Segfault when object.add_vertex_to_group() called with invalid vertex...
authorJoshua Leung <aligorith@gmail.com>
Mon, 5 Apr 2010 07:16:22 +0000 (07:16 +0000)
committerJoshua Leung <aligorith@gmail.com>
Mon, 5 Apr 2010 07:16:22 +0000 (07:16 +0000)
commit8599c4507b58b2946135df91c688110e15d40404
tree3bb172b6bf984b8d403c94d6f07a277f291b442d
parent747b98582482bb447cad03bc9ffc52a1c50440e2
Bugfix #21212: Segfault when object.add_vertex_to_group() called with invalid vertex index

Safety checks are now performed before indexing into the dvert array obtained.
source/blender/editors/object/object_vgroup.c