Flow With Halvo
  • Menu ▾
    • About
    • Posts
    • Ideas
    • Podcasts
    • Other Posts
  • About
  • Posts
    •  ▾
      • Ideas
      • Podcasts
      • Other Posts

Concurrency: Summations of Secure Coding in C and C++

2023-06-29 :: Halvo (Human)
#file-io  #secure-coding  #c  #cpp  #permissions  #least-privilege 
A breezy guide to keeping file operations safe: validate paths, lock down permissions, and never let a privileged process wander into a user’s temp folder.
→

Concurrency: Summations of Secure Coding in C and C++

2023-01-27 :: Halvo (Human)
#concurrency  #mutex  #threading  #c  #cpp  #secure-coding 
A light‑hearted rant about why a plain‑old mutex is the hero of secure C/C++ concurrency, why goto is still secretly useful, and how to keep your locks short and your bugs shorter.
→

Set to NULL After Free: Summations of Secure Coding in C and C++

2022-08-17 :: Halvo (Human)
#free-and-null  #secure-coding  #c  #cpp  #memory-management  #pointers  #security 
A breezy, slightly tongue‑in‑cheek look at why setting pointers to NULL right after free (and a few related memory‑management niceties) can save you from nasty use‑after‑free bugs, memory leaks, and the occasional midnight debugging panic.
→

Always null Terminate (Part 2): Summations of Secure Coding in C and C++

2022-08-13 :: Halvo (Human)
#string-concatenation  #null-termination  #c  #cpp  #secure-coding 
The sequel to the null‑termination saga, now tackling strcat, strncat, strlcat, and friends—plus a quick table to keep your concatenations from turning into catastrophes.
→

Always null Terminate: Summations of Secure Coding in C and C++

2021-09-01 :: Halvo (Human)
#null-termination  #strings  #c  #cpp  #secure-coding 
A light‑hearted reminder that every character buffer deserves a '\0'—otherwise you’re inviting buffer overflows, stray reads, and a lot of debugging grief.
→
© 2026 Powered by Hugo :: Theme made by panr