Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=bd1be3d0f9e943a9cd9bea514eecd3a21c0d826c
commit bd1be3d0f9e943a9cd9bea514eecd3a21c0d826c Author: James Buren <[email protected]> Date: Fri Sep 7 00:51:16 2012 -0500 fix infinite loop in get_text_length() diff --git a/src/utility.c b/src/utility.c index e55e44b..acfd65c 100644 --- a/src/utility.c +++ b/src/utility.c @@ -108,6 +108,9 @@ extern int get_text_length(const char *s) return -1; } + if(n == 0) + break; + ++l; s += n; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
