From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=C3=93scar?= Fuentes Newsgroups: gmane.emacs.bugs Subject: bug#73444: 30.0.50; mingw-w64: Emacs uses CRT's `read` when _FORTIFY_SOURCE > 0 Date: Tue, 24 Sep 2024 16:06:13 +0200 Message-ID: <87a5fxxi22.fsf@telefonica.net> References: <87r09axbio.fsf@telefonica.net> <87msjyxaum.fsf_-_@telefonica.net> <86r099e0br.fsf@gnu.org> <87ikulxmaz.fsf@telefonica.net> <868qvhdwl8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26365"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 73444@debbugs.gnu.org, Cyril Arnould To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 24 16:06:57 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1st6Bt-0006gx-Q0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Sep 2024 16:06:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1st6Bb-0007EG-L6; Tue, 24 Sep 2024 10:06:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1st6BZ-0007E3-SK for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 10:06:37 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1st6BZ-00070Y-Ba for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 10:06:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=6oIL4n4LlPhBEbhd83QT6MHmbR2zIkNKs1sGmWY25fQ=; b=cfFaxa+Ig5djq/so6f9BmHWPr7p0W2LHpf2hRrL7Kw9sU1J+e8KtqiHniazY/TnHRvAHK8EhnbJWkRfp8anfFao36jgjWnqbaV5hwIBzP07Ijca5sHtPCGw5INQF8ntXUW+QfgVKJr2w6/cEaSKtgCuYLSj4n3rgAZaBzMqYMQpoJ+ZQGprVWk/U+KQgl1ZK80qNKBHRYtmmi6yvn7cn9tEO4LrkL/dg4KB4P+gNPWBXtiQRb0R5kr9ik64W0xPgUbKcglMT/TobtmByfjz92MJGT7s8yB0sdPAd0h+Rgb+4SYM1hQsk42wqhUVt5Y7hZFBU18jrmWD8S3OFu6wExA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1st6Bx-0003cK-Mw for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2024 10:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Sep 2024 14:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73444 X-GNU-PR-Package: emacs Original-Received: via spool by 73444-submit@debbugs.gnu.org id=B73444.172718680813879 (code B ref 73444); Tue, 24 Sep 2024 14:07:01 +0000 Original-Received: (at 73444) by debbugs.gnu.org; 24 Sep 2024 14:06:48 +0000 Original-Received: from localhost ([127.0.0.1]:46526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st6Bk-0003bn-CL for submit@debbugs.gnu.org; Tue, 24 Sep 2024 10:06:48 -0400 Original-Received: from relayout02-redir.e.movistar.es ([86.109.101.202]:16371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st6Bi-0003bY-1g for 73444@debbugs.gnu.org; Tue, 24 Sep 2024 10:06:47 -0400 Original-Received: from sky (132.red-81-39-22.dynamicip.rima-tde.net [81.39.22.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout02.e.movistar.es (Postfix) with ESMTPSA id 4XChVG2DJDzdZdZ; Tue, 24 Sep 2024 16:06:14 +0200 (CEST) In-Reply-To: <868qvhdwl8.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 24 Sep 2024 16:12:35 +0300") X-TnetOut-Country: IP: 81.39.22.132 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout02 X-TnetOut-MsgID: 4XChVG2DJDzdZdZ.A6B18 X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1727791575.94844@LJLWcE3L+Nr2Pwpu0xKOdw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292336 Archived-At: Eli Zaretskii writes: >> #63752 describes the simptons and tries to identify the cause, this bug >> (#73444) provides the cause and discusses a possible fix, hopefully one >> that covers the general case and not just `read'. > > The fix posted here affects only 'read', unless I'm missing > something... Well, if we could think of a general fix that prevents a potential problem with the other functions that Emacs redefines, I could try to implement it. >> I was not aware of the existence of #63752 when I created this bug. As >> what to do with #63752, I have no preferences. > > That's okay. If you tell that fixing the issue with 'read' solves the > problem described in bug#63752, I will merge them. But if some > problems caused by _FORTIFY_SOURCE still remain after fixing 'read', > then bug#63752 is more general, and I think they should remain > separate, so that when we close this one, the other one stays open. AFAIK the workaround on this bug report fixes #63752. CCing the original bug reporter, just in case.