mirror of git://anongit.mindrot.org/openssh.git
- (dtucker) [session.c] Fix bus errors on some 64-bit Solaris configurations.
Based on patches by Matthias Koeppe and Thomas Baden. ok djm@
This commit is contained in:
parent
7596d6866f
commit
f391ba6730
|
@ -31,6 +31,8 @@
|
||||||
- (dtucker) [configure.ac] Don't set DISABLE_SHADOW when configuring
|
- (dtucker) [configure.ac] Don't set DISABLE_SHADOW when configuring
|
||||||
--with-pam. ok djm@
|
--with-pam. ok djm@
|
||||||
- (dtucker) [ssh-gss.h] Prototype change missed in sync.
|
- (dtucker) [ssh-gss.h] Prototype change missed in sync.
|
||||||
|
- (dtucker) [session.c] Fix bus errors on some 64-bit Solaris configurations.
|
||||||
|
Based on patches by Matthias Koeppe and Thomas Baden. ok djm@
|
||||||
|
|
||||||
20030930
|
20030930
|
||||||
- (bal) Fix issues in openbsd-compat/realpath.c
|
- (bal) Fix issues in openbsd-compat/realpath.c
|
||||||
|
@ -1266,4 +1268,4 @@
|
||||||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3052 2003/10/02 07:32:30 dtucker Exp $
|
$Id: ChangeLog,v 1.3053 2003/10/02 10:07:09 dtucker Exp $
|
||||||
|
|
|
@ -906,7 +906,7 @@ read_etc_default_login(char ***env, u_int *envsize, uid_t uid)
|
||||||
{
|
{
|
||||||
char **tmpenv = NULL, *var;
|
char **tmpenv = NULL, *var;
|
||||||
u_int i, tmpenvsize = 0;
|
u_int i, tmpenvsize = 0;
|
||||||
mode_t mask;
|
u_long mask;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We don't want to copy the whole file to the child's environment,
|
* We don't want to copy the whole file to the child's environment,
|
||||||
|
@ -927,7 +927,7 @@ read_etc_default_login(char ***env, u_int *envsize, uid_t uid)
|
||||||
|
|
||||||
if ((var = child_get_env(tmpenv, "UMASK")) != NULL)
|
if ((var = child_get_env(tmpenv, "UMASK")) != NULL)
|
||||||
if (sscanf(var, "%5lo", &mask) == 1)
|
if (sscanf(var, "%5lo", &mask) == 1)
|
||||||
umask(mask);
|
umask((mode_t)mask);
|
||||||
|
|
||||||
for (i = 0; tmpenv[i] != NULL; i++)
|
for (i = 0; tmpenv[i] != NULL; i++)
|
||||||
xfree(tmpenv[i]);
|
xfree(tmpenv[i]);
|
||||||
|
|
Loading…
Reference in New Issue