Have gold's File_read::do_read() function check the start parameter
authorNick Clifton <nickc@redhat.com>
Mon, 27 Jun 2022 12:07:40 +0000 (13:07 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 27 Jun 2022 12:07:40 +0000 (13:07 +0100)
commit2a4fc266dbf77ed7ab83da16468e9ba627b8bc2d
treeb2258d224f8f9bfe458a2fa8d20c15a332dfdaf3
parent8c9ae6df3c244a7a738085ab461cb098df1d46f6
Have gold's File_read::do_read() function check the start parameter

PR 23765
* fileread.cc (File_read::do_read): Check start parameter before
computing number of bytes to read.
gold/ChangeLog
gold/fileread.cc