This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: eu-strip --reloc-debug-sections
- From: Roland McGrath <roland at hack dot frob dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 24 May 2011 11:40:58 -0700
- Subject: Re: eu-strip --reloc-debug-sections
> + if (offset + size > tdata->d_size)
> + error (0, 0, gettext ("bad relocation"));
It's the style of the robustify branch, and IMHO might as well do it to
start with in the new code, to do these checks in overflow-proof ways.
Thanks,
Roland