Memory corruption due to buffer copy without checking size of input while running memory sharing tests with large scattered memory.
CWE-120, CWE-120