diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-06-09 12:03:24 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-06-09 12:03:24 +0000 |
commit | 848984f25f8d8009b250e53e9d1c13af0943ad08 (patch) | |
tree | cb6b4e7c08d528de40f37fa0d22319fb906b63cb /libssh/auth.c | |
parent | 5a755a8219fb3d1d6337300178b0572bd7397fe9 (diff) | |
download | libssh-848984f25f8d8009b250e53e9d1c13af0943ad08.tar.gz libssh-848984f25f8d8009b250e53e9d1c13af0943ad08.tar.xz libssh-848984f25f8d8009b250e53e9d1c13af0943ad08.zip |
Fix a possible crash bug.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@775 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/auth.c')
-rw-r--r-- | libssh/auth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libssh/auth.c b/libssh/auth.c index 0fdf4e2..752341d 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(); |