From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#58966: [Trunk] Xcode 14.1+ (and macOS 13.0+) deprecate sprintf() Date: Fri, 04 Nov 2022 23:12:38 -0400 Message-ID: References: <91d5853d-b810-3b69-93cf-772c81c34f7e@cs.ucla.edu> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26560"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 58966@debbugs.gnu.org, jacob.fai@gmail.com To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 05 04:13:21 2022 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 1or9cW-0006jQ-Co for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Nov 2022 04:13:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1or9cG-0007EP-A2; Fri, 04 Nov 2022 23:13:04 -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 1or9cE-0007E6-V6 for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 23:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1or9cE-0004Rb-Mx for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 23:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1or9cE-0007yt-A9 for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 23:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Nov 2022 03:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58966 X-GNU-PR-Package: emacs Original-Received: via spool by 58966-submit@debbugs.gnu.org id=B58966.166761796930661 (code B ref 58966); Sat, 05 Nov 2022 03:13:02 +0000 Original-Received: (at 58966) by debbugs.gnu.org; 5 Nov 2022 03:12:49 +0000 Original-Received: from localhost ([127.0.0.1]:55255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1or9c1-0007yS-3D for submit@debbugs.gnu.org; Fri, 04 Nov 2022 23:12:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1or9bw-0007yB-SD for 58966@debbugs.gnu.org; Fri, 04 Nov 2022 23:12:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1or9br-0004LT-1f; Fri, 04 Nov 2022 23:12:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=7ZhKx+2GACxLr0Fz2gumWXwXowDhnfih1W5z8jQzWBw=; b=OcpkEOun3N+9 1I53zrtt6QB1odj6LhYRKw4KHj+3PtO0S4N9DJ1zRNHG18h4iplKJuHLGgrSMPwm7VXhPpAcfhtPv 7lbGTxH7ImX6x7n26WIFhBaV+XRNC78MNwMnMr0eBc6ZtnGECQ0xzOuSgR4Ng/TClW3ct53FzVpOx 1cEzC6ONJ7BVx/cNmzfdD5AvpwZ29b/VttLC5+hbEzu5LVErfWtpqCgnNsMNt7RNZNK00eBaS6Zrn 8LdzpD6rsTBxh9Zfc32wN7PvZiP+SeDfeZyK8QBpSHCrDi5fLe7skzF4jxFh3GA9+M3O/cJ9SPtbc 6Hlc5NR7s5Q7NBSQB2GNMQ==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1or9bq-0006dr-0k; Fri, 04 Nov 2022 23:12:38 -0400 In-Reply-To: <91d5853d-b810-3b69-93cf-772c81c34f7e@cs.ucla.edu> (message from Paul Eggert on Thu, 3 Nov 2022 11:30:50 -0700) 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247129 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] We could switch to snprintf, and define snprintf to call sprintf in systems where snprintf isn't available. It is possible to verify that sprintf did not overwrite the buffer. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)