These 5 simple examples of memory management in C have the potential to cost your company billions of dollars or even put you in jail.
#C #coding #programming
💬 Chat with Me on Discord
https://discord.gg/fireship
🔗 Resources
- https://www.iso.org/standard/82075.html
📚 Chapters
- Bad bounds checking
- Heartbleed bounds check
- Using memory after it's been free()ed
- Off-By-One
- Double free()
🔥 Get More Content - Upgrade to PRO
Upgrade at https://fireship.io/pro
Use code YT25 for 25% off PRO access
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- Memory management in C
- malloc() and free() in C
- Bounds checking in C
- The Morris Worm
- What caused Heartbleed?