From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E297B385EC44; Mon, 5 Jul 2021 14:10:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E297B385EC44 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25533] dlopen with RTLD_DEEPBIND crashes when using custom memory manager Date: Mon, 05 Jul 2021 14:10:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.12 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2021 14:10:04 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25533 --- Comment #6 from Florian Weimer --- (In reply to Simon Richter from comment #5) > The proper fix here would be to create another instance of glibc for use = by > the hierarchy below the RTLD_DEEPBIND. This will only push the problem one layer further, in the sense that the ca= ller of strdup would have to be duplicated as well. At that point, things start = to look a lot more like dlmopen rather than RTLD_DEEPBIND. However even with dlmopen, separate mallocs may not be what users of this feature expect. --=20 You are receiving this mail because: You are on the CC list for the bug.=