1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-10-06 01:27:44 +03:00
kakoune/rc
Frank LENORMAND 6976b1dce4 rc modeline: Prevent command execution
This commit prevents specially crafted modelines from making the
editor execute arbitrary Kakoune commands.

By using a tabulation character as a separator, commands can be
injected in the value of the options listed in the modeline. For
example:

	# kak: tabstop=2;set-option	buffer	pwned	yes

Fixes #3735.
2020-09-18 09:01:32 +03:00
..
detection rc modeline: Prevent command execution 2020-09-18 09:01:32 +03:00
filetype Merge remote-tracking branch 'deviant/add-go-alternative-file' into master 2020-09-17 19:38:59 +10:00
tools gopls: fixes based on krobelus@ review 2020-09-16 21:58:22 +02:00
windowing rc repl: Normalise REPL commands 2020-09-01 13:34:52 +03:00