[monitor_wrap.c]
check pmonitor != NULL
- (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
*/
#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>
* 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