=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/authfd.c,v retrieving revision 1.86 retrieving revision 1.86.8.1 diff -u -r1.86 -r1.86.8.1 --- src/usr.bin/ssh/authfd.c 2011/07/06 18:09:21 1.86 +++ src/usr.bin/ssh/authfd.c 2013/11/08 05:52:21 1.86.8.1 @@ -1,4 +1,4 @@ -/* $OpenBSD: authfd.c,v 1.86 2011/07/06 18:09:21 tedu Exp $ */ +/* $OpenBSD: authfd.c,v 1.86.8.1 2013/11/08 05:52:21 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -204,7 +204,7 @@ if (sock < 0) return NULL; - auth = xmalloc(sizeof(*auth)); + auth = xcalloc(1, sizeof(*auth)); auth->fd = sock; buffer_init(&auth->identities); auth->howmany = 0;