re PR libbacktrace/88890 (libbacktrace on 32-bit system with _FILE_OFFSET_BITS =...
authorIan Lance Taylor <iant@golang.org>
Fri, 18 Jan 2019 17:13:59 +0000 (17:13 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 18 Jan 2019 17:13:59 +0000 (17:13 +0000)
commit8b248c17bd9999eb3adb585b0789595bada43e8c
tree763e0966d741405f3d063a4c83449045813900b5
parent89ce81fbe13dc554d489d9f00f92f85164b185d6
re PR libbacktrace/88890 (libbacktrace on 32-bit system with _FILE_OFFSET_BITS == 64)

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.

From-SVN: r268082
libbacktrace/ChangeLog
libbacktrace/elf.c
libbacktrace/internal.h
libbacktrace/mmapio.c
libbacktrace/read.c