From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A4203385842F; Fri, 14 Oct 2022 10:37:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A4203385842F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665743871; bh=6FTGTa07xsuepRq01N9JsPsEZS3blG3Vv3Hx/wMNLkA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uOAiUswqNHJ60+xLoxkL2AMVpXBxjedf56pPVhT5Vax09/m+K4FZI4Wwr83fBxvGY XNIApitPBEwfy0g/57Lo3fFF/BAvamSFhjwXyA9Kp9KvBQF+L4rrrhOw1AftJoXsW7 T2YCeYBSbHDVsWY2ifVlVhrm9Lro7C4egW3eSHvw= 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 10:37:51 +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 #6 from cvs-commit at gcc dot gnu.org --- The release/2.35/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D8d125a1f9145ad90c94= e438858d6b5b7578686f2 commit 8d125a1f9145ad90c94e438858d6b5b7578686f2 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 (cherry picked from commit 2c42257314536b94cc8d52edede86e94e98c1436) --=20 You are receiving this mail because: You are on the CC list for the bug.=