What is a buffer overflow and how do I cause one?

前端 未结 12 1922
盖世英雄少女心
盖世英雄少女心 2020-11-30 00:43

I have heard about a buffer overflow and I would like to know how to cause one.

Can someone show me a small buffer overflow example? New(And what they are used for?)

12条回答
  •  情深已故
    2020-11-30 01:27

    If you want to check you program for buffer overflows, you could run it with tools like Valgrind. They will find some memory management bugs for you.

提交回复
热议问题