PR 4722
* app.c (do_scrub_chars <state 5>): Check for output buffer full after memcpy.
This commit is contained in:
parent
c8c1229320
commit
df81608724
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-07-03 Mikkel Lauritsen <renard@nospam.dk>
|
||||
|
||||
PR 4722
|
||||
* app.c (do_scrub_chars <state 5>): Check for output buffer full
|
||||
after memcpy.
|
||||
|
||||
2007-07-02 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* config/tc-mips.c (s_dtprelword, s_dtpreldword,
|
||||
|
|
|
@ -550,6 +550,8 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen)
|
|||
memcpy (to, from, len);
|
||||
to += len;
|
||||
from += len;
|
||||
if (to >= toend)
|
||||
goto tofull;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue