[Bug 277616] ldd uses elf phdr.p_offset without checking

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Mar 2024 20:54:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277616

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org,
                   |                            |kib@FreeBSD.org

--- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> ---
I think this is more libelf(3) issue than ldd deficiency.  _libelf_xlate()
should validate that the regions are valid.

BTW, nearby the malloc(3) calls are without result checks.

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