diff options
author | guenther@openbsd.org <guenther@openbsd.org> | 2015-12-26 20:51:35 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-01-07 20:13:31 +1100 |
commit | 6213f0e180e54122bb1ba928e11c784e2b4e5380 (patch) | |
tree | 2970c1ac7313973b80360a2f8980859a21c72001 | |
parent | d7d2bc95045a43dd56ea696cc1d030ac9d77e81f (diff) |
upstream commit
Use pread/pwrite instead separate lseek+read/write for
lastlog. Cast to off_t before multiplication to avoid truncation on ILP32
ok kettenis@ mmcc@
Upstream-ID: fc40092568cd195719ddf1a00aa0742340d616cf
-rw-r--r-- | sshlogin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sshlogin.c b/sshlogin.c index 818312ff1..cea3e7697 100644 --- a/sshlogin.c +++ b/sshlogin.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshlogin.c,v 1.31 2015/01/20 23:14:00 deraadt Exp $ */ | 1 | /* $OpenBSD: sshlogin.c,v 1.32 2015/12/26 20:51:35 guenther Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |