blob: 8a70430414b7ecf0c3d6ab389fea8eed930b4561 [file] [log] [blame]
/* memcpy() source too short */
#include <stdlib.h>
#include <string.h>
int main()
{
char *ptr;
char buffer[500];
ptr = malloc(20);
memcpy(buffer, ptr, 30);
return 0;
}