2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-04 11:55:53 +00:00
Lioncash 91ff474c44 hecl/hecl: Handle bounded strings within CaseInsensitiveCompare
std::string_view instances aren't guaranteed to be null-terminated, so
we shouldn't be treating them as if they are in these functions, and
should instead use a bounded comparison based off their sizes.

This way we prevent an edge-case from ever becoming a problem and also
remove an ifdef, making the code uniform across all implementations.
2019-08-15 01:21:04 -04:00
Description
Data interchange, editor suite, and runtime re-implementations for games by Retro Studios
MIT 53 MiB
Languages
C++ 94.2%
C 4.5%
CMake 1.2%