mirror of git://anongit.mindrot.org/openssh.git
- djm@cvs.openbsd.org 2013/05/10 03:40:07
[sshconnect2.c] fix bzero(ptr_to_struct, sizeof(ptr_to_struct)); bz#2100 from
This commit is contained in:
parent
5d8b702d95
commit
54da6be320
|
@ -11,6 +11,9 @@
|
|||
- dtucker@cvs.openbsd.org 2013/05/06 07:35:12
|
||||
[sftp-server.8]
|
||||
Reference the version of the sftp draft we actually implement. ok djm@
|
||||
- djm@cvs.openbsd.org 2013/05/10 03:40:07
|
||||
[sshconnect2.c]
|
||||
fix bzero(ptr_to_struct, sizeof(ptr_to_struct)); bz#2100 from
|
||||
|
||||
20130510
|
||||
- (dtucker) [configure.ac] Enable -Wsizeof-pointer-memaccess if the compiler
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: sshconnect2.c,v 1.194 2013/04/05 00:14:00 djm Exp $ */
|
||||
/* $OpenBSD: sshconnect2.c,v 1.195 2013/05/10 03:40:07 djm Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
||||
* Copyright (c) 2008 Damien Miller. All rights reserved.
|
||||
|
@ -1409,7 +1409,7 @@ pubkey_prepare(Authctxt *authctxt)
|
|||
/* If IdentitiesOnly set and key not found then don't use it */
|
||||
if (!found && options.identities_only) {
|
||||
TAILQ_REMOVE(&files, id, next);
|
||||
bzero(id, sizeof(id));
|
||||
bzero(id, sizeof(*id));
|
||||
free(id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue