Commit: d7b33cd8c881b9a4c13eef9b6bd6192a56710f78
Author: Joseph Eagar
Date: Wed Aug 31 10:19:34 2022 -0700
Branches: master
https://developer.blender.org/rBd7b33cd8c881b9a4c13eef9b6bd6192a56710f78
Sculpt: Fix T100479: Memory corruption in sculpt_boundary_edit_data_init
===================================================================
M source/blender/editors/sculpt_paint/sculpt_boundary.c
===================================================================
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);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs