mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-24 10:53:24 +08:00
- markus@cvs.openbsd.org 2004/12/23 17:38:07
[ssh-keygen.c] leak; from mpech
This commit is contained in:
parent
172a5e8cb8
commit
7cfeecf670
@ -3,6 +3,9 @@
|
||||
- markus@cvs.openbsd.org 2004/12/23 17:35:48
|
||||
[session.c]
|
||||
check for NULL; from mpech
|
||||
- markus@cvs.openbsd.org 2004/12/23 17:38:07
|
||||
[ssh-keygen.c]
|
||||
leak; from mpech
|
||||
|
||||
20050118
|
||||
- (dtucker) [INSTALL Makefile.in configure.ac survey.sh.in] Implement
|
||||
@ -1975,4 +1978,4 @@
|
||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||
|
||||
$Id: ChangeLog,v 1.3609 2005/01/19 23:55:46 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.3610 2005/01/19 23:56:31 dtucker Exp $
|
||||
|
@ -12,7 +12,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
RCSID("$OpenBSD: ssh-keygen.c,v 1.117 2004/07/11 17:48:47 deraadt Exp $");
|
||||
RCSID("$OpenBSD: ssh-keygen.c,v 1.118 2004/12/23 17:38:07 markus Exp $");
|
||||
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/pem.h>
|
||||
@ -239,6 +239,7 @@ do_convert_private_ssh2_from_blob(u_char *blob, u_int blen)
|
||||
} else if (strstr(type, "rsa")) {
|
||||
ktype = KEY_RSA;
|
||||
} else {
|
||||
buffer_free(&b);
|
||||
xfree(type);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user