openssh/openbsd-compat
Damien Miller d94c1dfef2 sync fmt_scaled.c with OpenBSD
revision 1.13
date: 2017/03/11 23:37:23;  author: djm;  state: Exp;  lines: +14 -1;  commitid: jnFKyHkB3CEiEZ2R;
fix signed integer overflow in scan_scaled. Found by Nicolas Iooss
using AFL against ssh_config. ok deraadt@ millert@
----------------------------
revision 1.12
date: 2013/11/29 19:00:51;  author: deraadt;  state: Exp;  lines: +6 -5;
fairly simple unsigned char casts for ctype
ok krw
----------------------------
revision 1.11
date: 2012/11/12 14:07:20;  author: halex;  state: Exp;  lines: +4 -2;
make scan_scaled set errno to EINVAL rather than ERANGE if it encounters
an invalid multiplier, like the man page says it should

"looks sensible" deraadt@, ok ian@
----------------------------
revision 1.10
date: 2009/06/20 15:00:04;  author: martynas;  state: Exp;  lines: +4 -4;
use llabs instead of the home-grown version;  and some comment changes
ok ian@, millert@
----------------------------
2017-03-12 10:48:14 +11: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 Move err.h replacements into compat lib. 2016-07-13 14:42:35 +10:00
bsd-getpeereid.c
bsd-misc.c Replace spaces with tabs. 2016-08-02 10:01:52 +10:00
bsd-misc.h Remove obsolete CVS $Id from source files. 2016-08-17 14:08:42 +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 fix false positives when compiled with msan 2016-08-16 13:37:26 +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 sync fmt_scaled.c with OpenBSD 2017-03-12 10:48:14 +11: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
glob.h
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 Add strcasestr to compat library. 2016-12-13 10:23:03 +11:00
md5.c
md5.h
mktemp.c
openbsd-compat.h Remove commented-out includes. 2016-12-13 12:56:40 +11: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 Strip trailing whitespace. 2016-08-02 09:44:25 +10:00
port-tun.h
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
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