diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ssh-ecdsa.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -6,6 +6,10 @@ | |||
6 | - djm@cvs.openbsd.org 2012/01/07 21:11:36 | 6 | - djm@cvs.openbsd.org 2012/01/07 21:11:36 |
7 | [mux.c] | 7 | [mux.c] |
8 | fix double-free in new session handler | 8 | fix double-free in new session handler |
9 | - miod@cvs.openbsd.org 2012/01/08 13:17:11 | ||
10 | [ssh-ecdsa.c] | ||
11 | Fix memory leak in ssh_ecdsa_verify(); from Loganaden Velvindron, | ||
12 | ok markus@ | ||
9 | 13 | ||
10 | 20120206 | 14 | 20120206 |
11 | - (djm) [ssh-keygen.c] Don't fail in do_gen_all_hostkeys on platforms | 15 | - (djm) [ssh-keygen.c] Don't fail in do_gen_all_hostkeys on platforms |
diff --git a/ssh-ecdsa.c b/ssh-ecdsa.c index c8276b460..085468ee7 100644 --- a/ssh-ecdsa.c +++ b/ssh-ecdsa.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-ecdsa.c,v 1.4 2010/09/10 01:04:10 djm Exp $ */ | 1 | /* $OpenBSD: ssh-ecdsa.c,v 1.5 2012/01/08 13:17:11 miod Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2010 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2010 Damien Miller. All rights reserved. |
@@ -145,6 +145,7 @@ ssh_ecdsa_verify(const Key *key, const u_char *signature, u_int signaturelen, | |||
145 | buffer_get_bignum2(&bb, sig->s); | 145 | buffer_get_bignum2(&bb, sig->s); |
146 | if (buffer_len(&bb) != 0) | 146 | if (buffer_len(&bb) != 0) |
147 | fatal("%s: remaining bytes in inner sigblob", __func__); | 147 | fatal("%s: remaining bytes in inner sigblob", __func__); |
148 | buffer_free(&bb); | ||
148 | 149 | ||
149 | /* clean up */ | 150 | /* clean up */ |
150 | memset(sigblob, 0, len); | 151 | memset(sigblob, 0, len); |