Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

buffer overflow


ghost's Avatar
0 0

is this good?

main()
{
char a[1];
a = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaa";
}

ghost's Avatar
0 0

yeah thatd buffer overflow the variable a :)

but change a="aaaaaaaaaaaaaa…a"; to strcpy(a,"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA");