mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-02 01:17:52 +03:00
This fails if the gethostname() fails in a way that does not write the buffer, but returns 0 as a success. Fixes #106 Thanks oss-fuzz Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Sahana Prasad <sahana@redhat.com>
45 KiB
45 KiB