[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32968: M-x compile endangers your /bin/sh and thus your entire syste
From: |
積丹尼 Dan Jacobson |
Subject: |
bug#32968: M-x compile endangers your /bin/sh and thus your entire system |
Date: |
Sun, 07 Oct 2018 21:25:19 +0800 |
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=0(root) gid=0(root) groups=0(root)
Note the above is with this set:
compilation-auto-jump-to-first-error is a variable defined in ‘compile.el’.
Its value is t
Original value was nil
emacs-version "25.2.2"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#32968: M-x compile endangers your /bin/sh and thus your entire system,
積丹尼 Dan Jacobson <=