all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#32968: M-x compile endangers your /bin/sh and thus your entire system
@ 2018-10-07 13:25 積丹尼 Dan Jacobson
  0 siblings, 0 replies; only message in thread
From: 積丹尼 Dan Jacobson @ 2018-10-07 13:25 UTC (permalink / raw)
  To: 32968

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"





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-07 13:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-07 13:25 bug#32968: M-x compile endangers your /bin/sh and thus your entire system 積丹尼 Dan Jacobson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.