From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0A7C73858C53; Mon, 3 Jul 2023 09:08:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A7C73858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688375327; bh=kDnO7qDYaUU163SyzAjkLd/LdGcu8vIf0bncjCeB7a0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RP24YzSL+uS7Jj58sIi5n73IxhGyKE7tzl8lnwDrp3IUYS+LYYTAI0k8UXfNEW6vq GIheEb1MWjw5eXJEiKWpE9G2oqPb1ZKY7yTn66zENfKdTYXRFSgKuTxu4Mj/iB/jLL v5OGtzEdkFSesvEptsWyHjhSrptUadB93fuokOY8= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug stdio/15142] Missing locking in _IO_cleanup Date: Mon, 03 Jul 2023 09:08:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio X-Bugzilla-Version: 2.3.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.38 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status flagtypes.name resolution target_milestone 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=3D15142 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Flags|security? |security- Resolution|--- |FIXED Target Milestone|--- |2.38 --- Comment #5 from Florian Weimer --- Fixed for 2.38 via: commit af130d27099651e0d27b2cf2cfb44dafd6fe8a26 Author: Andreas Schwab Date: Tue Jan 30 10:16:00 2018 +0100 Always do locking when accessing streams (bug 15142, bug 14697) Now that abort no longer calls fflush there is no reason to avoid locki= ng the stdio streams anywhere. This fixes a conformance issue and potenti= al heap corruption during exit. --=20 You are receiving this mail because: You are on the CC list for the bug.=