diff --git a/ChangeLog b/ChangeLog index eba53b36e..ba31bb80c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,8 @@ - (dtucker) [auth.h sshd.c openbsd-compat/port-aix.c] Bug #1006: fix bug in handling of password expiry messages returned by AIX's authentication routines, originally reported by robvdwal at sara.nl. + - (dtucker) [ssh.c] Prevent null pointer deref in port forwarding debug + message on some platforms. Patch from pete at seebeyond.com via djm. 20050329 - (dtucker) [contrib/aix/buildbff.sh] Bug #1005: Look up only the user we're @@ -2405,4 +2407,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3732 2005/03/31 11:39:25 dtucker Exp $ +$Id: ChangeLog,v 1.3733 2005/03/31 11:51:54 dtucker Exp $ diff --git a/ssh.c b/ssh.c index 1f025c784..703cb8bd3 100644 --- a/ssh.c +++ b/ssh.c @@ -876,6 +876,8 @@ ssh_init_forwarding(void) for (i = 0; i < options.num_remote_forwards; i++) { debug("Remote connections from %.200s:%d forwarded to " "local address %.200s:%d", + (options.remote_forwards[i].listen_host == NULL) ? + (options.gateway_ports ? "*" : "LOCALHOST") : options.remote_forwards[i].listen_host, options.remote_forwards[i].listen_port, options.remote_forwards[i].connect_host,