Multiple choice technology architecture

What happens when a buffer recievs more data than it can hold ?

  1. The excess data is bounced back to the senders Network, causing it to crash

  2. The excess data is abosrbed into the reciepient network, causing it to slowdown

  3. The excess data overflows into the adjacent buffers, corrupting or overwriting the valid data held in them

  4. The excess data is removed by the compiler usually

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

When a buffer receives more data than its capacity, the excess data overflows into adjacent memory locations, overwriting whatever valid data was stored there. This is called a buffer overflow vulnerability. Options A and B are incorrect because networks don't 'bounce back' or 'absorb' excess data in this way. Option D is wrong because compilers don't remove excess data at runtime.