openssh/openbsd-compat
Corinna Vinschen 68085066b6 Fix signedness bug in Cygwin code
The Cygwin-specific pattern match code has a bug.  It checks
the size_t value returned by mbstowcs for being < 0.  The right
thing to do is to check against (size_t) -1.  Fix that.

Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
2022-01-21 09:53:07 +11:00
..
regress Add includes.h to compat tests. 2021-08-11 09:21:09 +10:00
arc4random.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11: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
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-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 Prevent unused variable warning. 2020-02-17 22:51:00 +11:00
bsd-misc.h Split EGD/PRNGD interface into its own file. 2021-06-18 18:32:51 +10:00
bsd-nextstep.c
bsd-nextstep.h
bsd-openpty.c Fix a couple of mysig_t leftovers. 2020-01-23 21:06:45 +11:00
bsd-poll.c fix edge case in poll(2) wrapper 2022-01-14 14:09:38 +11:00
bsd-poll.h Add compat implementation of ppoll using pselect. 2021-11-18 23:11:37 +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 Remove mysignal wrapper. 2020-01-23 18:55:24 +11:00
bsd-signal.h Include signal.h to prevent redefintion of _NSIG. 2020-01-26 14:09:17 +11:00
bsd-snprintf.c polish whitespace for portable files 2021-04-03 17:47:37 +11:00
bsd-statvfs.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11:00
bsd-statvfs.h
bsd-waitpid.c
bsd-waitpid.h polish whitespace for portable files 2021-04-03 17:47:37 +11:00
chacha_private.h
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
fnmatch.c sync fnmatch.c with upstream to fix another typo 2020-03-13 14:30:16 +11:00
fnmatch.h
freezero.c
getcwd.c remove sys/param.h in -portable, after upstream 2021-12-22 09:02:50 +11:00
getgrouplist.c
getopt_long.c polish whitespace for portable files 2021-04-03 17:47:37 +11:00
getopt.h
getrrsetbyname-ldns.c
getrrsetbyname.c
getrrsetbyname.h
glob.c Sync rev 1.49. 2020-04-21 18:28:19 +10:00
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 polish whitespace for portable files 2021-04-03 17:47:37 +11:00
Makefile.in Split EGD/PRNGD interface into its own file. 2021-06-18 18:32:51 +10:00
md5.c
md5.h
memmem.c Add OPENBSD ORIGINAL marker. 2021-04-24 17:52:24 +10:00
mktemp.c Remove checks for strict POSIX mkdtemp() 2020-10-27 16:50:38 +11:00
openbsd-compat.h sync bcrypt-related files with OpenBSD 2021-11-29 12:30:22 +11:00
openssl-compat.c
openssl-compat.h support OpenSSL 3.x cipher IV API change 2021-02-18 12:06:25 +11:00
port-aix.c Handle GIDs > 2^31 in getgrouplist. 2021-06-17 21:03:19 +10:00
port-aix.h Constify aix_krb5_get_principal_name. 2020-02-17 22:53:24 +11:00
port-irix.c
port-irix.h
port-linux.c SELinux has deprecated security_context_t 2020-11-13 13:46:28 +11: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