openssh/openbsd-compat
Darren Tucker 74c1c3660a Check for and handle calloc(p, 0) = NULL.
On some platforms (AIX, maybe others) allocating zero bytes of memory
via the various *alloc functions returns NULL, which is permitted
by the standards.  Autoconf has some macros for detecting this (with
the exception of calloc for some reason) so use these and if necessary
activate shims for them.  ok djm@
2017-09-27 07:44:41 +10:00
..
regress Remove now-defunct .cvsignore files. ok djm 2016-06-14 13:51:01 +10:00
arc4random.c cast to avoid type warning in error message 2016-07-15 20:02:27 +10:00
base64.c
base64.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
basename.c
bcrypt_pbkdf.c
bindresvport.c initialise salen in binresvport_sa 2016-05-10 09:51:06 +10:00
blf.h
blowfish.c
bsd-asprintf.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
bsd-closefrom.c
bsd-cray.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-cray.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-cygwin_util.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
bsd-cygwin_util.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-err.c Add missing includes for bsd-err.c. 2017-08-27 08:55:40 +10:00
bsd-getpagesize.c add recallocarray replacement and dependency 2017-06-01 15:25:13 +10:00
bsd-getpeereid.c
bsd-malloc.c Check for and handle calloc(p, 0) = NULL. 2017-09-27 07:44:41 +10:00
bsd-misc.c Add minimal strsignal for platforms without it. 2017-09-25 09:48:10 +10:00
bsd-misc.h Add minimal strsignal for platforms without it. 2017-09-25 09:48:10 +10:00
bsd-nextstep.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
bsd-nextstep.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-openpty.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
bsd-poll.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-poll.h
bsd-setres_id.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-setres_id.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-snprintf.c Move VA_COPY macro into compat header. 2016-07-15 14:54:16 +10:00
bsd-statvfs.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-statvfs.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
bsd-waitpid.c Replace spaces with tabs. 2016-08-02 10:01:52 +10:00
bsd-waitpid.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
chacha_private.h
charclass.h
daemon.c
dirname.c
explicit_bzero.c make explicit_bzero/memset safe for sz=0 2017-07-14 14:27:12 +10:00
fake-rfc2553.c Replace spaces with tabs. 2016-08-02 10:01:52 +10:00
fake-rfc2553.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
fmt_scaled.c Import fmt_scaled.c rev 1.16 from OpenBSD. 2017-03-29 16:34:44 +11:00
freezero.c add freezero(3) replacement 2017-09-19 14:16:45 +10:00
getcwd.c Repair $OpenBSD markers. 2016-08-02 09:06:27 +10:00
getgrouplist.c Repair $OpenBSD markers. 2016-08-02 09:06:27 +10:00
getopt_long.c
getopt.h
getrrsetbyname-ldns.c
getrrsetbyname.c
getrrsetbyname.h
glob.c Prevent name collisions with system glob (bz#2463) 2015-10-29 10:48:23 +11:00
glob.h Prevent name collisions with system glob (bz#2463) 2015-10-29 10:48:23 +11:00
inet_aton.c whitespace at EOL 2016-05-31 16:45:28 +10:00
inet_ntoa.c
inet_ntop.c
kludge-fd_set.c
Makefile.in Check for and handle calloc(p, 0) = NULL. 2017-09-27 07:44:41 +10:00
md5.c
md5.h
mktemp.c
openbsd-compat.h add freezero(3) replacement 2017-09-19 14:16:45 +10:00
openssl-compat.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
openssl-compat.h Move OPENSSL_NO_RIPEMD160 to compat. 2016-10-28 14:26:58 +11:00
port-aix.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
port-aix.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-irix.c Replace spaces with tabs. 2016-08-02 10:01:52 +10:00
port-irix.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-linux.c Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-linux.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-solaris.c Use !=NULL instead of >0 for getdefaultproj. 2016-10-26 08:43:25 +11:00
port-solaris.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +10:00
port-tun.c adapt portable to channels API changes 2017-09-12 18:01:35 +10:00
port-tun.h adapt portable to channels API changes 2017-09-12 18:01:35 +10:00
port-uw.c
port-uw.h
pwcache.c
readpassphrase.c Import readpassphrase.c rev 1.26. 2016-10-19 03:26:09 +11:00
readpassphrase.h
reallocarray.c
realpath.c
recallocarray.c Wrap stdint.h include in #ifdef. 2017-06-09 13:36:29 +10:00
rmd160.c
rmd160.h
rresvport.c
setenv.c
setproctitle.c Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
sha1.c
sha1.h
sha2.c Repair $OpenBSD markers. 2016-08-02 09:06:27 +10:00
sha2.h Repair $OpenBSD marker. 2016-08-02 09:02:42 +10:00
sigact.c
sigact.h
strcasestr.c Add strcasestr to compat library. 2016-12-13 10:23:03 +11:00
strlcat.c
strlcpy.c
strmode.c
strnlen.c
strptime.c
strsep.c
strtoll.c
strtonum.c
strtoul.c
strtoull.c
sys-queue.h
sys-tree.h
timingsafe_bcmp.c
vis.c Move DEF_WEAK into defines.h. 2016-10-15 05:51:12 +11:00
vis.h Update vis.h and vis.c from OpenBSD. 2016-06-03 16:03:44 +10:00
xcrypt.c Replace spaces with tabs. 2016-08-02 10:01:52 +10:00