diff options
author | 2003-04-02 14:36:26 +0000 | |
---|---|---|
committer | 2003-04-02 14:36:26 +0000 | |
commit | 9f88b722cec89c8d8472a892f53a173f9227b456 (patch) | |
tree | fc6ab66bc6edf4050b89e02ccbd580587f230fda /usr.bin/ssh/ssh-keysign.c | |
parent | better error handling (diff) | |
download | wireguard-openbsd-9f88b722cec89c8d8472a892f53a173f9227b456.tar.xz wireguard-openbsd-9f88b722cec89c8d8472a892f53a173f9227b456.zip |
potential segfault if KEY_UNSPEC; cjwatson@debian.org; bug #526
Diffstat (limited to 'usr.bin/ssh/ssh-keysign.c')
-rw-r--r-- | usr.bin/ssh/ssh-keysign.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keysign.c b/usr.bin/ssh/ssh-keysign.c index 13023011a47..33977af665d 100644 --- a/usr.bin/ssh/ssh-keysign.c +++ b/usr.bin/ssh/ssh-keysign.c @@ -22,7 +22,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: ssh-keysign.c,v 1.10 2003/03/13 11:42:19 markus Exp $"); +RCSID("$OpenBSD: ssh-keysign.c,v 1.11 2003/04/02 14:36:26 markus Exp $"); #include <openssl/evp.h> #include <openssl/rand.h> @@ -49,7 +49,7 @@ valid_request(struct passwd *pw, char *host, Key **ret, u_char *data, u_int datalen) { Buffer b; - Key *key; + Key *key = NULL; u_char *pkblob; u_int blen, len; char *pkalg, *p; |