Use xcalloc for permitted_adm_opens instead of xmalloc to ensure it's zeroed.
authordtucker <dtucker@openbsd.org>
Fri, 8 May 2015 03:25:07 +0000 (03:25 +0000)
committerdtucker <dtucker@openbsd.org>
Fri, 8 May 2015 03:25:07 +0000 (03:25 +0000)
commitab5cc4e26e5540081a1c5168f8df0f805a68b0a0
treeda62d374b318bae4983e99ca43eb3cda325214a2
parent100a083e124ca1d8a44d4039e6c56104151fe8ce
Use xcalloc for permitted_adm_opens instead of xmalloc to ensure it's zeroed.
Fixes post-auth crash with permitopen=none.  bz#2355, ok djm@
usr.bin/ssh/channels.c