Skip to content

Commit b767142

Browse files
committed
fix: added pre-processing for null brands and fixed out of bounds error
1 parent 6e2ceb7 commit b767142

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vmaware.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4472,9 +4472,8 @@ struct VM {
44724472
// run all the techniques
44734473
const u16 score = core::run_all(flags);
44744474

4475-
brand_list_t active_brands = {};
4475+
brand_array_t active_brands = {};
44764476
brand_list_t brand_return = {};
4477-
active_brands.reserve(MAX_BRANDS);
44784477
brand_return.reserve(MAX_BRANDS);
44794478

44804479
size_t active_count = 0;

0 commit comments

Comments
 (0)