openssh/openbsd-compat
Damien Miller 4b94d09542
portable-specific int overflow defence-in-depth
These too are unreachable, but we want the code to be safe regardless of
context. Reported by Yair Mizrahi @ JFrog
2023-07-14 15:34:47 +10:00
..
regress main(void) to prevent unused variable warning. 2023-05-09 19:26:56 +10:00
Makefile.in Add a timegm implementation from Heimdal via Samba. 2022-08-11 22:51:10 +10:00
arc4random.c Always use compat getentropy. 2022-11-02 12:20:50 +11:00
arc4random.h use calloc for allocating arc4random structs 2022-12-09 18:00:50 +11:00
arc4random_uniform.c Move OPENBSD ORIGINAL marker. 2022-09-02 14:30:38 +10:00
base64.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11:00
base64.h
basename.c
bcrypt_pbkdf.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11:00
bindresvport.c Include stdlib.h for arc4random_uniform prototype. 2021-09-29 20:03:58 +10:00
blf.h sync bcrypt-related files with OpenBSD 2021-11-29 12:30:22 +11:00
blowfish.c sync bcrypt-related files with OpenBSD 2021-11-29 12:30:22 +11:00
bsd-asprintf.c openbsd-compat/bsd-asprintf: add <stdio.h> include for vsnprintf 2022-09-08 12:04:00 +10:00
bsd-closefrom.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11:00
bsd-cygwin_util.c Fix signedness bug in Cygwin code 2022-01-21 09:53:07 +11:00
bsd-cygwin_util.h
bsd-err.c
bsd-flock.c
bsd-getentropy.c Extra brackets to prevent warning. 2023-03-08 17:26:51 +11:00
bsd-getline.c Skip getline() on HP-UX 10.x. 2021-11-06 21:09:48 +11:00
bsd-getpagesize.c
bsd-getpeereid.c
bsd-malloc.c
bsd-misc.c Add clang sanitizer tests. 2022-07-03 22:53:44 +10:00
bsd-misc.h Constify utimes in compat library to match specs. 2022-02-25 15:14:22 +11:00
bsd-nextstep.c
bsd-nextstep.h
bsd-openpty.c Test if sshd accidentally acquires controlling tty 2022-02-14 14:19:40 +11:00
bsd-poll.c Avoid assuming layout of fd_set 2022-11-08 19:33:47 +11:00
bsd-poll.h revert c64b62338b and guard POLL* defines instead 2022-10-17 09:41:47 +11:00
bsd-pselect.c Increment nfds when coming from startup_pipe. 2021-09-08 18:39:44 +10:00
bsd-setres_id.c
bsd-setres_id.h
bsd-signal.c
bsd-signal.h
bsd-snprintf.c remove unused upper-case const strings in fmtfp 2023-04-06 14:33:10 +10:00
bsd-statvfs.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11:00
bsd-statvfs.h
bsd-timegm.c whitespace at EOL 2022-10-05 03:47:26 +11:00
bsd-waitpid.c
bsd-waitpid.h polish whitespace for portable files 2021-04-03 17:47:37 +11:00
chacha_private.h Remove unused ivbits argument from chacha_keysetup 2022-03-01 09:02:06 +11:00
charclass.h
daemon.c
dirname.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11:00
explicit_bzero.c Using explicit_memset for the explicit_bzero compatibility layer. 2021-02-05 17:07:03 +11:00
fake-rfc2553.c
fake-rfc2553.h
fmt_scaled.c Resync fmt_scaled. with OpenBSD. 2022-03-11 18:43:58 +11:00
fnmatch.c
fnmatch.h
freezero.c
getcwd.c Return ERANGE from getcwd() if buffer size is 1. 2022-07-14 11:22:08 +10:00
getgrouplist.c
getopt.h avoid clash between for getopt's struct option 2023-02-27 17:10:12 +11:00
getopt_long.c avoid clash between for getopt's struct option 2023-02-27 17:10:12 +11:00
getrrsetbyname-ldns.c
getrrsetbyname.c bounds checking for getrrsetbyname() replacement; 2023-03-10 15:59:46 +11:00
getrrsetbyname.h
glob.c
glob.h
inet_aton.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11:00
inet_ntoa.c
inet_ntop.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11:00
kludge-fd_set.c
libressl-api-compat.c remove support for old libcrypto 2023-03-24 13:56:25 +11:00
md5.c
md5.h
memmem.c Add OPENBSD ORIGINAL marker. 2021-04-24 17:52:24 +10:00
mktemp.c Add prototypes for mkstemp replacements. 2023-03-10 14:46:57 +11:00
openbsd-compat.h Add prototypes for mkstemp replacements. 2023-03-10 14:46:57 +11:00
openssl-compat.c Handle OpenSSL >=3 ABI compatibility. 2023-05-08 20:12:59 +10:00
openssl-compat.h Allow building with BoringSSL 2023-03-24 15:26:26 +11:00
port-aix.c Handle GIDs > 2^31 in getgrouplist. 2021-06-17 21:03:19 +10:00
port-aix.h
port-irix.c
port-irix.h
port-linux.c portable-specific int overflow defence-in-depth 2023-07-14 15:34:47 +10:00
port-linux.h
port-net.c polish whitespace for portable files 2021-04-03 17:47:37 +11:00
port-net.h
port-prngd.c Fix ifdefs around get_random_bytes_prngd. 2021-07-02 15:20:32 +10:00
port-solaris.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11:00
port-solaris.h
port-uw.c polish whitespace for portable files 2021-04-03 17:47:37 +11:00
port-uw.h
pwcache.c
readpassphrase.c
readpassphrase.h
reallocarray.c
recallocarray.c
rresvport.c
setenv.c lastenv is only used in setenv. 2021-07-27 17:45:34 +10:00
setproctitle.c
sha1.c
sha1.h
sha2.c polish whitespace for portable files 2021-04-03 17:47:37 +11:00
sha2.h
sigact.c
sigact.h
strcasestr.c
strlcat.c
strlcpy.c
strmode.c
strndup.c
strnlen.c
strptime.c
strsep.c
strtoll.c
strtonum.c polish whitespace for portable files 2021-04-03 17:47:37 +11:00
strtoul.c
strtoull.c
sys-queue.h undef TAILQ_CONCAT and friends 2020-08-04 14:58:46 +10:00
sys-tree.h
timingsafe_bcmp.c
vis.c
vis.h
xcrypt.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11:00