Closed ben-sedg closed 3 years ago
Replace all memcpy calls with memmove. memcpy is unsafe in calls where memory may overlap. The safe alternative are the same calls with memmove.
The buffers never overlap if you look at where and how memcpy calls are made.
Replace all memcpy calls with memmove. memcpy is unsafe in calls where memory may overlap. The safe alternative are the same calls with memmove.