Fix invalid strcpy on unterminated buffer
authorAndreas Schwab <schwab@suse.de>
Mon, 20 Aug 2018 14:55:05 +0000 (16:55 +0200)
committerAndreas Schwab <schwab@suse.de>
Tue, 21 Aug 2018 08:34:02 +0000 (10:34 +0200)
commit9dcbfff1e02778bac6fb723640724c38001a8f0a
tree2bdfd52855a80405a6892b274959d99235271be8
parent9cf7e5687f823a1009d25cb25ff653ee8372e517
Fix invalid strcpy on unterminated buffer

* read.c (do_repeat_with_expander): Use memmove instead of strcpy
on unterminated string buffer.
gas/ChangeLog
gas/read.c