- markus@cvs.openbsd.org 2003/10/15 09:48:45
[monitor_wrap.c]
check pmonitor != NULL
diff --git a/ChangeLog b/ChangeLog
index 2a9340f..e5db31f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
- (dtucker) [contrib/cygwin/ssh-host-config] Ensure entries in /etc/services
are created correctly with CRLF line terminations. Patch from vinschen at
redhat.com.
+ - (dtucker) OpenBSD CVS Sync
+ - markus@cvs.openbsd.org 2003/10/15 09:48:45
+ [monitor_wrap.c]
+ check pmonitor != NULL
20031021
- (dtucker) [INSTALL] Some system crypt() functions support MD5 passwords
@@ -1376,4 +1380,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
-$Id: ChangeLog,v 1.3086 2003/11/03 07:59:29 dtucker Exp $
+$Id: ChangeLog,v 1.3087 2003/11/03 09:03:25 dtucker Exp $
diff --git a/monitor_wrap.c b/monitor_wrap.c
index e19984e..fe14604 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -25,7 +25,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: monitor_wrap.c,v 1.33 2003/10/11 11:36:23 markus Exp $");
+RCSID("$OpenBSD: monitor_wrap.c,v 1.34 2003/10/15 09:48:45 markus Exp $");
#include <openssl/bn.h>
#include <openssl/dh.h>
@@ -73,7 +73,7 @@
* m_pid is only set in the privileged part, and
* points to the unprivileged child.
*/
- return (pmonitor->m_pid > 0);
+ return (pmonitor && pmonitor->m_pid > 0);
}
void