Remix.run Logo
▲ rustyhancock 4 hours ago

Yes, especially in past decades when it's easy to spot 41414141 on the stack in a debugger.

You might follow up with a De Bruijn/cyclic pattern and can see the overflow happen by step1 and precisely locate it by what replaces the A's.

https://youtu.be/L2j90atBpRU?is=q6W_1eF4viMoKZEA

Didn't the Alpine Linux bug also use A's for the exploit to login as root?