Date: Tue, 02 Feb 2021 14:16:09 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 253081] fdlopen is broken in STABLE-12 Message-ID: <bug-253081-227-2b1XUihl8c@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253081-227@https.bugs.freebsd.org/bugzilla/> References: <bug-253081-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=3D253081 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D43d44842aef3972cc86ce673e84e31f37= 2257b15 commit 43d44842aef3972cc86ce673e84e31f372257b15 Author: David Chisnall <theraven@FreeBSD.org> AuthorDate: 2021-02-02 14:06:33 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-02-02 14:14:16 +0000 rtld: Fix null-pointer dereference When a library is opened via fdlopen, it has a null pointer for its path and so _rtld_bind can crash as a result of passing the null pointer to basename() (which passes it to strrchr(), which doesn't do a null check= ). PR: 253081 Submitted by: theraven MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28442 libexec/rtld-elf/rtld.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --=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-253081-227-2b1XUihl8c>