Mercurial > vim
annotate src/testdir/dos.vim @ 29761:0cea0cdcce92 v9.0.0220
patch 9.0.0220: invalid memory access with for loop over NULL string
Commit: https://github.com/vim/vim/commit/f6d39c31d2177549a986d170e192d8351bd571e2
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 16 17:50:38 2022 +0100
patch 9.0.0220: invalid memory access with for loop over NULL string
Problem: Invalid memory access with for loop over NULL string.
Solution: Make sure mb_ptr2len() consistently returns zero for NUL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Aug 2022 19:00:04 +0200 |
parents | f0201deac2a2 |
children |
rev | line source |
---|---|
7 | 1 " Settings for test script execution |
2 " Always use "COMMAND.COM", don't use the value of "$SHELL". | |
3 set shell=c:\COMMAND.COM shellquote= shellxquote= shellcmdflag=/c shellredir=> | |
4 " This is used only when the +eval feature is available. | |
5 if executable("cmd.exe") | |
6 set shell=cmd.exe | |
7 endif | |
9501
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
8 |
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
9 source setup.vim |