How does the stack smashing attack work