Skip to content

Commit f24dbc4

Browse files
committed
Avoid exceeding the mark stack limit (case 1235202)
1 parent cb87807 commit f24dbc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

external/bdwgc

mono/metadata/boehm-gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ static mse * GC_gcj_vector_proc (word * addr, mse * mark_stack_ptr,
160160
/* end at last element or max chunk size */
161161
word *actual_end = actual_start + length * words_per_element;
162162

163-
return GC_gcj_vector_mark_proc (mark_stack_ptr, element_desc, start, actual_end, words_per_element);
163+
return GC_gcj_vector_mark_proc (mark_stack_ptr, mark_stack_limit, element_desc, start, actual_end, words_per_element);
164164
}
165165

166166
#endif

0 commit comments

Comments
 (0)