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

看板DFBSD_commit作者時間16年前 (2010/01/16 18:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1BKOvash (DFBSD_commit)