From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0E60E3857800; Sat, 19 Dec 2020 23:31:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E60E3857800 From: "eggert at cs dot ucla.edu" To: glibc-bugs@sourceware.org Subject: [Bug malloc/17924] 'free' should not set errno Date: Sat, 19 Dec 2020 23:31:05 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eggert at cs dot ucla.edu X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: eggert at cs dot ucla.edu X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.isobsolete assigned_to bug_status attachments.created 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: Sat, 19 Dec 2020 23:31:06 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D17924 eggert at cs dot ucla.edu changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #13065|0 |1 is obsolete| | Assignee|unassigned at sourceware dot org |eggert at cs dot uc= la.edu Status|NEW |ASSIGNED --- Comment #5 from eggert at cs dot ucla.edu --- Created attachment 13067 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D13067&action=3Ded= it patch 'free' to preserve errno (take 2) > I believe there is also another code path that can lead to free() setting= errno. Thanks, I'm attaching a superseding patch that should cover that code path = as well. --=20 You are receiving this mail because: You are on the CC list for the bug.=