Hacker News new | ask | show | jobs
by nocturnial 2336 days ago
In a lot of cases the attacker can only write to a limited range of memory addresses. If that string happens to fall in that range, they can use it to write to other addresses and/or find out where in memory certain things are stored.

So their ability to write to a limited range of addresses can be extended to a larger range.

1 comments

If the attacker can write to string memory, they can overwrite "%s\n\0Hello World" just as easily as "Hello World\n".