[Bug 298154] imgact_elf: Invalid ELF fails with a bogus Input/output error (EIO) error when no actual IO error has occurred

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 04 Sep 2026 13:41:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298154

--- Comment #2 from Konstantin Belousov <kib@FreeBSD.org> ---
$ readelf -a ~/tom/tmp/1/invalid-elf >/dev/null
readelf: Error: Reading 616 bytes extends past end of file for program headers
readelf: Error: Reading 616 bytes extends past end of file for program headers
readelf: Error: Reading 616 bytes extends past end of file for program headers
readelf: Warning: Cannot interpret virtual addresses without program headers.

-- 
You are receiving this mail because:
You are the assignee for the bug.