From 7827e1b1c7ce3a48840bb9c5d17d3594aa0bfe6b Mon Sep 17 00:00:00 2001 From: Nikita Smith Date: Fri, 18 Oct 2024 11:06:08 -0700 Subject: [PATCH] fix bounds check condition in assert --- src/linker/codeview_ext/codeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linker/codeview_ext/codeview.c b/src/linker/codeview_ext/codeview.c index 9e73e245..2b1501b0 100644 --- a/src/linker/codeview_ext/codeview.c +++ b/src/linker/codeview_ext/codeview.c @@ -1801,7 +1801,7 @@ cv_dedup_symbol_ptr_array(TP_Context *tp, CV_SymbolPtrArray *symbols) } ProfEnd(); - Assert(unique_symbol_count < symbols->count); + Assert(unique_symbol_count <= symbols->count); symbols->count = unique_symbol_count; ProfBeginDynamic("Sort [Count %llu]", symbols->count);