#include <stdio.h>
#include <string.h>
void insecure_function(char *input) {
char buffer[10];
strcpy(buffer, input);
printf("Entered: %s\n", buffer);
}
int main() {
char data[50];
scanf("%s", data);
insecure_function(data);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KCnZvaWQgaW5zZWN1cmVfZnVuY3Rpb24oY2hhciAqaW5wdXQpIHsKICAgIGNoYXIgYnVmZmVyWzEwXTsKICAgIHN0cmNweShidWZmZXIsIGlucHV0KTsKICAgIHByaW50ZigiRW50ZXJlZDogJXNcbiIsIGJ1ZmZlcik7Cn0KCmludCBtYWluKCkgewogICAgY2hhciBkYXRhWzUwXTsKICAgIHNjYW5mKCIlcyIsIGRhdGEpOwogICAgaW5zZWN1cmVfZnVuY3Rpb24oZGF0YSk7CiAgICByZXR1cm4gMDsKfQ==