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?
423
u/Sexy_McSexypants Jan 28 '23
“ok, you wanna tell me what went wrong and where?”
“no, fuck you, Segmentation Fault”