Subject: M-x compile endangers your /bin/sh and thus your entire system

From: 積丹尼 Dan Jacobson <[email-masked]>
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"