Files
nix/tests/unit/libutil-support
Las Safin 5b6a21acc5 Avoid casting function pointer in libutil test support
Casting function pointers seems to be almost always UB.
See https://stackoverflow.com/questions/559581/casting-a-function-pointer-to-another-type

Fixed by doing the casting of `void*` to `std::string*` inside the function instead.

Caught by UBSan.
2024-07-16 22:01:34 +00:00
..
2024-07-02 09:26:22 -04:00
2024-07-02 09:26:22 -04:00
2024-07-02 09:26:22 -04:00
2024-07-06 17:52:57 +02:00