diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-09-28 12:31:44 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2005-09-28 12:31:44 +0000 |
commit | 440bf15a1d98fe22aaab391ad8f8911c42f925b7 (patch) | |
tree | 0bb9cb230b9aff167dc690ffdc8eb2a2c1f3dd9f /gas/app.c | |
parent | fd1c71e9228d0262a9a8154dc2a5bdb74f19ee06 (diff) | |
download | binutils-redhat-440bf15a1d98fe22aaab391ad8f8911c42f925b7.tar.gz |
* 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 (); } } |