| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-07-10 | Add tests for sys/socket.h | jvoisin | |
| 2023-07-10 | Clean up a bit the macro hell | jvoisin | |
| 2023-07-09 | Add some malloc annotations | jvoisin | |
| 2023-07-09 | Add some `format` annotations | jvoisin | |
| 2023-07-09 | Move a misplaced #endif | jvoisin | |
| 2023-07-09 | Add an __access__ annotation to wchar.h | jvoisin | |
| 2023-07-09 | Improve a bit `size_t*size_t` overflow checks | jvoisin | |
| 2023-07-09 | Add tests for stdio.h | jvoisin | |
| 2023-07-09 | Add tests for unistd.h | jvoisin | |
| 2023-07-09 | Fix a couple of warnings | jvoisin | |
| 2023-07-09 | Add access annotations to unistd.h | jvoisin | |
| 2023-07-08 | Add tests for memcpy overflow/underflow | jvoisin | |
| 2023-07-05 | Add access annotations to sys/socket.h | jvoisin | |
| 2023-07-05 | Add tests for bzero | jvoisin | |
| 2023-07-05 | Add tests for bcopy | jvoisin | |
| 2023-07-05 | Cache musl-toolchain download | jvoisin | |
| 2023-07-05 | Run several clang versions in the CI | jvoisin | |
| 2023-07-05 | Don't download musl-cc for clang in the CI | jvoisin | |
| 2023-06-27 | Add more access-annotations | jvoisin | |
| 2023-06-25 | Fix the coverage on github pages | jvoisin | |
| 2023-06-25 | Run clang and gcc in the CI | jvoisin | |
| 2023-06-25 | Fix clang support | jvoisin | |
| 2023-06-25 | add initial clang support | Daniel Kolesa | |
| 2023-06-25 | avoid __extension__ with clang | Daniel Kolesa | |
| It seems useless and triggers 'error: expected external declaration' | |||
| 2023-06-23 | Add a test for fgets | jvoisin | |
| 2023-06-22 | Add an annotation for fgets | jvoisin | |
| 2023-06-22 | Add a test for ppoll | jvoisin | |
| 2023-06-22 | Add a test for `poll` | jvoisin | |
| 2023-06-22 | Add tests for mempcpy | jvoisin | |
| 2023-06-22 | Add a test for strncat | jvoisin | |
| 2023-06-22 | Add tests for stcncpy | jvoisin | |
| 2023-06-22 | Add tests for stpcpy | jvoisin | |
| 2023-06-14 | Add tests for strncpy and handle overlapping buffers there | jvoisin | |
| 2023-05-30 | Add some __attribute__((access…)) annotations | jvoisin | |
| See https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html for details | |||
| 2023-05-30 | Add code coverage | jvoisin | |
| And make it available at https://jvoisin.github.io/fortify-headers/include/index.html | |||
| 2023-05-30 | Add a test for getcwd | jvoisin | |
| 2023-05-30 | Add a check for overlapping copies in strcpy | jvoisin | |
| 2023-05-30 | Fix inconsistent time_t version of ppoll | jvoisin | |
| fortify/poll.h includes poll.h, which redirects the ppoll sys call to __ppoll_time64, if the _REDIR_TIME64 macro is 1. Then fortify/poll.h will #undef ppoll and use the 32 bit version, which is inconsistent. Taken from: https://github.com/openwrt/openwrt/pull/12575 | |||
| 2023-04-13 | Add tests for strcat and strcpy | jvoisin | |
| 2023-04-13 | Add tests for memset | jvoisin | |
| 2023-04-13 | Add tests for memmove | jvoisin | |
| 2023-04-13 | Add a .gitignore | jvoisin | |
| 2023-04-13 | Add a basic testsuite | jvoisin | |
| 2023-04-13 | Make use of __builtin_dynamic_object_size | jvoisin | |
| GCC and Clang provide __builtin_dynamic_object_size (see documentation: https://gcc.gnu.org/onlinedocs/gcc/Object-Size-Checking.html), so we should make use of it when its available. | |||
| 2019-04-14 | Bump to 1.11.1 | sin | |
| 2019-03-13 | getgroups: do not trap on non-positive gidsetsize | info@mobile-stream.com | |
| First, we should never check the size of __s if __l == 0 since the array is not going to be modified in that case. Second, negative __l is a well-defined error case (EINVAL) and we should never trap on a conforming code like this: r = getgroups(-1, NULL); if (r == -1) ... An example of non-desired behaviour for negative __l is the gnulib configure script which checks for getgroups(-1, ...) to catch some ancient FreeBSD kernel bug. The conftest binary traps even on good system (e.g. linux/musl) and the unnecessary getgroups wrapper is enforced for any project that uses gnulib. This patch also changes the size_t cast to avoid the explicit zero extension on systems where size_t differs from unsigned int. | |||
| 2019-03-07 | wctomb, wcrtomb: guard slow/trap path with MB_LEN_MAX | info@mobile-stream.com | |
| This allows the compiler to optimize out the slow/trap path at all for the typical correct code: char buf[MB_LEN_MAX]; r = wctomb(buf, c); The change tries to keep the "unknown object size" case handling in wcrtomb() as is even if it seems redundant and not helping (we copy __buf to possibly undersized __s in any case) and inconsistent with wctomb() (where we let the original library method itself overwrite the possibly undersized __s). | |||
| 2019-03-07 | realpath: guard slow/trap path with PATH_MAX | info@mobile-stream.com | |
| This allows the compiler to optimize out the slow/trap path at all for the typical correct code: char buf[PATH_MAX]; r = realpath(path, buf); The change keeps the "unknown object size" case handling intact. | |||
| 2019-02-25 | Bump copyright | sin | |
| 2019-02-25 | Make use of builtins whenever possible | sin | |
