stack, kernel, compiler, compilation config and mitigations and probabily systemwide mitigations matters and you won't know what happens without debugging which probably is not possible in phone (? i never used a debugger in my phones.) but it seems that there is no stack canary. in my pc i will have segfault on same code due to blindly writing on stack canary and nothing funny happens.
I tried it with my PC too...but i got the answer it "undefined behaviour"
Обсуждают сегодня