mirror of
https://github.com/opnsense/src.git
synced 2026-07-04 06:45:57 -04:00
ssp/ssp.h needed some improvements:
- `len` isn't always a size_t, it may need casted
- In some cases we may want to use a len that isn't specified as a
parameter (e.g., L_ctermid), so __ssp_redirect() should be more
flexible.
- In other cases we may want additional checking, so pull all of the
declaration bits out of __ssp_redirect_raw() so that some functions
can implement the body themselves.
strlcat/strlcpy should be the last of the fortified functions that get
their own __*_chk symbols, and these cases are only done to be
consistent with the rest of the str*() set.
Reviewed by: markj
Sponsored by: Klara, Inc.
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D45679
|
||
|---|---|---|
| .. | ||
| cpuset_test.c | ||
| expand_number_test.c | ||
| flopen_test.c | ||
| forkpty_test.c | ||
| grp_test.c | ||
| humanize_number_test.c | ||
| Makefile | ||
| Makefile.depend | ||
| pidfile_test.c | ||
| trimdomain-nodomain_test.c | ||
| trimdomain_test.c | ||