git: openssh/auth2.c: Add a missing include (canohost.h).

Sascha Wildner swildner at
Sat Jan 16 01:36:13 PST 2010

commit 7835af9a267f30042e93fc116d24bfcdde584ac9
Author: Sascha Wildner <saw at>
Date:   Sat Jan 16 10:34:09 2010 +0100

    openssh/auth2.c: Add a missing include (canohost.h).
    canohost.h has the prototypes for get_canonical_hostname() and
    get_remote_ipaddr(), which are used in auth2.c and which both return
    const char * (64 bits on x86_64). Without the prototypes, int is
    assumed (32 bits).
    This caused sshd(8) to crash on x86_64 (i386 isn't affected due to the
    char pointer and int having the same width there).
    Dragonfly-bug:  <>
    Pointed-out-by: dillon

Summary of changes:
 crypto/openssh/auth2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list