[Bug libelf/31225] Crash when using elf_memory() on a compressed section; fixed with s/ELF_C_READ/ELF_C_READ_MMAP/

2024-02-02 Thread bruening at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31225 --- Comment #4 from Derek Bruening --- > So I added one that checks various issues (and that fails before your > suggested change). Please take a look: > > https://inbox.sourceware.org/elfutils-devel/20240201143858.930159-1-m...@klomp.org/

[Bug libelf/31225] Crash when using elf_memory() on a compressed section; fixed with s/ELF_C_READ/ELF_C_READ_MMAP/

2024-01-23 Thread bruening at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31225 --- Comment #2 from Derek Bruening --- Our usage is inside a large complex code base that mmaps the file on its own. It seems that any use of elf_memory() that has mapped the file on their own as read-only will hit this. I know it may not be

[Bug libelf/31225] New: Crash when using elf_memory() on a compressed section; fixed with s/ELF_C_READ/ELF_C_READ_MMAP/

2024-01-09 Thread bruening at google dot com
: UNCONFIRMED Severity: normal Priority: P2 Component: libelf Assignee: unassigned at sourceware dot org Reporter: bruening at google dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- When setting up libelf with