From: Vitezslav Cizek Date: Wed, 26 Mar 2014 21:01:22 +0000 (+0200) Subject: fix an eternal loop in handle_option X-Git-Tag: release_1_28~12 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=852895847f41f9b5f268fc84f892c94497f4ffbe;p=debian%2Ftar fix an eternal loop in handle_option * src/names.c (handle_option): increment loop counter --- diff --git a/src/names.c b/src/names.c index 9fc0ad58..594e7fdd 100644 --- a/src/names.c +++ b/src/names.c @@ -439,7 +439,7 @@ handle_option (const char *str) int i; while (*str && isspace (*str)) - ; + ++str; if (*str != '-') return 1;