]> andersk Git - openssh.git/blobdiff - auth2-chall.c
- djm@cvs.openbsd.org 2006/03/25 00:05:41
[openssh.git] / auth2-chall.c
index 8860a94c54dd62c13c4986d6c04f6bcacb70c7e0..d54ee2856f4862aaea07b4aec8b3f2ca3a13aaea 100644 (file)
@@ -290,7 +290,7 @@ input_userauth_info_response(int type, u_int32_t seq, void *ctxt)
        if (nresp > 100)
                fatal("input_userauth_info_response: too many replies");
        if (nresp > 0) {
-               response = xmalloc(nresp * sizeof(char *));
+               response = xcalloc(nresp, sizeof(char *));
                for (i = 0; i < nresp; i++)
                        response[i] = packet_get_string(NULL);
        }
This page took 0.031672 seconds and 4 git commands to generate.