diff --git a/src/conf.c b/src/conf.c index aae439e..8ff2892 100644 --- a/src/conf.c +++ b/src/conf.c @@ -385,6 +385,9 @@ static void strip_spaces(char **buf) while (**buf == ' ' || **buf == '\r' || **buf == '\t') ++*buf; + if (!**buf) + return; + tail = *buf; while (*tail) ++tail;