* app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full

buffer after copying string.
This commit is contained in:
Alan Modra
2005-09-28 12:31:44 +00:00
parent 7f1ee71f57
commit 37b75c0cc0
2 changed files with 11 additions and 4 deletions

View File

@ -1302,6 +1302,8 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen)
case 1: *to++ = *from++;
}
}
if (to >= toend)
goto tofull;
ch = GET ();
}
}