Just a very simple question with a very simple answer

L00PeR
7 years ago

0

The way for exploiting a simple buffer overflow, is the same as for exploiting a heap overflow?
As the title says, a very simple question with a very simple answer Y/n
XD

3replies
3voices
172views
YotM0DSeeker
7 years ago

0

I think a heap overflow is also a buffer overflow. According to http://stackoverflow.com/questions/1120575/what-is-the-difference-between-a-stack-overflow-and-buffer-overflow, a buffer overflow refers to any case in which a program writes beyond the end of the memory allocated for any buffer (including on the heap, not just on the stack). For example, if you write past the end of an array allocated from the heap, you’ve caused a buffer overflow. So the answer to your question would be yes as a heap overflow is a buffer overflow.

L00PeR
7 years ago

0

@YotM0DSeeker you are right, I made a mistake. With simple buffer overflow I was meaning stack overflow.

Mugi [Mugiwara27]
7 years ago

0

If you understand well what the difference between the stack and the buffer and how they work both, you’ll know as well how to exploit it ;
http://stackoverflow.com/questions/20711728/what-is-the-difference-between-memory-buffer-and-stack

You must be logged in to reply to this discussion. Login
1 of 4

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss