From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40671: [DOC] modify literal objects Date: Sun, 26 Apr 2020 21:41:57 +0300 Message-ID: <837dy25bt6.fsf@gnu.org> References: <99d7a8f9-7732-e1e3-414e-aabbea4433ac@cs.ucla.edu> <87o8rnasfk.fsf@web.de> <9e6c138d-cb9f-6075-34df-a8d1d931343b@cs.ucla.edu> <871rofxbz9.fsf@web.de> <93463227-33a8-85a0-fd19-8b29b75997f3@yandex.ru> <969b3497-0afd-d104-6792-d744d31548fa@cs.ucla.edu> <2935ec84-bdea-2e20-01b9-8ed08cc61c6c@yandex.ru> <669981e5-f601-5c18-1a8b-ee316ad001ec@cs.ucla.edu> <4b8b7e98-029e-58ac-59ff-6cd984b7eb85@yandex.ru> <83zhay5nyn.fsf@gnu.org> <77612744-6de9-3cb8-6d63-1cb9898eb3e1@yandex.ru> <83pnbu5jy4.fsf@gnu.org> <51ab1b2d-1b0e-fb65-2abd-d29cfa8461e5@yandex.ru> <83k1225glr.fsf@gnu.org> <8a4bb621-0fe7-52d5-e6e3-d1a0ec5b6a59@yandex.ru> <838sii5d2q.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="96505"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ke.vigouroux@laposte.net, eggert@cs.ucla.edu, 40671@debbugs.gnu.org, michael_heerdegen@web.de, mattiase@acm.org, rms@gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 26 20:43:12 2020 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 1jSmFE-000P0M-Kl for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Apr 2020 20:43:12 +0200 Original-Received: from localhost ([::1]:42438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSmFD-0005CI-CQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Apr 2020 14:43:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39664) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSmF5-0005Bt-Kx for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 14:43:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSmF5-0003Pn-1a for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 14:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSmF4-0003N0-KT for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 14:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSmF4-0001yu-IE for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 14:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Apr 2020 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40671 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 40671-submit@debbugs.gnu.org id=B40671.15879265627583 (code B ref 40671); Sun, 26 Apr 2020 18:43:02 +0000 Original-Received: (at 40671) by debbugs.gnu.org; 26 Apr 2020 18:42:42 +0000 Original-Received: from localhost ([127.0.0.1]:34899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSmEg-0001yA-I5 for submit@debbugs.gnu.org; Sun, 26 Apr 2020 14:42:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSmEe-0001xx-Qi for 40671@debbugs.gnu.org; Sun, 26 Apr 2020 14:42:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49344) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSmEW-00026j-Nt; Sun, 26 Apr 2020 14:42:29 -0400 Original-Received: from [176.228.60.248] (port=1177 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jSmE9-0005Xb-Rq; Sun, 26 Apr 2020 14:42:07 -0400 In-Reply-To: (message from Dmitry Gutov on Sun, 26 Apr 2020 21:32:45 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:179103 Archived-At: > Cc: ke.vigouroux@laposte.net, eggert@cs.ucla.edu, 40671@debbugs.gnu.org, > michael_heerdegen@web.de, mattiase@acm.org, rms@gnu.org > From: Dmitry Gutov > Date: Sun, 26 Apr 2020 21:32:45 +0300 > > My point is, that program is using the same instrument as this one, > which *will* blow up at runtime. No, it isn't the same instrument. Your program constructs a function call using address that has no valid instructions. Paul's program does nothing like that, it just attempts to write to a data address which may or may not be in write-protected storage. So your program will always blow up, whereas the other one will only blow up if the memory is write-protected.