sshd crashes
shiva kumar
shivakumar2696 at gmail.com
Mon Feb 17 19:22:27 AEDT 2020
Hi,
please, can anyone tell me why I'm getting this error?
how to resolve this error?
Thanks and Regards
Shivakumar
On Mon, Feb 17, 2020 at 11:37 AM shiva kumar <shivakumar2696 at gmail.com>
wrote:
> Hi,
> sshd crashes at below location.
> After compilation, when I start sshd it crashes in “sshbuf-misc.c” file
> inside “sshbuf_b64tod” function at line size_t plen = strlen(b64);
>
> The call trace is as below,
> Sshd main function -> sshkey_load_public -> sshkey_try_load_public ->
> sshkey_read -> sshbuf_b64tod
>
> During compilation a warning is thrown. Is this the trigger point for the
> crash?
> "sshkey.c", : warning #2223-D: function "strndup" declared implicitly
> if ((blobcopy = strndup(cp, space)) == NULL)
>
> Please help me to resolve this issue.
>
> Thank you.
>
> --
> *With Best Regards*
> *Shivakumar S*
>
--
*With Best Regards*
*Shivakumar S*
More information about the openssh-unix-dev
mailing list