Global buffer overflow

Artem Smotrakov
6 min readMar 18, 2017

There are a lot of articles, posts, and even books which describe a stack buffer overflow. There are a little less stuff about heap buffer overflows. But there is one more thing which you can overflow — buffers in global memory. Although all of those types of issues are very similar, let me try to fill this little gap with global buffer overflows.

Where do global buffers live?

There are two places where global and static variables can be located:

  • segment for initialized data
  • segment for…

--

--