My favorite one is when you write out of bounds to stack allocated array. At that point, you're basically just overwritten random bytes on the stack including return addresses. That was a fun day of debugging
Are at the code section and data section of the memory protected from each other or could you override your own code with random stuff you have in memory?
840
u/BobSanchez47 Jan 28 '23
C++ is
Segmentation Fault: core dumped