mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-08 20:00:17 +02:00
Turns out casting a vector of data to a string is a bad idea, who knew?! This bug was exposed by the rpmalloc PR because the `/run/host/container-manager` file isn't null terminated. So the cast fextl::string through std::vector::data had the /potential/ to not be null terminated. This was just a bug hiding in the code, convert it over to use fextl::string directly and avoid the entire dance. Fixes #5236