This is the Analogy I Used to Understand Buffer Overflow

Image retrieved from: https://www.cloudflare.com/learning/video/what-is-buffering/

Imagine you work at a daycare center as the lead teacher in a pre-school class.

Because you are busy greeting parents and caring for other preschoolers you do not enforce any protections or place controls on the defined limit for using cubbies the way they have been assigned.

Now For the More Technical Explanation:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store