aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2016-11-03 20:42:23 -0700
committerNathan Sidwell <nathan@acm.org>2016-11-04 21:26:34 -0700
commit9cee1c1eb3d7a39279f7a0dae94bb38ab1106d1b (patch)
tree714bb01f07d2b583a0830d8bef912fe6477f8f2c /gas/ChangeLog
parent26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b (diff)
downloadgdb-9cee1c1eb3d7a39279f7a0dae94bb38ab1106d1b.zip
gdb-9cee1c1eb3d7a39279f7a0dae94bb38ab1106d1b.tar.gz
gdb-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 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3938065..6cdfc69 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,14 @@
+2016-11-04 Nathan Sidwell <nathan@acm.org>
+
+ 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.
+
2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
* config/tc-arc.c (find_opcode_match): Use insert function to