diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-07-17 16:28:30 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-07-18 08:40:23 +0800 |
| commit | 77c6cae25bc3354d83b6a97bc9192e2bfd13c28b (patch) | |
| tree | 0406fd0865d39a1fb0b1e6c1dd11923ab14c8a00 /runtime/syntax/python.vim | |
| parent | ad0c21a445d1d022741d464d3023629cb6b95bf1 (diff) | |
vim-patch:9.1.1552: [security]: path traversal issue in tar.vim
Problem: [security]: path traversal issue in tar.vim
(@ax)
Solution: warn the user for such things, drop leading /, don't
forcefully overwrite files when writing temporary files,
refactor autoload/tar.vim
tar.vim: drop leading / in path names
A tar archive containing files with leading `/` may cause confusions as
to where the content is extracted. Let's make sure we drop the leading
`/` and use a relative path instead.
Also while at it, had to refactor it quite a bit and increase the
minimum supported Vim version to v9. Also add a test for some basic tar
functionality
closes: vim/vim#17733
https://github.com/vim/vim/commit/87757c6b0a4b2c1f71c72ea8e1438b8fb116b239
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions
