Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssh/dist CID 1092495: Widen operatio...
details: https://anonhg.NetBSD.org/src/rev/817ea331164e
branches: trunk
changeset: 791280:817ea331164e
user: christos <christos%NetBSD.org@localhost>
date: Mon Nov 11 16:44:43 2013 +0000
description:
CID 1092495: Widen operation to prevent overflow
diffstat:
crypto/external/bsd/openssh/dist/serverloop.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4dd4a9b9fce7 -r 817ea331164e crypto/external/bsd/openssh/dist/serverloop.c
--- a/crypto/external/bsd/openssh/dist/serverloop.c Mon Nov 11 16:43:26 2013 +0000
+++ b/crypto/external/bsd/openssh/dist/serverloop.c Mon Nov 11 16:44:43 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: serverloop.c,v 1.7 2013/11/08 19:18:25 christos Exp $ */
+/* $NetBSD: serverloop.c,v 1.8 2013/11/11 16:44:43 christos Exp $ */
/* $OpenBSD: serverloop.c,v 1.168 2013/07/12 00:19:59 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
@@ -37,7 +37,7 @@
*/
#include "includes.h"
-__RCSID("$NetBSD: serverloop.c,v 1.7 2013/11/08 19:18:25 christos Exp $");
+__RCSID("$NetBSD: serverloop.c,v 1.8 2013/11/11 16:44:43 christos Exp $");
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/socket.h>
@@ -313,7 +313,7 @@
if (compat20 &&
max_time_milliseconds == 0 && options.client_alive_interval) {
client_alive_scheduled = 1;
- max_time_milliseconds = options.client_alive_interval * 1000;
+ max_time_milliseconds = options.client_alive_interval * 1000ULL;
}
if (compat20) {
Home |
Main Index |
Thread Index |
Old Index