mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 16:54:51 +02: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
|
- markus@cvs.openbsd.org 2004/12/23 17:35:48
|
||||||
[session.c]
|
[session.c]
|
||||||
check for NULL; from mpech
|
check for NULL; from mpech
|
||||||
|
- markus@cvs.openbsd.org 2004/12/23 17:38:07
|
||||||
|
[ssh-keygen.c]
|
||||||
|
leak; from mpech
|
||||||
|
|
||||||
20050118
|
20050118
|
||||||
- (dtucker) [INSTALL Makefile.in configure.ac survey.sh.in] Implement
|
- (dtucker) [INSTALL Makefile.in configure.ac survey.sh.in] Implement
|
||||||
@ -1975,4 +1978,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (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"
|
#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/evp.h>
|
||||||
#include <openssl/pem.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")) {
|
} else if (strstr(type, "rsa")) {
|
||||||
ktype = KEY_RSA;
|
ktype = KEY_RSA;
|
||||||
} else {
|
} else {
|
||||||
|
buffer_free(&b);
|
||||||
xfree(type);
|
xfree(type);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user