<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fortify-headers/tests, branch master</title>
<subtitle>Standalone portable header-based implementation of FORTIFY_SOURCE=3 
</subtitle>
<id>http://git.dustri.org/fortify-headers/atom?h=master</id>
<link rel='self' href='http://git.dustri.org/fortify-headers/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dustri.org/fortify-headers/'/>
<updated>2026-04-12T22:05:57Z</updated>
<entry>
<title>Use shared COMMON_FLAGS in tests</title>
<updated>2026-04-12T22:05:57Z</updated>
<author>
<name>Sertonix</name>
</author>
<published>2026-04-09T10:02:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/fortify-headers/commit/?id=57e658873fe794a654cc773b521dd8fdf3ddd9ed'/>
<id>urn:sha1:57e658873fe794a654cc773b521dd8fdf3ddd9ed</id>
<content type='text'>
Fixes CXXFLAGS missing -I../include/ and avoids similar issues to happen
in the future
</content>
</entry>
<entry>
<title>Ensure in tests/common.h that fortify-headers.h was included</title>
<updated>2026-04-12T22:05:57Z</updated>
<author>
<name>Sertonix</name>
</author>
<published>2026-04-09T09:59:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/fortify-headers/commit/?id=e7565d67d283ed0ba284fc109d53a9aded6289fc'/>
<id>urn:sha1:e7565d67d283ed0ba284fc109d53a9aded6289fc</id>
<content type='text'>
Exposes bug in c++ compile test which do not include fortify-headers
</content>
</entry>
<entry>
<title>Make do even if PATH_MAX isn't defined</title>
<updated>2026-04-01T18:37:02Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2026-04-01T18:37:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/fortify-headers/commit/?id=60c096eb0433f7573c768a2c8523abd3c11e0720'/>
<id>urn:sha1:60c096eb0433f7573c768a2c8523abd3c11e0720</id>
<content type='text'>
As explained in `man realpath(3)`:

&gt; The POSIX.1-2001 standard version of this function is broken by design,
&gt; since it is impossible  to determine  a  suitable  size  for  the  output
&gt; buffer, resolved_path.  According to POSIX.1-2001 a buffer of size PATH_MAX
&gt; suffices, but PATH_MAX need not be a defined constant, and may have to  be
&gt; obtained  using  pathconf(3).  And asking pathconf(3) does not really help,
&gt; since, on the one hand POSIX warns that the result of pathconf(3) may be huge
&gt; and unsuitable for mallocing memory, and on the other hand pathconf(3) may
&gt; return -1 to  signify  that  PATH_MAX  is  not  bounded.   The  re‐ solved_path
&gt; == NULL  feature,  not standardized in POSIX.1-2001, but standardized in
&gt; POSIX.1-2008, allows this design problem to be avoided.

So we can either not compile, or be pragmatic, and define PATH_MAX to a sane
value, like 4096, which is the one used on Linux and some/most BSD.

This commit also adds two tests to ensure that things aren't catastrophically
broken by this change.
</content>
</entry>
<entry>
<title>Add some compilers flags to the C++ testsuite</title>
<updated>2026-03-13T00:11:35Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2026-03-11T14:54:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/fortify-headers/commit/?id=f66db750ed01f52707a37e05d86af4f59019f473'/>
<id>urn:sha1:f66db750ed01f52707a37e05d86af4f59019f473</id>
<content type='text'>
Notably -Wno-fortify-source, to prevent clang from using its own fortify
implementation.

Co-Authored-By: Sertonix
</content>
</entry>
<entry>
<title>Fixes compilation with clang and -D_FORTIFY_SOURCE=2</title>
<updated>2026-03-13T00:11:26Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2026-03-13T00:07:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/fortify-headers/commit/?id=c1642e5a43de3affa75d52c3577ee1be4c874a5d'/>
<id>urn:sha1:c1642e5a43de3affa75d52c3577ee1be4c874a5d</id>
<content type='text'>
This commit fixes the typo pass_object_size__ for pass_object_size. It also
adds tests in the CI to prevent this from happening again.

Ref https://clang.llvm.org/docs/AttributeReference.html#pass-object-size-pass-dynamic-object-size

Co-Authored-By: Sertonix
</content>
</entry>
<entry>
<title>Add a testsuite</title>
<updated>2025-11-11T13:09:16Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2025-10-31T14:18:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/fortify-headers/commit/?id=fe3e4269959ea7534722aa2664a3cac69d9109cf'/>
<id>urn:sha1:fe3e4269959ea7534722aa2664a3cac69d9109cf</id>
<content type='text'>
Co-Authored-By: q66 &lt;q66@chimera-linux.org&gt;
</content>
</entry>
</feed>
