From 473c42a194d07581941d61cf30aaf0122213cfd7 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 28 Aug 1997 20:59:51 +0000 Subject: includes.h: Make sure REPLACE_GETPASS are wrapped with #ifdefs. nmbsync.c: Make sure REPLACE_GETPASS is defined before including includes.h clientutil.c: Catch null passwords. Fixes for a nmbd crash bug found by Herb Lewis @ SGI. Jermey(jallison@whistle.com) (This used to be commit 45c266baaea8755f1a3c0c4c7a87eb0752848ca2) --- source3/nmbsync.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/nmbsync.c') diff --git a/source3/nmbsync.c b/source3/nmbsync.c index fd85c82e2c..f2161f631a 100644 --- a/source3/nmbsync.c +++ b/source3/nmbsync.c @@ -20,6 +20,8 @@ */ +/* We *must have REPLACE_GETPASS defined here before the includes. */ +#define REPLACE_GETPASS #include "includes.h" extern int ClientNMB; -- cgit