DragonFly BSD
DragonFly commits List (threaded) for 2010-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Jan 2010 01:34:27 -0800 (PST)

commit 7835af9a267f30042e93fc116d24bfcdde584ac9
Author: Sascha Wildner <saw@online.de>
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:  <http://bugs.dragonflybsd.org/issue1649>
    Pointed-out-by: dillon

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7835af9a267f30042e93fc116d24bfcdde584ac9


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]