summaryrefslogtreecommitdiff
path: root/rc/tools/python
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2020-09-16 11:37:01 +0300
committerFrank LENORMAND <lenormf@gmail.com>2020-09-18 09:01:32 +0300
commit6976b1dce45e89fa55b80f9ba5a92b23ffb7ad15 (patch)
tree333873a27c14186fb52186f31b879148bf60bac4 /rc/tools/python
parentdbd7e4da79ff59a63be03c580d3f396657199596 (diff)
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.
Diffstat (limited to 'rc/tools/python')
0 files changed, 0 insertions, 0 deletions