- markus@cvs.openbsd.org 2004/12/23 17:38:07
[ssh-keygen.c]
leak; from mpech
diff --git a/ChangeLog b/ChangeLog
index ed50516..b5fdc2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
diff --git a/ssh-keygen.c b/ssh-keygen.c
index d39e7d8..7ed62a3 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -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 @@
} else if (strstr(type, "rsa")) {
ktype = KEY_RSA;
} else {
+ buffer_free(&b);
xfree(type);
return NULL;
}