Note

CS Degree Day 66

CS Degree in 100 Days

14 Aug'25

What I did today?

  • Lecture 3: Arrays in C - relationship to pointers
  • Lecture 4: Stack and heap memory allocation, malloc, free
  • Lecture 5: Memory errors - buffer overflow, use after free, double free

Spent 4 hours on the memory section. This is where programs become vulnerable. I wrote a deliberate buffer overflow in a controlled C program and watched it corrupt adjacent memory.