Eduardo Arias 30a68de92d Creating a std::string with a null pointer is undefined behaviour.
- cppreference mentions this about the constructor that receives a
  const char *:
  - Constructs the string with the contents initialized with a copy of
    the null-terminated character string pointed to by s. The length of
    the string is determined by the first null character. The behavior
    is undefined if [s, s + Traits::length(s)) is not a valid range
    (for example, if s is a null pointer).
- C++23 introduces a deleted constructor to prevent this in static
  scenarios, which is how this issue was detected.
2024-08-08 11:39:37 -07:00
..
2022-01-20 14:04:30 -08:00
2021-02-04 11:07:22 -03:00
2021-02-04 11:07:22 -03:00
2022-09-15 16:27:25 -07:00
2021-01-19 09:24:37 -03:00