Small Buffer
•
What if the buffer is really small? How do
you exploit that?
•
–
// overflow2.c
–
int main(int argc, char * argv[]) {
–
char buff[5];
–
strcpy(buff, argv[1]);
–
return 0;
–
}