From 14696117cb2b12a498eb19f77c7a60ade72d062e Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Wed, 1 Sep 2010 21:05:00 +0100 Subject: [PATCH] Don't crash on an invalid guessdir --- src/uncommon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uncommon.c b/src/uncommon.c index 946924e..692191a 100644 --- a/src/uncommon.c +++ b/src/uncommon.c @@ -54,7 +54,7 @@ int ick_printfopens=0; /*@observer@*/ static const char *fileiter; size_t i = 0, j; FILE* ret; - while(*guessdir != '\0' && i