diff options
-rw-r--r-- | common/blspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/blspec.c b/common/blspec.c index d5ddb4fbbd..0f806cac7a 100644 --- a/common/blspec.c +++ b/common/blspec.c @@ -75,7 +75,7 @@ static struct blspec_entry *blspec_entry_open(struct blspec *blspec, next = buf; - while (*next) { + while (next && *next) { char *name, *val; line = next; |