Fix read-beyond-end-of-buffer error in script parsing.
authorCary Coutant <ccoutant@gmail.com>
Tue, 20 Dec 2016 03:19:46 +0000 (19:19 -0800)
committerCary Coutant <ccoutant@gmail.com>
Tue, 20 Dec 2016 03:20:10 +0000 (19:20 -0800)
commit092e01962dfbe7db9f5e57ca365b8ca56b4aa96a
tree8536e452ded7ada26822d853f45e07cd40262bee
parent3e67a37820a2838cdbd50f3f697ddc929443ceaa
Fix read-beyond-end-of-buffer error in script parsing.

2016-12-19  Cary Coutant  <ccoutant@gmail.com>

gold/
PR gold/20949
* script.cc (Lex::get_token): Don't look ahead past NUL characters.
gold/ChangeLog
gold/script.cc