IBM interview question

Explain how a buffer overflow works.