You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flecs is invoking undefined behaviour by casting function pointers with reinterpret_cast in many functions of flecs::opaque and then calling them with the wrong signature:
Caught using -fsanitize=undefined under clang.
The fix seems more complicated than #1416 because we need to somehow pass a function pointer that would call the other function pointer, or find some other trick.
The text was updated successfully, but these errors were encountered:
Flecs is invoking undefined behaviour by casting function pointers with
reinterpret_cast
in many functions offlecs::opaque
and then calling them with the wrong signature:flecs/include/flecs/addons/cpp/mixins/meta/opaque.hpp
Lines 46 to 51 in de8b378
Caught using
-fsanitize=undefined
underclang
.The fix seems more complicated than #1416 because we need to somehow pass a function pointer that would call the other function pointer, or find some other trick.
The text was updated successfully, but these errors were encountered: