What would happen if you store 512 characters where there is only space for 256?
You may claim that you can't, and you'll be right, but still, there are
situations that, unconsciously, you tell the micro to do so, and he can only
but obey you... and he'll do his best without thinking of side effects. Now is
when we get technical, fasten your seat belts, this turbulence will last
What defines a buffer overflow is the copy of a memory region into
another region not big enough to contain it.
What defines a buffer overflow is the copy of a memory region into another region not big enough to contain it.
This is a good and simple abo: on execution this program will copy the contents of
1 - argc and argv are just names for main's arguments, they just name chunks of bits in memory, their names are not meaningful by their own but for their context.