From 9b70d328cbe3a48cde2821db4293ee6a974ac86d Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 3 Jul 2001 00:54:55 +0000 Subject: - sorry, forgot to check a pointer (This used to be commit 4e0299d4c091bc4a63740f12588675507601e8cd) --- source3/lib/interface.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/lib/interface.c b/source3/lib/interface.c index 48070c4446..e16afa45af 100644 --- a/source3/lib/interface.c +++ b/source3/lib/interface.c @@ -215,9 +215,11 @@ void load_interfaces(void) return; } - while (*ptr) { - interpret_interface(*ptr); - ptr++; + if (ptr) { + while (*ptr) { + interpret_interface(*ptr); + ptr++; + } } if (!local_interfaces) { -- cgit