- (djm) bsd-rresvport.c bzero -> memset

- (djm) Don't fail in defines.h on absence of 64 bit types (we will
   still fail during compilation of sftp-server).
 - (djm) Fail if ar is not found during configure
This commit is contained in:
Damien Miller 2000-11-29 11:56:35 +11:00
parent a2e53ccb64
commit 3f62abaee8
5 changed files with 10 additions and 6 deletions

View File

@ -1,5 +1,9 @@
20001129
- (djm) Fix(?) the ssh hang-on-logout/data-from-child race
- (djm) bsd-rresvport.c bzero -> memset
- (djm) Don't fail in defines.h on absence of 64 bit types (we will
still fail during compilation of sftp-server).
- (djm) Fail if ar is not found during configure
20001125
- (djm) Give up privs when reading seed file

View File

@ -33,7 +33,7 @@ SSH_MODE= @SSHMODE@
INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@
TARGETS=ssh$(EXEEXT) sshd$(EXEEXT) ssh-add$(EXEEXT) ssh-keygen$(EXEEXT) ssh-agent$(EXEEXT) scp$(EXEEXT) sftp-server$(EXEEXT) $(EXTRA_TARGETS)
TARGETS=ssh$(EXEEXT) sshd$(EXEEXT) ssh-add$(EXEEXT) ssh-keygen$(EXEEXT) ssh-agent$(EXEEXT) scp$(EXEEXT) sftp-server$(EXEEXT)
LIBSSH_OBJS=atomicio.o authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o cipher.o cli.o compat.o compress.o crc32.o cygwin_util.o deattack.o dispatch.o hmac.o hostfile.o key.o kex.o log.o match.o mpaux.o nchan.o packet.o radix.o rijndael.o entropy.o readpass.o rsa.o ssh-dss.o ssh-rsa.o tildexpand.o ttymodes.o uidswap.o util.o uuencode.o xmalloc.o

View File

@ -61,7 +61,7 @@ rresvport_af(int *alport, sa_family_t af)
int s;
int salen;
bzero(&ss, sizeof ss);
memset(&ss, '\0', sizeof ss);
sa = (struct sockaddr *)&ss;
switch (af) {

View File

@ -15,6 +15,10 @@ AC_PATH_PROG(ENT, ent)
AC_SUBST(ENT)
AC_PATH_PROGS(FILEPRIV, filepriv, true, /sbin:/usr/sbin)
if test -z "$AR" ; then
AC_MSG_ERROR([*** 'ar' missing, please install or fix your \$PATH ***])
fi
# Use LOGIN_PROGRAM from environment if possible
if test ! -z "$LOGIN_PROGRAM" ; then
AC_DEFINE_UNQUOTED(LOGIN_PROGRAM_FALLBACK, "$LOGIN_PROGRAM")

View File

@ -170,8 +170,6 @@ typedef long int int64_t;
# if (SIZEOF_LONG_LONG_INT == 8)
typedef long long int int64_t;
# define HAVE_INTXX_T 1
# else
# error "64 bit int type not found."
# endif
# endif
#endif
@ -182,8 +180,6 @@ typedef unsigned long int u_int64_t;
# if (SIZEOF_LONG_LONG_INT == 8)
typedef unsigned long long int u_int64_t;
# define HAVE_U_INTXX_T 1
# else
# error "64 bit int type not found."
# endif
# endif
#endif