Репозитории ALT
S: | 4.4.0-alt2 |
5.1: | 3.81-alt5 |
4.1: | 3.81-alt2 |
4.0: | 3.81-alt2 |
3.0: | 3.81beta3-alt4 |
Группа :: Разработка/Прочее
Пакет: make
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: make-3.82-cvs-22.patch
Скачать
Скачать
2012-09-09 Paul Smith <psmith@gnu.org
(parse_file_seq): Break out of an infinite loop if we're not
making progress when parsing archive references.
--- a/read.c
+++ b/read.c
@@ -3087,6 +3087,7 @@ parse_file_seq (char **stringp, unsigned int size, int stopchar,
const char *e = p;
do
{
+ const char *o = e;
e = next_token (e);
/* Find the end of this word. We don't want to unquote and
we don't care about quoting since we're looking for the
@@ -3094,6 +3095,9 @@ parse_file_seq (char **stringp, unsigned int size, int stopchar,
while (*e != '\0' && *e != stopchar && *e != VMS_COMMA
&& ! isblank ((unsigned char) *e))
++e;
+ /* If we didn't move, we're done now. */
+ if (e == o)
+ break;
if (e[-1] == ')')
{
/* Found the end, so this is the first element in an