diff options
| author | Sertonix | 2026-04-15 16:41:46 +0200 |
|---|---|---|
| committer | Julien Voisin | 2026-04-20 23:15:31 +0200 |
| commit | 5ac7e1b695281ebdcfe365176d40053764d44684 (patch) | |
| tree | 4a3419f75c2bf012f5d6abbd0ee35a5a5dbe46fe /tests/test_getcwd_dynamic.c | |
| parent | 57e658873fe794a654cc773b521dd8fdf3ddd9ed (diff) | |
gcc does not seem to reliably notice that the if condition makes
overflows impossible in the code. To please the compiler we can use
the __bos flag to return 0 (instead of -1) when the size is unknown.
Fixes https://github.com/jvoisin/fortify-headers/issues/62
Fixes https://github.com/jvoisin/fortify-headers/issues/68
Fixes https://github.com/jvoisin/fortify-headers/issues/80
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
