From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6F20F3858297; Fri, 14 Oct 2022 11:03:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6F20F3858297 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665745401; bh=uFNbs+7wiE9z/KsmG9/UQq/0iU4Bu8PegVCOKSb7wEI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XnfUawvm1KmWnKBvaD+Z1QZVUvP9uhuMlz2ir1b4+qFDBF2x1SvNt8aDzJKOnMQqU zeut31moXWSnro3Yv4/kd6oFs3GAJrhRzSF/hknGSMkT4FTQUllhmRbd3arSFJ3IGQ /QVo7It4DDY7zAm7/533kRrKkJTnOE6p8O85Ntug= 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 11:03:18 +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 #7 from cvs-commit at gcc dot gnu.org --- The release/2.34/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D9f55d2e7c42e6ca862a= 25d3ee3eb2b367811c30d commit 9f55d2e7c42e6ca862a25d3ee3eb2b367811c30d Author: Florian Weimer Date: Fri Oct 14 12:43:07 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) (Conflict in elf/dl-open.c due to missing _r_debug namespace support.) --=20 You are receiving this mail because: You are on the CC list for the bug.=