Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2024 20:54:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277616] ldd uses elf phdr.p_offset without checking
Message-ID:  <bug-277616-227-IWCsnTLc1D@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277616-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277616-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277616

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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277616-227-IWCsnTLc1D>