diff options
author | Alan Modra <amodra@gmail.com> | 2005-09-28 12:31:44 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-09-28 12:31:44 +0000 |
commit | 37b75c0cc089664dafeed5720c2cfe11183089df (patch) | |
tree | e574f29474569472b26a834e45e2da9a2bab3703 /gas/app.c | |
parent | 7f1ee71f57810d9518dbfcb23ec83fb95d5feea4 (diff) | |
download | fsf-binutils-gdb-37b75c0cc089664dafeed5720c2cfe11183089df.zip fsf-binutils-gdb-37b75c0cc089664dafeed5720c2cfe11183089df.tar.gz fsf-binutils-gdb-37b75c0cc089664dafeed5720c2cfe11183089df.tar.bz2 |
* app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
buffer after copying string.
Diffstat (limited to 'gas/app.c')
-rw-r--r-- | gas/app.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 (); } } |