3 ms·
I always thought this is example of basic buffer overflow in C - what's different with this example? If somebody asked me to write buffer overflow example in C
by mirekrusin 8y ago
I always thought this is example of basic buffer overflow in C - what's different with this example? If somebody asked me to write buffer overflow example in C I'd write something that looks exactly like this, this must have been known for years, what am I missing here?
- pcwalton 8y agoThe "classic" buffer overflow involves overwriting the return address by overflowing an array on stack. Low-fat pointers can protect against that problem [1]. [1]: https://www.comp.nus.edu.sg/~gregory/papers/ndss17stack.pdf https://www.comp.nus.edu.sg/~gregory/papers/ndss17stack.pdf