diff options
author | Nathan Sidwell <nathan@acm.org> | 2016-11-03 20:42:23 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2016-11-04 21:26:34 -0700 |
commit | 9cee1c1eb3d7a39279f7a0dae94bb38ab1106d1b (patch) | |
tree | 714bb01f07d2b583a0830d8bef912fe6477f8f2c /bfd/version.h | |
parent | 26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b (diff) | |
download | binutils-9cee1c1eb3d7a39279f7a0dae94bb38ab1106d1b.zip binutils-9cee1c1eb3d7a39279f7a0dae94bb38ab1106d1b.tar.gz binutils-9cee1c1eb3d7a39279f7a0dae94bb38ab1106d1b.tar.bz2 |
Fix gas crash with unreasonably long lines
gas/
* input-scrub.c (partial_size): Make size_t.
(buffer_length): Likewise. Adjust meaning.
(struct input_save): Adjust partial_size type.
(input_scrub_reinit): New.
(input_scrub_push, input_scrub_begin): Use it.
(input_scrub_next_buffer): Fix buffer extension logic. Only scan
newly read buffer for newline.
Diffstat (limited to 'bfd/version.h')
0 files changed, 0 insertions, 0 deletions