vectorgrp / sil-kit

Vector SIL Kit – Open-Source Library for Connecting Software-in-the-Loop Environments
https://vectorgrp.github.io/sil-kit-docs
MIT License
107 stars 32 forks source link

Fix double free reported on Fedora 40 #105

Closed VJanKraemer closed 2 months ago

VJanKraemer commented 2 months ago

description

Running the tests under Fedora 40 revealed a double free (confirmed by valgrind) with the initializer_list arg for optional_decode_deprecated_alternative This commit changes the arg to an std::array, which should behave equal to the initializer_list without the syntactic sugar.

MariusBgm commented 2 months ago

Could not be reproduced after Fedora update.