From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 61E54385781D; Thu, 23 Jun 2022 16:43:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61E54385781D From: "amerey at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/29257] Double free of demangled symbol name Date: Thu, 23 Jun 2022 16:43:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amerey at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2022 16:43:05 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29257 Aaron Merey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amerey at redhat dot com --- Comment #5 from Aaron Merey --- Hi Magne, which version of elfutils are you using? I was only able to repro= duce this using an older package (elfutils-debuginfod-client-0.186-1.fc35.x86_64) that uses 000-permission files to represent negative-cache-hits. When you u= sed touch to create the file it didn't have 000 permissions, so debuginfod retu= rns an empty file to gdb as if it's valid. Without manually adding the cache fi= le this situation should not occur. More recent versions of debuginfod use empty files to represent negative-cache-hits. In this case I can't reproduce the bug because debugin= fod correctly doesn't return the empty file to gdb. (It looks like F36 contains an update version of elfutils-debuginfod-client= but F35 still provides an older 000-permisssion build, we should probably update F35's elfutils-debuginfod-client.) --=20 You are receiving this mail because: You are on the CC list for the bug.=