https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100146
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- It's std::from_chars which incorrectly allocates. It uses strtod which requires a null-terminated string.
redi at gcc dot gnu.org via Gcc-bugs Mon, 19 Apr 2021 04:15:48 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100146
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- It's std::from_chars which incorrectly allocates. It uses strtod which requires a null-terminated string.