From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1E2763842414; Sat, 19 Dec 2020 19:30:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E2763842414 From: "bruno at clisp dot org" To: glibc-bugs@sourceware.org Subject: [Bug malloc/17924] 'free' should not set errno Date: Sat, 19 Dec 2020 19:30:51 +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: bruno at clisp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc 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 19:30:52 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D17924 Bruno Haible changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruno at clisp dot org --- Comment #2 from Bruno Haible --- Created attachment 13064 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D13064&action=3Ded= it Test case for one of the scenarios Find attached a test case for one of the scenarios, namely when 1. free() invokes munmap() and 2. munmap()'s attempt to split a VMA fails due to /proc/sys/vm/max_map_co= unt. It fails on glibc 2.3.2, 2.23, 2.28, 2.32, as well as on musl libc 1.1.24. --=20 You are receiving this mail because: You are on the CC list for the bug.=