From d7b33cd8c881b9a4c13eef9b6bd6192a56710f78 Mon Sep 17 00:00:00 2001 From: Joseph Eagar Date: Wed, 31 Aug 2022 10:19:34 -0700 Subject: Sculpt: Fix T100479: Memory corruption in sculpt_boundary_edit_data_init --- source/blender/editors/sculpt_paint/sculpt_boundary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint') diff --git a/source/blender/editors/sculpt_paint/sculpt_boundary.c b/source/blender/editors/sculpt_paint/sculpt_boundary.c index 8d08c338b93..93da767e3c5 100644 --- a/source/blender/editors/sculpt_paint/sculpt_boundary.c +++ b/source/blender/editors/sculpt_paint/sculpt_boundary.c @@ -423,7 +423,7 @@ static void sculpt_boundary_edit_data_init(SculptSession *ss, /* Copy the new vertices to the queue to be processed in the next iteration. */ while (!BLI_gsqueue_is_empty(next_iteration)) { - int next_v; + PBVHVertRef next_v; BLI_gsqueue_pop(next_iteration, &next_v); BLI_gsqueue_push(current_iteration, &next_v); } -- cgit v1.2.3