Skip to content

Version 3.0.0

Mateo de Mayo requested to merge mateosss/vit-has-fix into main

While the C++ standard guarantees struct member ordering in memory; it does not give any guarantee on padding. Therefore the previous vit_tracker_extension_set cannot be easily indexed in a safe manner. Previous implementations were assuming that padding was minimal and that the struct behaved as an array of bools, which is the most common case but not guaranteed. This version changes the struct to explicitly contain an array of bools.

cc @bl4ckb0ne @rpavlik

Merge request reports

Loading