diff options
author | Simo Sorce <idra@samba.org> | 2001-07-03 00:54:55 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-07-03 00:54:55 +0000 |
commit | 4e0299d4c091bc4a63740f12588675507601e8cd (patch) | |
tree | 2d5f9a20fafce5da937b2b3bc9eeb5a850756e3a | |
parent | 8d1dab74c26d25938de14b34b383890731e9ebd0 (diff) | |
download | samba-4e0299d4c091bc4a63740f12588675507601e8cd.tar.gz samba-4e0299d4c091bc4a63740f12588675507601e8cd.tar.xz samba-4e0299d4c091bc4a63740f12588675507601e8cd.zip |
- sorry, forgot to check a pointer
-rw-r--r-- | source/lib/interface.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/lib/interface.c b/source/lib/interface.c index 48070c4446a..e16afa45af0 100644 --- a/source/lib/interface.c +++ b/source/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) { |