From: guenther@openbsd.org Date: Sat, 26 Dec 2015 20:51:35 +0000 (+0000) Subject: upstream commit X-Git-Tag: V_7_2_P1~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6213f0e180e54122bb1ba928e11c784e2b4e5380;p=thirdparty%2Fopenssh-portable.git 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 --- diff --git a/sshlogin.c b/sshlogin.c index 818312ff1..cea3e7697 100644 --- a/sshlogin.c +++ b/sshlogin.c @@ -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 * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland