3 ms·
You don't need analogies. A buffer is a place in a computer's memory for storing things, text, numbers, data, whatever. A buffer overflow is when you try to p
by spingsprong 13y ago
You don't need analogies.
A buffer is a place in a computer's memory for storing things, text, numbers, data, whatever.
A buffer overflow is when you try to put more into a buffer than there is room for.
When this happens, some of what you tried to put into the buffer spills over into memory outside the buffer.
This other memory could have important things in it which can get destroyed or changed when a buffer overflow spills into it, causing programmes to behave in strange ways.
- bane 13y agoIf told this to my Dad, he'd probably say "buffers don't sound like good ideas then. Why bother? Just put things where there's space in your computer's 'memory'."
- NAFV_P 13y ago> If told this to my Dad, he'd probably say "buffers don't sound like good ideas then. Why bother? Just put things where there's space in your computer's 'memory'." The SO post missed out one crucial aspect of computers, they're like blind men. If I were filling up a kettle while sporting a blindfold, I wouldn't know when it is full.
- deleted 13y ago[deleted]