From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 576B63858038; Fri, 14 Oct 2022 09:02:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 576B63858038 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665738170; bh=EaYSHrKHsoxD2jwL9+cww7Agh/QsYABIYAGs5JyTeis=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CPiT/kcYDXCZXcqipHr3d7dTLjsK0L4TcqwO2UHdGlnFCxgSPV3N/D3NxGio01Rok xCLZIP8+DspmQwsEVZSN3e5J5hd4IYBJ7nOLjuQRZw2AwbkopGe7oc00AAdndWlnna vKEjOHsuQM9B5YgKta7p5ilPfKo3bOVye+CPPrrQ= From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/29528] __libc_early_init not called after dlmopen that reuses namespace Date: Fri, 14 Oct 2022 09:02:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.37 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.37 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29528 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D2c42257314536b94cc8= d52edede86e94e98c1436 commit 2c42257314536b94cc8d52edede86e94e98c1436 Author: Florian Weimer Date: Fri Oct 14 11:02:25 2022 +0200 elf: Do not completely clear reused namespace in dlmopen (bug 29600) The data in the _ns_debug member must be preserved, otherwise _dl_debug_initialize enters an infinite loop. To be conservative, only clear the libc_map member for now, to fix bug 29528. Fixes commit d0e357ff45a75553dee3b17ed7d303bfa544f6fe ("elf: Call __libc_early_init for reused namespaces (bug 29528)"), by reverting most of it. Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell --=20 You are receiving this mail because: You are on the CC list for the bug.=