5 ways to shoot yourself in the foot with C
Open with LBRYStart building with Gel today: https://bit.ly/4mTm2D7
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.
💬 Chat with Me on Discord
🔗 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?
...
https://www.youtube.com/watch?v=cNywlNWan9o