[ssh-keygen.c]
     leak; from mpech
This commit is contained in:
Darren Tucker 2005-01-20 10:56:31 +11:00
parent 172a5e8cb8
commit 7cfeecf670
2 changed files with 6 additions and 2 deletions

View File

@ -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 $

View File

@ -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;
}