]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream commit
authorguenther@openbsd.org <guenther@openbsd.org>
Sat, 26 Dec 2015 20:51:35 +0000 (20:51 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 7 Jan 2016 09:13:31 +0000 (20:13 +1100)
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

sshlogin.c

index 818312ff129bf1cdbb618de2b94fbfc5d449e227..cea3e7697401e7733fc72b5d003d58edbfce7671 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshlogin.c,v 1.31 2015/01/20 23:14:00 deraadt Exp $ */
+/* $OpenBSD: sshlogin.c,v 1.32 2015/12/26 20:51:35 guenther Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland