This was why I recommended std::string.Originally Posted by Daved
A buffer overrun error (writing beyond the end of an array) is one of the worst bugs you can have; it's far more serious than a memory leak from a security point of view. A buffer overrun error with user-submitted data is a powerful method for a malware programmer to execute arbitrary code.