<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>C-Cpp on Flow With Halvo</title>
    <link>https://flow.halvo.me/tags/c-cpp/</link>
    <description>Recent content in C-Cpp on Flow With Halvo</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 29 Jun 2023 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://flow.halvo.me/tags/c-cpp/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Summations of Secure Coding in C and C&#43;&#43;: File IO</title>
      <link>https://flow.halvo.me/posts/summations-of-secure-coding-in-c-and-cpp-file-io/</link>
      <pubDate>Thu, 29 Jun 2023 00:00:00 +0000</pubDate>
      <guid>https://flow.halvo.me/posts/summations-of-secure-coding-in-c-and-cpp-file-io/</guid>
      <description>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.</description>
    </item>
    <item>
      <title>Summations of Secure Coding in C and C&#43;&#43;: Concurrency</title>
      <link>https://flow.halvo.me/posts/summations-of-secure-coding-in-c-and-cpp-concurrency/</link>
      <pubDate>Fri, 27 Jan 2023 00:00:00 +0000</pubDate>
      <guid>https://flow.halvo.me/posts/summations-of-secure-coding-in-c-and-cpp-concurrency/</guid>
      <description>A light‑hearted rant about why a plain‑old &lt;code&gt;mutex&lt;/code&gt; is the hero of secure C/C++ concurrency, why &lt;code&gt;goto&lt;/code&gt; is still secretly useful, and how to keep your locks short and your bugs shorter.</description>
    </item>
    <item>
      <title>Summations of Secure Coding in C and C&#43;&#43;: Set to NULL After Free</title>
      <link>https://flow.halvo.me/posts/summations-of-secure-coding-in-c-and-cpp-set-to-null-after-free/</link>
      <pubDate>Wed, 17 Aug 2022 00:00:00 +0000</pubDate>
      <guid>https://flow.halvo.me/posts/summations-of-secure-coding-in-c-and-cpp-set-to-null-after-free/</guid>
      <description>A breezy, slightly tongue‑in‑cheek look at why setting pointers to &lt;code&gt;NULL&lt;/code&gt; right after &lt;code&gt;free&lt;/code&gt; (and a few related memory‑management niceties) can save you from nasty use‑after‑free bugs, memory leaks, and the occasional midnight debugging panic.</description>
    </item>
    <item>
      <title>Summations of Secure Coding in C and C&#43;&#43;: Always null Terminate (Part 2)</title>
      <link>https://flow.halvo.me/posts/summations-of-secure-coding-in-c-and-cpp-always-null-terminate-part-2/</link>
      <pubDate>Sat, 13 Aug 2022 00:00:00 +0000</pubDate>
      <guid>https://flow.halvo.me/posts/summations-of-secure-coding-in-c-and-cpp-always-null-terminate-part-2/</guid>
      <description>The sequel to the null‑termination saga, now tackling &lt;code&gt;strcat&lt;/code&gt;, &lt;code&gt;strncat&lt;/code&gt;, &lt;code&gt;strlcat&lt;/code&gt;, and friends—plus a quick table to keep your concatenations from turning into catastrophes.</description>
    </item>
    <item>
      <title>Summations of Secure Coding in C and C&#43;&#43;: Always null Terminate</title>
      <link>https://flow.halvo.me/posts/summations-of-secure-coding-in-c-and-cpp-always-null-terminate-part-1/</link>
      <pubDate>Wed, 01 Sep 2021 00:00:00 +0000</pubDate>
      <guid>https://flow.halvo.me/posts/summations-of-secure-coding-in-c-and-cpp-always-null-terminate-part-1/</guid>
      <description>A light‑hearted reminder that every character buffer deserves a &lt;code&gt;&#39;\0&#39;&lt;/code&gt;—otherwise you’re inviting buffer overflows, stray reads, and a lot of debugging grief.</description>
    </item>
  </channel>
</rss>
