diff options
author | Damien Miller <djm@mindrot.org> | 2003-04-09 20:50:26 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-04-09 20:50:26 +1000 |
commit | 703ced55bbe66774a73b4dbe1e952cc269c5d3fb (patch) | |
tree | 6e2312d42db8348ad969369a15203b8e65fc4af4 /ssh-keysign.c | |
parent | a5539d2698ea83b4a7f9abe7cde8306e2fd76f33 (diff) |
- markus@cvs.openbsd.org 2003/04/02 14:36:26
[ssh-keysign.c]
potential segfault if KEY_UNSPEC; cjwatson@debian.org; bug #526
Diffstat (limited to 'ssh-keysign.c')
-rw-r--r-- | ssh-keysign.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c index 26c8faad2..97a76cd9f 100644 --- a/ssh-keysign.c +++ b/ssh-keysign.c | |||
@@ -22,7 +22,7 @@ | |||
22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 | */ | 23 | */ |
24 | #include "includes.h" | 24 | #include "includes.h" |
25 | RCSID("$OpenBSD: ssh-keysign.c,v 1.10 2003/03/13 11:42:19 markus Exp $"); | 25 | RCSID("$OpenBSD: ssh-keysign.c,v 1.11 2003/04/02 14:36:26 markus Exp $"); |
26 | 26 | ||
27 | #include <openssl/evp.h> | 27 | #include <openssl/evp.h> |
28 | #include <openssl/rand.h> | 28 | #include <openssl/rand.h> |
@@ -55,7 +55,7 @@ valid_request(struct passwd *pw, char *host, Key **ret, u_char *data, | |||
55 | u_int datalen) | 55 | u_int datalen) |
56 | { | 56 | { |
57 | Buffer b; | 57 | Buffer b; |
58 | Key *key; | 58 | Key *key = NULL; |
59 | u_char *pkblob; | 59 | u_char *pkblob; |
60 | u_int blen, len; | 60 | u_int blen, len; |
61 | char *pkalg, *p; | 61 | char *pkalg, *p; |