Fix potential buffer overrun whilst scanning macro strings.
authorWu Heng <wu.heng@zte.com.cn>
Fri, 4 Jan 2019 16:18:59 +0000 (16:18 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 4 Jan 2019 16:18:59 +0000 (16:18 +0000)
commit1b2ed39c3a7ee2870f3d16a510d31e8d5916afbc
tree927a97088ca66510ff584d58ba37ff2ab15f8c93
parentbdfb4455977ffdd2d3f8dc81f25f6ba1ea2a7f49
Fix potential buffer overrun whilst scanning macro strings.

PR 24010
* macro.c (get_any_string): Check for end of input whilst scanning
for separators.
gas/ChangeLog
gas/macro.c