svn commit: r257954 - in head/crypto/openssh: . contrib/caldera contrib/redhat contrib/suse

From: Xin LI <delphij_at_FreeBSD.org>
Date: Mon, 11 Nov 2013 09:19:59 +0000 (UTC)
Author: delphij
Date: Mon Nov 11 09:19:58 2013
New Revision: 257954
URL: http://svnweb.freebsd.org/changeset/base/257954

Log:
  MFV r257952:
  
  Upgrade to OpenSSH 6.4p1.
  
  Bump VersionAddendum.
  
  Approved by:	des

Modified:
  head/crypto/openssh/ChangeLog
  head/crypto/openssh/README
  head/crypto/openssh/auth-options.c
  head/crypto/openssh/auth2-chall.c
  head/crypto/openssh/authfd.c
  head/crypto/openssh/channels.c
  head/crypto/openssh/cipher-3des1.c
  head/crypto/openssh/clientloop.c
  head/crypto/openssh/contrib/caldera/openssh.spec
  head/crypto/openssh/contrib/redhat/openssh.spec
  head/crypto/openssh/contrib/suse/openssh.spec
  head/crypto/openssh/gss-genr.c
  head/crypto/openssh/monitor_mm.c
  head/crypto/openssh/monitor_wrap.c
  head/crypto/openssh/packet.c
  head/crypto/openssh/schnorr.c
  head/crypto/openssh/sftp-client.c
  head/crypto/openssh/sftp-glob.c
  head/crypto/openssh/sftp-server.0
  head/crypto/openssh/sftp.0
  head/crypto/openssh/ssh_config
  head/crypto/openssh/ssh_config.5
  head/crypto/openssh/sshd_config
  head/crypto/openssh/sshd_config.5
  head/crypto/openssh/umac.c
  head/crypto/openssh/version.h
Directory Properties:
  head/crypto/openssh/   (props changed)

Modified: head/crypto/openssh/ChangeLog
==============================================================================
--- head/crypto/openssh/ChangeLog	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/ChangeLog	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,3 +1,20 _at__at_
+20131108
+ - (djm) OpenBSD CVS Sync
+   - markus_at_cvs.openbsd.org 2013/11/06 16:52:11
+     [monitor_wrap.c]
+     fix rekeying for AES-GCM modes; ok deraadt
+   - djm_at_cvs.openbsd.org 2013/11/08 00:39:15
+     [auth-options.c auth2-chall.c authfd.c channels.c cipher-3des1.c]
+     [clientloop.c gss-genr.c monitor_mm.c packet.c schnorr.c umac.c]
+     [sftp-client.c sftp-glob.c]
+     use calloc for all structure allocations; from markus_at_
+ - (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
+   [contrib/suse/openssh.spec] update version numbers
+   - djm_at_cvs.openbsd.org 2013/11/08 01:38:11
+     [version.h]
+     openssh-6.4
+ - (djm) Release 6.4p1
+
 20130913
  - (djm) [channels.c] Fix unaligned access on sparc machines in SOCKS5 code;
    ok dtucker_at_

Modified: head/crypto/openssh/README
==============================================================================
--- head/crypto/openssh/README	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/README	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-See http://www.openssh.com/txt/release-6.3 for the release notes.
+See http://www.openssh.com/txt/release-6.4 for the release notes.
 
 - A Japanese translation of this document and of the OpenSSH FAQ is
 - available at http://www.unixuser.org/~haruyama/security/openssh/index.html
_at__at_ -62,4 +62,4 _at__at_ References -
 [6] http://www.openbsd.org/cgi-bin/man.cgi?query=style&sektion=9
 [7] http://www.openssh.com/faq.html
 
-$Id: README,v 1.83 2013/07/25 02:34:00 djm Exp $
+$Id: README,v 1.83.4.1 2013/11/08 01:36:17 djm Exp $

Modified: head/crypto/openssh/auth-options.c
==============================================================================
--- head/crypto/openssh/auth-options.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/auth-options.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: auth-options.c,v 1.59 2013/07/12 00:19:58 djm Exp $ */
+/* $OpenBSD: auth-options.c,v 1.61 2013/11/08 00:39:14 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo_at_cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo_at_cs.hut.fi>, Espoo, Finland
_at__at_ -239,7 +239,7 _at__at_ auth_parse_options(struct passwd *pw, ch
 			auth_debug_add("Adding to environment: %.900s", s);
 			debug("Adding to environment: %.900s", s);
 			opts++;
-			new_envstring = xmalloc(sizeof(struct envstring));
+			new_envstring = xcalloc(1, sizeof(struct envstring));
 			new_envstring->s = s;
 			new_envstring->next = custom_environment;
 			custom_environment = new_envstring;

Modified: head/crypto/openssh/auth2-chall.c
==============================================================================
--- head/crypto/openssh/auth2-chall.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/auth2-chall.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: auth2-chall.c,v 1.38 2013/05/17 00:13:13 djm Exp $ */
+/* $OpenBSD: auth2-chall.c,v 1.39 2013/11/08 00:39:14 djm Exp $ */
 /*
  * Copyright (c) 2001 Markus Friedl.  All rights reserved.
  * Copyright (c) 2001 Per Allansson.  All rights reserved.
_at__at_ -111,7 +111,7 _at__at_ kbdint_alloc(const char *devs)
 		remove_kbdint_device("pam");
 #endif
 
-	kbdintctxt = xmalloc(sizeof(KbdintAuthctxt));
+	kbdintctxt = xcalloc(1, sizeof(KbdintAuthctxt));
 	if (strcmp(devs, "") == 0) {
 		buffer_init(&b);
 		for (i = 0; devices[i]; i++) {

Modified: head/crypto/openssh/authfd.c
==============================================================================
--- head/crypto/openssh/authfd.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/authfd.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: authfd.c,v 1.87 2013/05/17 00:13:13 djm Exp $ */
+/* $OpenBSD: authfd.c,v 1.88 2013/11/08 00:39:14 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo_at_cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo_at_cs.hut.fi>, Espoo, Finland
_at__at_ -206,7 +206,7 _at__at_ ssh_get_authentication_connection(void)
 	if (sock < 0)
 		return NULL;
 
-	auth = xmalloc(sizeof(*auth));
+	auth = xcalloc(1, sizeof(*auth));
 	auth->fd = sock;
 	buffer_init(&auth->identities);
 	auth->howmany = 0;

Modified: head/crypto/openssh/channels.c
==============================================================================
--- head/crypto/openssh/channels.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/channels.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: channels.c,v 1.324 2013/07/12 00:19:58 djm Exp $ */
+/* $OpenBSD: channels.c,v 1.327 2013/11/08 00:39:15 djm Exp $ */
 /* $FreeBSD$ */
 /*
  * Author: Tatu Ylonen <ylo_at_cs.hut.fi>
_at__at_ -711,7 +711,7 _at__at_ channel_register_status_confirm(int id, 
 	if ((c = channel_lookup(id)) == NULL)
 		fatal("channel_register_expect: %d: bad id", id);
 
-	cc = xmalloc(sizeof(*cc));
+	cc = xcalloc(1, sizeof(*cc));
 	cc->cb = cb;
 	cc->abandon_cb = abandon_cb;
 	cc->ctx = ctx;

Modified: head/crypto/openssh/cipher-3des1.c
==============================================================================
--- head/crypto/openssh/cipher-3des1.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/cipher-3des1.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: cipher-3des1.c,v 1.8 2013/05/17 00:13:13 djm Exp $ */
+/* $OpenBSD: cipher-3des1.c,v 1.9 2013/11/08 00:39:15 djm Exp $ */
 /*
  * Copyright (c) 2003 Markus Friedl.  All rights reserved.
  *
_at__at_ -67,7 +67,7 _at__at_ ssh1_3des_init(EVP_CIPHER_CTX *ctx, cons
 	u_char *k1, *k2, *k3;
 
 	if ((c = EVP_CIPHER_CTX_get_app_data(ctx)) == NULL) {
-		c = xmalloc(sizeof(*c));
+		c = xcalloc(1, sizeof(*c));
 		EVP_CIPHER_CTX_set_app_data(ctx, c);
 	}
 	if (key == NULL)

Modified: head/crypto/openssh/clientloop.c
==============================================================================
--- head/crypto/openssh/clientloop.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/clientloop.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: clientloop.c,v 1.253 2013/06/07 15:37:52 dtucker Exp $ */
+/* $OpenBSD: clientloop.c,v 1.255 2013/11/08 00:39:15 djm Exp $ */
 /* $FreeBSD$ */
 /*
  * Author: Tatu Ylonen <ylo_at_cs.hut.fi>
_at__at_ -838,7 +838,7 _at__at_ void
 client_expect_confirm(int id, const char *request,
     enum confirm_action action)
 {
-	struct channel_reply_ctx *cr = xmalloc(sizeof(*cr));
+	struct channel_reply_ctx *cr = xcalloc(1, sizeof(*cr));
 
 	cr->request_type = request;
 	cr->action = action;
_at__at_ -861,7 +861,7 _at__at_ client_register_global_confirm(global_co
 		return;
 	}
 
-	gc = xmalloc(sizeof(*gc));
+	gc = xcalloc(1, sizeof(*gc));
 	gc->cb = cb;
 	gc->ctx = ctx;
 	gc->ref_count = 1;
_at__at_ -1439,7 +1439,7 _at__at_ client_new_escape_filter_ctx(int escape_
 {
 	struct escape_filter_ctx *ret;
 
-	ret = xmalloc(sizeof(*ret));
+	ret = xcalloc(1, sizeof(*ret));
 	ret->escape_pending = 0;
 	ret->escape_char = escape_char;
 	return (void *)ret;

Modified: head/crypto/openssh/contrib/caldera/openssh.spec
==============================================================================
--- head/crypto/openssh/contrib/caldera/openssh.spec	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/contrib/caldera/openssh.spec	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -16,7 +16,7 _at__at_
 
 #old cvs stuff.  please update before use.  may be deprecated.
 %define use_stable	1
-%define version 	6.3p1
+%define version 	6.4p1
 %if %{use_stable}
   %define cvs		%{nil}
   %define release 	1
_at__at_ -363,4 +363,4 _at__at_ fi
 * Mon Jan 01 1998 ...
 Template Version: 1.31
 
-$Id: openssh.spec,v 1.80 2013/07/25 02:34:00 djm Exp $
+$Id: openssh.spec,v 1.80.4.1 2013/11/08 01:36:19 djm Exp $

Modified: head/crypto/openssh/contrib/redhat/openssh.spec
==============================================================================
--- head/crypto/openssh/contrib/redhat/openssh.spec	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/contrib/redhat/openssh.spec	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-%define ver 6.3p1
+%define ver 6.4p1
 %define rel 1
 
 # OpenSSH privilege separation requires a user & group ID

Modified: head/crypto/openssh/contrib/suse/openssh.spec
==============================================================================
--- head/crypto/openssh/contrib/suse/openssh.spec	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/contrib/suse/openssh.spec	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -13,7 +13,7 _at__at_
 
 Summary:	OpenSSH, a free Secure Shell (SSH) protocol implementation
 Name:		openssh
-Version:	6.3p1
+Version:	6.4p1
 URL:		http://www.openssh.com/
 Release:	1
 Source0:	openssh-%{version}.tar.gz

Modified: head/crypto/openssh/gss-genr.c
==============================================================================
--- head/crypto/openssh/gss-genr.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/gss-genr.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: gss-genr.c,v 1.21 2013/05/17 00:13:13 djm Exp $ */
+/* $OpenBSD: gss-genr.c,v 1.22 2013/11/08 00:39:15 djm Exp $ */
 
 /*
  * Copyright (c) 2001-2007 Simon Wilkinson. All rights reserved.
_at__at_ -62,7 +62,7 _at__at_ ssh_gssapi_set_oid_data(Gssctxt *ctx, vo
 		free(ctx->oid->elements);
 		free(ctx->oid);
 	}
-	ctx->oid = xmalloc(sizeof(gss_OID_desc));
+	ctx->oid = xcalloc(1, sizeof(gss_OID_desc));
 	ctx->oid->length = len;
 	ctx->oid->elements = xmalloc(len);
 	memcpy(ctx->oid->elements, data, len);

Modified: head/crypto/openssh/monitor_mm.c
==============================================================================
--- head/crypto/openssh/monitor_mm.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/monitor_mm.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: monitor_mm.c,v 1.17 2013/05/17 00:13:13 djm Exp $ */
+/* $OpenBSD: monitor_mm.c,v 1.18 2013/11/08 00:39:15 djm Exp $ */
 /*
  * Copyright 2002 Niels Provos <provos_at_citi.umich.edu>
  * All rights reserved.
_at__at_ -65,7 +65,7 _at__at_ mm_make_entry(struct mm_master *mm, stru
 	struct mm_share *tmp, *tmp2;
 
 	if (mm->mmalloc == NULL)
-		tmp = xmalloc(sizeof(struct mm_share));
+		tmp = xcalloc(1, sizeof(struct mm_share));
 	else
 		tmp = mm_xmalloc(mm->mmalloc, sizeof(struct mm_share));
 	tmp->address = address;
_at__at_ -88,7 +88,7 _at__at_ mm_create(struct mm_master *mmalloc, siz
 	struct mm_master *mm;
 
 	if (mmalloc == NULL)
-		mm = xmalloc(sizeof(struct mm_master));
+		mm = xcalloc(1, sizeof(struct mm_master));
 	else
 		mm = mm_xmalloc(mmalloc, sizeof(struct mm_master));
 
_at__at_ -161,6 +161,7 _at__at_ mm_xmalloc(struct mm_master *mm, size_t 
 	address = mm_malloc(mm, size);
 	if (address == NULL)
 		fatal("%s: mm_malloc(%lu)", __func__, (u_long)size);
+	memset(address, 0, size);
 	return (address);
 }
 

Modified: head/crypto/openssh/monitor_wrap.c
==============================================================================
--- head/crypto/openssh/monitor_wrap.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/monitor_wrap.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: monitor_wrap.c,v 1.76 2013/05/17 00:13:13 djm Exp $ */
+/* $OpenBSD: monitor_wrap.c,v 1.77 2013/11/06 16:52:11 markus Exp $ */
 /*
  * Copyright 2002 Niels Provos <provos_at_citi.umich.edu>
  * Copyright 2002 Markus Friedl <markus_at_openbsd.org>
_at__at_ -482,7 +482,7 _at__at_ mm_newkeys_from_blob(u_char *blob, int b
 	buffer_init(&b);
 	buffer_append(&b, blob, blen);
 
-	newkey = xmalloc(sizeof(*newkey));
+	newkey = xcalloc(1, sizeof(*newkey));
 	enc = &newkey->enc;
 	mac = &newkey->mac;
 	comp = &newkey->comp;

Modified: head/crypto/openssh/packet.c
==============================================================================
--- head/crypto/openssh/packet.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/packet.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: packet.c,v 1.188 2013/07/12 00:19:58 djm Exp $ */
+/* $OpenBSD: packet.c,v 1.189 2013/11/08 00:39:15 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo_at_cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo_at_cs.hut.fi>, Espoo, Finland
_at__at_ -999,7 +999,7 _at__at_ packet_send2(void)
 		    (type == SSH2_MSG_SERVICE_REQUEST) ||
 		    (type == SSH2_MSG_SERVICE_ACCEPT)) {
 			debug("enqueue packet: %u", type);
-			p = xmalloc(sizeof(*p));
+			p = xcalloc(1, sizeof(*p));
 			p->type = type;
 			memcpy(&p->payload, &active_state->outgoing_packet,
 			    sizeof(Buffer));

Modified: head/crypto/openssh/schnorr.c
==============================================================================
--- head/crypto/openssh/schnorr.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/schnorr.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: schnorr.c,v 1.7 2013/05/17 00:13:14 djm Exp $ */
+/* $OpenBSD: schnorr.c,v 1.8 2013/11/08 00:39:15 djm Exp $ */
 /* $FreeBSD$ */
 /*
  * Copyright (c) 2008 Damien Miller.  All rights reserved.
_at__at_ -552,7 +552,7 _at__at_ modp_group_from_g_and_safe_p(const char 
 {
 	struct modp_group *ret;
 
-	ret = xmalloc(sizeof(*ret));
+	ret = xcalloc(1, sizeof(*ret));
 	ret->p = ret->q = ret->g = NULL;
 	if (BN_hex2bn(&ret->p, grp_p) == 0 ||
 	    BN_hex2bn(&ret->g, grp_g) == 0)

Modified: head/crypto/openssh/sftp-client.c
==============================================================================
--- head/crypto/openssh/sftp-client.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/sftp-client.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: sftp-client.c,v 1.101 2013/07/25 00:56:51 djm Exp $ */
+/* $OpenBSD: sftp-client.c,v 1.108 2013/11/08 00:39:15 djm Exp $ */
 /*
  * Copyright (c) 2001-2004 Damien Miller <djm_at_openbsd.org>
  *
_at__at_ -471,7 +471,7 _at__at_ do_lsreaddir(struct sftp_conn *conn, cha
 
 	if (dir) {
 		ents = 0;
-		*dir = xmalloc(sizeof(**dir));
+		*dir = xcalloc(1, sizeof(**dir));
 		(*dir)[0] = NULL;
 	}
 
_at__at_ -545,7 +545,7 _at__at_ do_lsreaddir(struct sftp_conn *conn, cha
 
 			if (dir) {
 				*dir = xrealloc(*dir, ents + 2, sizeof(**dir));
-				(*dir)[ents] = xmalloc(sizeof(***dir));
+				(*dir)[ents] = xcalloc(1, sizeof(***dir));
 				(*dir)[ents]->filename = xstrdup(filename);
 				(*dir)[ents]->longname = xstrdup(longname);
 				memcpy(&(*dir)[ents]->a, a, sizeof(*a));
_at__at_ -564,7 +564,7 _at__at_ do_lsreaddir(struct sftp_conn *conn, cha
 	/* Don't return partial matches on interrupt */
 	if (interrupted && dir != NULL && *dir != NULL) {
 		free_sftp_dirents(*dir);
-		*dir = xmalloc(sizeof(**dir));
+		*dir = xcalloc(1, sizeof(**dir));
 		**dir = NULL;
 	}
 
_at__at_ -1105,7 +1105,7 _at__at_ do_download(struct sftp_conn *conn, char
 			    (unsigned long long)offset,
 			    (unsigned long long)offset + buflen - 1,
 			    num_req, max_req);
-			req = xmalloc(sizeof(*req));
+			req = xcalloc(1, sizeof(*req));
 			req->id = conn->msg_id++;
 			req->len = buflen;
 			req->offset = offset;
_at__at_ -1463,7 +1463,7 _at__at_ do_upload(struct sftp_conn *conn, char *
 			    strerror(errno));
 
 		if (len != 0) {
-			ack = xmalloc(sizeof(*ack));
+			ack = xcalloc(1, sizeof(*ack));
 			ack->id = ++id;
 			ack->offset = offset;
 			ack->len = len;

Modified: head/crypto/openssh/sftp-glob.c
==============================================================================
--- head/crypto/openssh/sftp-glob.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/sftp-glob.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: sftp-glob.c,v 1.24 2013/05/17 00:13:14 djm Exp $ */
+/* $OpenBSD: sftp-glob.c,v 1.25 2013/11/08 00:39:15 djm Exp $ */
 /*
  * Copyright (c) 2001-2004 Damien Miller <djm_at_openbsd.org>
  *
_at__at_ -48,7 +48,7 _at__at_ fudge_opendir(const char *path)
 {
 	struct SFTP_OPENDIR *r;
 
-	r = xmalloc(sizeof(*r));
+	r = xcalloc(1, sizeof(*r));
 
 	if (do_readdir(cur.conn, (char *)path, &r->dir)) {
 		free(r);

Modified: head/crypto/openssh/sftp-server.0
==============================================================================
--- head/crypto/openssh/sftp-server.0	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/sftp-server.0	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -61,9 +61,8 _at__at_ DESCRIPTION
 SEE ALSO
      sftp(1), ssh(1), sshd_config(5), sshd(8)
 
-     T. Ylonen and S. Lehtinen, SSH File Transfer Protocol,
-     draft-ietf-secsh-filexfer-02.txt, October 2001, work in progress
-     material.
+     T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh-
+     filexfer-02.txt, October 2001, work in progress material.
 
 HISTORY
      sftp-server first appeared in OpenBSD 2.8.

Modified: head/crypto/openssh/sftp.0
==============================================================================
--- head/crypto/openssh/sftp.0	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/sftp.0	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -342,8 +342,7 _at__at_ SEE ALSO
      ftp(1), ls(1), scp(1), ssh(1), ssh-add(1), ssh-keygen(1), glob(3),
      ssh_config(5), sftp-server(8), sshd(8)
 
-     T. Ylonen and S. Lehtinen, SSH File Transfer Protocol,
-     draft-ietf-secsh-filexfer-00.txt, January 2001, work in progress
-     material.
+     T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh-
+     filexfer-00.txt, January 2001, work in progress material.
 
 OpenBSD 5.4                      July 25, 2013                     OpenBSD 5.4

Modified: head/crypto/openssh/ssh_config
==============================================================================
--- head/crypto/openssh/ssh_config	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/ssh_config	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -48,4 +48,4 _at__at_
 #   ProxyCommand ssh -q -W %h:%p gateway.example.com
 #   RekeyLimit 1G 1h
 #   VerifyHostKeyDNS yes
-#   VersionAddendum FreeBSD-20130918
+#   VersionAddendum FreeBSD-20131111

Modified: head/crypto/openssh/ssh_config.5
==============================================================================
--- head/crypto/openssh/ssh_config.5	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/ssh_config.5	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1259,7 +1259,7 _at__at_ See also VERIFYING HOST KEYS in
 Specifies a string to append to the regular version string to identify
 OS- or site-specific modifications.
 The default is
-.Dq FreeBSD-20130918 .
+.Dq FreeBSD-20131111 .
 .It Cm VisualHostKey
 If this flag is set to
 .Dq yes ,

Modified: head/crypto/openssh/sshd_config
==============================================================================
--- head/crypto/openssh/sshd_config	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/sshd_config	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -118,7 +118,7 _at__at_
 #MaxStartups 10:30:100
 #PermitTunnel no
 #ChrootDirectory none
-#VersionAddendum FreeBSD-20130918
+#VersionAddendum FreeBSD-20131111
 
 # no default banner path
 #Banner none

Modified: head/crypto/openssh/sshd_config.5
==============================================================================
--- head/crypto/openssh/sshd_config.5	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/sshd_config.5	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1217,7 +1217,7 _at__at_ restrictions.
 Optionally specifies additional text to append to the SSH protocol banner
 sent by the server upon connection.
 The default is
-.Dq FreeBSD-20130918 .
+.Dq FreeBSD-20131111 .
 .It Cm X11DisplayOffset
 Specifies the first display number available for
 .Xr sshd 8 Ns 's

Modified: head/crypto/openssh/umac.c
==============================================================================
--- head/crypto/openssh/umac.c	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/umac.c	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,4 +1,4 _at__at_
-/* $OpenBSD: umac.c,v 1.7 2013/07/22 05:00:17 djm Exp $ */
+/* $OpenBSD: umac.c,v 1.8 2013/11/08 00:39:15 djm Exp $ */
 /* -----------------------------------------------------------------------
  * 
  * umac.c -- C Implementation UMAC Message Authentication
_at__at_ -1227,7 +1227,7 _at__at_ struct umac_ctx *umac_new(const u_char k
     size_t bytes_to_add;
     aes_int_key prf_key;
     
-    octx = ctx = xmalloc(sizeof(*ctx) + ALLOC_BOUNDARY);
+    octx = ctx = xcalloc(1, sizeof(*ctx) + ALLOC_BOUNDARY);
     if (ctx) {
         if (ALLOC_BOUNDARY) {
             bytes_to_add = ALLOC_BOUNDARY -

Modified: head/crypto/openssh/version.h
==============================================================================
--- head/crypto/openssh/version.h	Mon Nov 11 09:14:43 2013	(r257953)
+++ head/crypto/openssh/version.h	Mon Nov 11 09:19:58 2013	(r257954)
_at__at_ -1,10 +1,10 _at__at_
-/* $OpenBSD: version.h,v 1.67 2013/07/25 00:57:37 djm Exp $ */
+/* $OpenBSD: version.h,v 1.68 2013/11/08 01:38:11 djm Exp $ */
 /* $FreeBSD$ */
 
-#define SSH_VERSION	"OpenSSH_6.3"
+#define SSH_VERSION	"OpenSSH_6.4"
 
 #define SSH_PORTABLE	"p1"
 #define SSH_RELEASE	SSH_VERSION SSH_PORTABLE
 
-#define SSH_VERSION_FREEBSD	"FreeBSD-20130918"
+#define SSH_VERSION_FREEBSD	"FreeBSD-20131111"
 #define SSH_VERSION_HPN		"_hpn13v11"
Received on Mon Nov 11 2013 - 09:20:04 UTC