Stack Smashing
{1} Weakness: Buffer Overflow Protection
"The demon provides a long string that causes the procedure to
write past the end of the buffer. The demon replaces the
procedure's return address with the address of code written by the
demon"
Examples:
char buf[20]; char b[32];
gets(buf); strncpy(b, d, strlen(d));
Card Comments