This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]