From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master 6ed1994d27: Prevent crashes from illegal locale coding systems Date: Wed, 16 Feb 2022 21:05:16 +0800 Message-ID: <87pmnnuflf.fsf@yahoo.com> References: <83czjqrkew.fsf@gnu.org> <874k52kiu4.fsf@yahoo.com> <837d9yribj.fsf@gnu.org> <87v8xii83e.fsf@yahoo.com> <83r186p1h8.fsf@gnu.org> <878ruehx6n.fsf@yahoo.com> <83h791pmnl.fsf@gnu.org> <87iltheyeu.fsf@yahoo.com> <83wnhwol2o.fsf@gnu.org> <87tud0ybhj.fsf@yahoo.com> <837d9w450e.fsf@gnu.org> <87czjow7x1.fsf@yahoo.com> <8335kk440x.fsf@gnu.org> <87sfsjvdnm.fsf@yahoo.com> <87leybv8mp.fsf@yahoo.com> <87h78zv1hc.fsf@yahoo.com> <83fsoj2e7m.fsf@gnu.org> <87v8xfuh2z.fsf@yahoo.com> <83bkz72dhh.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="2204"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 16 14:06:59 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nKK1E-00008l-SV for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Feb 2022 14:06:52 +0100 Original-Received: from localhost ([::1]:58130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKK1D-0003eK-Dc for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Feb 2022 08:06:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKJzs-0002n2-Ln for emacs-devel@gnu.org; Wed, 16 Feb 2022 08:05:31 -0500 Original-Received: from sonic306-21.consmr.mail.ne1.yahoo.com ([66.163.189.83]:37147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKJzr-0006Dn-3E for emacs-devel@gnu.org; Wed, 16 Feb 2022 08:05:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1645016725; bh=U2TBAD1itx/5keOuLgDyFotzT73SnoviVytV1bbLwQ0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=RVAXz2JirrE5k2FtEAn+t6JcEROW9zBUowBYW0KSsJaCKd+3bYypDE05zpupmgfm01VIWbJqh6FgsUBv/1xpVPZb28UgQ7wv9Jv1NmBY8PH0vwLJpgMQCYlIrf/NRZ0StoWtFCalQcGG8tTlQl+Kf7d+wQFzeeJYamMDGLReXvfmv4IdVwmuHFfyy9jk3PfckeyGZsP867FYYJiaMxogNuObuk5vQBLLTpOUG3HQuSVok+OPpdZFyUQks30Hf+bEfsR4+bJs1AUGJRupJ3Lgp9iFfkreFw4TxSYWJDbQEz3qV/HWrjStayp6JPN80TI8Wjlrb4MKFeqwY1+TQYleFg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1645016725; bh=BILXHjJeyz9YqtmpaWNsoxp7CCukSe16Qh78jbFafVE=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=KsvfK5IdAZalO7OrsAauB1hU5l1uTUC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 3VJ3pgip7g49gvhCFhBtVNowyYwP9Z9Snk_XOcpYkIE5wkHcN8cjQDZTIIIYTINqlvBAoagzwcve 6KB0JOWAVvx55_hZJ1S5JhHnOdo0sE2Cs8DgUzWpO1 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Wed, 16 Feb 2022 13:05:25 +0000 Original-Received: by kubenode504.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 83480f453d549c041c4d74a7fac70f4f; Wed, 16 Feb 2022 13:05:21 +0000 (UTC) In-Reply-To: <83bkz72dhh.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Feb 2022 14:38:18 +0200") X-Mailer: WebService/1.1.19724 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.83; envelope-from=luangruo@yahoo.com; helo=sonic306-21.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286382 Archived-At: Eli Zaretskii writes: > That's too general a fix in a place that's too low-level to know what > is TRT in these cases. It would prevent us from signaling an error > when a Lisp program uses an invalid encoding, for example -- these > problems cannot be silently ignored. I was specifically speaking about changing the call in handle_one_xevent, not changing the behavior of setup_coding_system in general. Thanks.