I am using netbeans to try to study/understand a buffer overflow.
I am using netbeans to try to study/understand a buffer overflow.
and after running, I want to understand how to mitigate the procedure. I put my code in, and get nothing but errors, no ouput asking, etc
Any help is appreciated.
include <stdio.h>
#include <string.h>
using namespace std;
int main(int argc, char **argv)
{
char text[4];
puts(“Please insert a value (4 chars):”);
gets(text);
printf(“Here is your input: %s\n”, text);
puts(“Close the Window with any key…..”);
getch();
return 0;
}
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
