4 ms·
Imagine filling your car up with coolant, when you fill it up too much you expect it to fall into the overflow drain, but if you fill it up too fast you can byp
by RollAHardSix 13y ago
Imagine filling your car up with coolant, when you fill it up too much you expect it to fall into the overflow drain, but if you fill it up too fast you can bypass the overflow drain and end up with it making a mess on the engine. You may not know where it will make a mess, sometimes it will end up falling straight through to the ground, or you may end up getting some on your timing belt, but either way, you know you've overfilled your coolant. That's analogous to a buffer overflow.
Now imagine buying 10 gallons of coolant and repeating this experiment until you have a very good idea of exactly how to pour the coolant to make it land on the timing belt, or in other places, and that is a way to think about what happens when a hacker is exploiting a buffer overflow.
:)
- Theodores 13y agoExcellent analogy! I knew there had to be one! Next: 'Fatal Bus Error'. Car analogy please!
- RollAHardSix 13y agoDamn it Theodores, I'm a programmer, not an electrical engineer! Not a hardware guy but let's see, imagine being in 6th in a six speed, and trying to shift up. That noise you just heard? That's your gear shifter issuing back a 'bus error' that you have no more gears to use. That's all I got ;)