1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-10 13:25:25 +03:00
kakoune/rc/detection
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
..
editorconfig.kak rc: Use the standard fail command to report errors 2019-11-14 08:32:55 +01:00
file.kak Clear unwanted environment variable 2020-09-02 06:54:19 +02:00
modeline.kak rc modeline: Prevent command execution 2020-09-18 09:01:32 +03:00