This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold patch] Fix gold to detect truncated binaries (PR gold/13288)
- From: Ian Lance Taylor <iant at google dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Mon, 17 Oct 2011 16:28:26 -0700
- Subject: Re: [gold patch] Fix gold to detect truncated binaries (PR gold/13288)
- References: <CAHACq4pBW67-u+AQrA_Mn7vmjethP_YAAjhu0EDxC8yWuZwQOQ@mail.gmail.com>
Cary Coutant <ccoutant@google.com> writes:
> 2011-10-12 Cary Coutant <ccoutant@google.com>
>
> PR gold/13288
> * gold/fileread.cc (File_read::find_view): Add assert.
> (File_read::make_view): Move bounds check (replace with assert)...
> (File_read::find_or_make_view): ... to here.
This is OK.
Thanks.
Ian