Fix fault in assembler when passed a bogus input file.
authorNick Clifton <nickc@redhat.com>
Mon, 5 Dec 2016 17:36:45 +0000 (17:36 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 5 Dec 2016 17:36:45 +0000 (17:36 +0000)
commitf49547a604b4dd2c75e3636d4a422d52edc4fa6c
tree6880ec2de16241285915d476ff76eb04f1cd4c2a
parent14c1428b29fff12d8119ce6f4703be0de08197af
Fix fault in assembler when passed a bogus input file.

PR gas/20902
* read.c (next_char_of_string): Do end advance past the end of the
buffer.
gas/ChangeLog
gas/read.c