fortify-headers 2.2
Tue 02 April 2024 — download

Now that the dust has settled a bit and that kinks have being ironed out, time to publish the version 2.2 of fortify-headers. No new major features, but a couple of bugfixes. As usual, the Gentoo Hardened and Chimera Linux users are to thank for rooting out bugs!

I gave a small internal talk as part of the weekly "Safe Coding Sessions" at Google about fortify-headers, the slides can be found here.

Changelog

  • relax checks for memchr on C11 and above
  • add null-ptr related checks to mem* functions
  • increase portability with clang regarding __has_builtin and defined
  • fix a typo in memcpy ignoring __builtin_memcpy
  • increase the portability of the testsuite on non x86 architectures