Fix TIC54X buffer overruns
authorAlan Modra <amodra@gmail.com>
Mon, 16 Jun 2014 01:03:26 +0000 (10:33 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Jun 2014 03:00:53 +0000 (12:30 +0930)
commit6e210b4129b522c1a0b0c6dee24ee469d5020583
tree26e63c5400f6e37904c85867e75cede355001ff0
parentee0738df021c42217828f02858c1f882a1546557
Fix TIC54X buffer overruns

MALLOC_PERTURB_=1 results in "FAIL: c54x macros".

* config/tc-tic54x.c (tic54x_mlib): Don't write garbage past
end of archive to temp file.
(tic54x_start_line_hook): Start scan for parallel on next line,
not one char into next line (which may overrun the buffer).
gas/ChangeLog
gas/config/tc-tic54x.c