From 848984f25f8d8009b250e53e9d1c13af0943ad08 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 9 Jun 2009 12:03:24 +0000 Subject: [PATCH] Fix a possible crash bug. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@775 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/auth.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libssh/auth.c b/libssh/auth.c index 0fdf4e2c..752341dd 100644 --- a/libssh/auth.c +++ b/libssh/auth.c @@ -1075,10 +1075,10 @@ static void kbdint_clean(struct ssh_kbdint *kbd) { * of the draft */ static int kbdauth_init(SSH_SESSION *session, const char *user, const char *submethods) { - STRING *usr; - STRING *sub; - STRING *service; - STRING *method; + STRING *usr = NULL; + STRING *sub = NULL; + STRING *service = NULL; + STRING *method = NULL; int rc = SSH_AUTH_ERROR; enter_function();