diff options
-rw-r--r-- | src/auth.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1521,6 +1521,10 @@ static int ssh_userauth_kbdint_init(ssh_session session, } /* submethods */ + if (submethods == NULL) { + submethods = ""; + } + str = ssh_string_from_char(submethods); if (rc < 0) { goto fail; |