From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id VJg+Im7dKGmlgToAWB0awg (envelope-from ) for ; Thu, 27 Nov 2025 18:23:26 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=dominicclifton.name header.i=@dominicclifton.name header.a=rsa-sha256 header.s=email header.b=CbGYCHEx; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 7BE1E1E048; Thu, 27 Nov 2025 18:23:26 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id D490E1E048 for ; Thu, 27 Nov 2025 18:23:24 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 504ED3858280 for ; Thu, 27 Nov 2025 23:23:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 504ED3858280 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=dominicclifton.name header.i=@dominicclifton.name header.a=rsa-sha256 header.s=email header.b=CbGYCHEx Received: from mx03.hydraservices.com (mx03.hydraservices.com [82.113.145.160]) by sourceware.org (Postfix) with ESMTPS id C9FC63858D2A for ; Thu, 27 Nov 2025 23:22:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C9FC63858D2A Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=dominicclifton.name Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dominicclifton.name ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C9FC63858D2A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=82.113.145.160 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764285766; cv=none; b=pN79WTM49D3NBtK6gCSsBLlTH9kSqJpT6xR1EhK1v8bC044NNtB3RTphIkV8ii/oVdqmgrTaEly5og+IfTMLCMcD6naPvEM4SXGFJYxuhLgAkgPS/jSVI56812SE6fcqKqWwlWkfLDV7s0M51qxFG53qryyPwJc7v5wdvwm/wuU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764285766; c=relaxed/simple; bh=3AcCmewLgDJzyvvM5IJUVGR5l5anz42t78RPfiLSMXc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=WgaFDZO7MrbPJiBnz7x50j8KAMB9ulpESkcei+aCCs9sNLvw8PCI/0HbxWFO1Gj1vvwU6dCf/dvuAbAAWGayy/IhIOhia/wjMBCpoHM92wvy9PSEDkDr1E2McNxNYID+EXVunE/Q0QIpYRlxFHJ+npcaZP+wrYjc6RORwqYT0SA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9FC63858D2A DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dominicclifton.name; s=email; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:In-Reply-To:References:To:From:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1J0nvq2smiBpy/jN/nAIxyB8lf8LBMP2bExPSufT3BY=; b=CbGYCHExczgINGT+pFTryZplFD S6AL7jJTMvohBSHjhGWM0sRz9+XCzSDfdijIL47+qrgDhjAYoi0q65tfFRg6AuApbGmWk4+qCcmA+ ekg6x6VF2ulBPPHJYycDEQ6wfQsMfrtp2IHoa14bbExp6nbV5DOf3nyY1FxKY+ryhGtA=; Received: from [45.86.185.202] (helo=HYDRA01) by mx03.hydraservices.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1vOlJz-009VDj-Mm; Thu, 27 Nov 2025 23:22:43 +0000 From: "Dominic Clifton" To: "'Tom de Vries'" , "'Andrew Burgess'" , References: <00d101dc3609$37564b00$a602e100$@dominicclifton.name> <017301dc3943$0ba55950$22f00bf0$@dominicclifton.name> <877bwybu6l.fsf@redhat.com> <004d01dc3e26$8c7576e0$a56064a0$@dominicclifton.name> <070f3bc9-3080-4bf7-b31b-96edc04997b3@suse.de> <03a001dc58ae$c54f88f0$4fee9ad0$@dominicclifton.name> In-Reply-To: Subject: RE: [PATCH] read_file_scope - avoid eventual crash when the file or directory name is null. Date: Fri, 28 Nov 2025 00:22:42 +0100 Message-ID: <017901dc5ff4$bb11d800$31358800$@dominicclifton.name> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGDN+atxJvNFm6cT9B7vvoZgOzQVAIjXVrhAbNWRWoDFCMZxwIpI2XqAkE5dyABcWoD0LVTRBsA Content-Language: en-gb X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Yeah, sorry, I didn't see the request to access it because the requests = went to a gmail account that I do not monitor. Also, I thought I = allowed everyone to access it to begin with, and didn't really = understand why I was asked if it was private or not! Lol. Sorry about that. The original link I posted should be public and those = who specifically requested access now have it. Dominic -----Original Message----- From: Tom de Vries =20 Sent: 27 November 2025 16:03 To: Dominic Clifton ; 'Andrew Burgess' = ; gdb-patches@sourceware.org Subject: Re: [PATCH] read_file_scope - avoid eventual crash when the = file or directory name is null. On 11/18/25 6:14 PM, Dominic Clifton wrote: > No, it's not secret. It's just the blinky example from embassy. Feel = free to use it however you like. >=20 I got access today. I reproduced on x86_64-linux using -readnow: ... $ gdb -q -batch -readnow blinky terminate called after throwing an instance of 'std::logic_error' what(): basic_string: construction from null is not valid ... Passes with current trunk. Bisects to commit 31cb4bb676d ("Correct bounds check when working around = GAS DWARF 5 directory table bug"). Thanks, - Tom > Thanks, >=20 > Dominic >=20 > -----Original Message----- > From: Tom de Vries > Sent: 18 November 2025 09:39 > To: Dominic Clifton ; 'Andrew Burgess'=20 > ; gdb-patches@sourceware.org > Subject: Re: [PATCH] read_file_scope - avoid eventual crash when the = file or directory name is null. >=20 > On 10/16/25 12:53 AM, Dominic Clifton wrote: >> The elf file in question is here: >> >> https://drive.google.com/file/d/1um3lJFHTvLHdAZdM7D-hLMmdsGJneDeC/vie >> w >> ?usp=3Ds >> haring >=20 > I've clicked on this link, had to login to a google account and = request access. >=20 > Is the binary "secret" in some way, or could I attach it in some bug = report (assuming it's small enough)? >=20 > Thanks, > - Tom >=20