From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#32968: M-x compile endangers your /bin/sh and thus your entire system Date: Sun, 07 Oct 2018 21:25:19 +0800 Message-ID: <87k1mtvqgw.fsf@jidanni.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1538919159 25374 195.159.176.226 (7 Oct 2018 13:32:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2018 13:32:39 +0000 (UTC) To: 32968@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 07 15:32:35 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g99Ag-0006TH-Dt for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2018 15:32:34 +0200 Original-Received: from localhost ([::1]:42447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g99Cn-0000VD-2l for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2018 09:34:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g99CA-0000Dt-Oc for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 09:34:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g99C7-0005rw-DZ for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 09:34:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34880) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g99C7-0005rs-AC for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 09:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g99C7-0003Rj-70 for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 09:34:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Oct 2018 13:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32968 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153891920613180 (code B ref -1); Sun, 07 Oct 2018 13:34:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Oct 2018 13:33:26 +0000 Original-Received: from localhost ([127.0.0.1]:39134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g99BW-0003QR-3h for submit@debbugs.gnu.org; Sun, 07 Oct 2018 09:33:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g99BU-0003Py-5B for submit@debbugs.gnu.org; Sun, 07 Oct 2018 09:33:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g99BO-0005TI-7W for submit@debbugs.gnu.org; Sun, 07 Oct 2018 09:33:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41870) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g99BN-0005Sy-KJ for submit@debbugs.gnu.org; Sun, 07 Oct 2018 09:33:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g99BM-00008l-Os for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 09:33:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g99BK-0005RK-KR for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 09:33:16 -0400 Original-Received: from pop.dreamhost.com ([64.90.62.162]:46554 helo=pdx1-sub0-mail-a11.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g99BK-0005Pp-2o for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 09:33:14 -0400 Original-Received: from pdx1-sub0-mail-a11.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a11.g.dreamhost.com (Postfix) with ESMTP id 55C277FFF0 for ; Sun, 7 Oct 2018 06:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=d+iNAYmTn+Izuzq6ku I26uUpeOM=; b=JwTFDyCvvrbiY9ns9qmb/YTFSWdV4bgwPAvkfcl+OjHMEOP9ob ZOz+WEWOWT/sSSbonvDnCcjzZLHPWUf/pmxawGPvgVRkXWURvQ2kIIcnailH3558 3BwxKD0nHso/beZ/MtiG6+RCey17RNrKEowFWku2TUlZLo85azigRWcEc= Original-Received: from jidanni.org (114-26-43-42.dynamic-ip.hinet.net [114.26.43.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a11.g.dreamhost.com (Postfix) with ESMTPSA id 033A17FFDD for ; Sun, 7 Oct 2018 06:33:11 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a11 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedruddtgdeiiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgfgsehtkeertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepuddugedrvdeirdegfedrgedvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddugedrvdeirdegfedrgedvpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150977 Archived-At: Here's all it takes to wreck /bin/sh and thus your entire system. M-x compile y y C-x C-c y make i test a -lt b /bin/sh: line 0: test: a: integer expression expected make: *** [Makefile:1: i] Error 2 # cat Makefile i:; test a -lt b # id uid=3D0(root) gid=3D0(root) groups=3D0(root) Note the above is with this set: compilation-auto-jump-to-first-error is a variable defined in =E2=80=98co= mpile.el=E2=80=99. Its value is t Original value was nil emacs-version "25.2.2"