#6189 assign with operator= a '\0' to a std::string is not an error