mirror of
https://github.com/Karmaz95/Snake_Apple.git
synced 2026-05-29 17:29:29 +02:00
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
int main() {
|
||||
char buffer[10];
|
||||
strcpy(buffer, "Hello, World!"); // Vulnerable operation
|
||||
printf("You entered: %s\n", buffer);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user