https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88890
--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> --- Author: ian Date: Fri Jan 18 17:13:59 2019 New Revision: 268082 URL: https://gcc.gnu.org/viewcvs?rev=268082&root=gcc&view=rev Log: PR libbacktrace/88890 * mmapio.c (backtrace_get_view): Change size parameter to uint64_t. Check that value fits in size_t. * read.c (backtrace_get_view): Likewise. * internal.h (backtrace_get_view): Update declaration. * elf.c (elf_add): Pass shstrhdr->sh_size to backtrace_get_view. Modified: trunk/libbacktrace/ChangeLog trunk/libbacktrace/elf.c trunk/libbacktrace/internal.h trunk/libbacktrace/mmapio.c trunk/libbacktrace/read.c