diff --git a/blackwhitelist.c b/blackwhitelist.c index f7b6e8d..b04b6ff 100644 --- a/blackwhitelist.c +++ b/blackwhitelist.c @@ -72,6 +72,8 @@ int blackwhitelist_load_list(const char *filename) { line); continue; } + if (strlen(line) < 4) + continue; if (add_hostname(line)) cnt++; }