Closed c--- closed 2 years ago
strncpy() can not use overlapped memory regions and generates corrupted data with certain inputs. Changed to memmove. Verified with fuzzing against std::string::erase.
strncpy() can not use overlapped memory regions and generates corrupted data with certain inputs. Changed to memmove. Verified with fuzzing against std::string::erase.