aboutsummaryrefslogtreecommitdiff
path: root/gas/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/app.c')
-rw-r--r--gas/app.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/app.c b/gas/app.c
index 9666ce5..d33089a 100644
--- a/gas/app.c
+++ b/gas/app.c
@@ -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 ();
}
}