Mercurial > vim
annotate tools/rename.bat @ 33780:377ed6ab612c v9.0.2110
patch 9.0.2110: [security]: overflow in ex address parsing
Commit: https://github.com/vim/vim/commit/060623e4a3bc72b011e7cd92bedb3bfb64e06200
Author: Christian Brabandt <cb@256bit.org>
Date: Tue Nov 14 21:33:29 2023 +0100
patch 9.0.2110: [security]: overflow in ex address parsing
Problem: [security]: overflow in ex address parsing
Solution: Verify that lnum is positive, before substracting from
LONG_MAX
[security]: overflow in ex address parsing
When parsing relative ex addresses one may unintentionally cause an
overflow (because LONG_MAX - lnum will overflow for negative addresses).
So verify that lnum is actually positive before doing the overflow
check.
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Nov 2023 22:15:12 +0100 |
parents | 217c97e06615 |
children | 7a3de23515d6 |
rev | line source |
---|---|
10032
f0b1cbf9467e
commit https://github.com/vim/vim/commit/cb03397abae22e7237511db2e19ad5ef3e5e5f4e
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 mv vim.exe vimw32.exe |
f0b1cbf9467e
commit https://github.com/vim/vim/commit/cb03397abae22e7237511db2e19ad5ef3e5e5f4e
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 mv tee/tee.exe teew32.exe |
f0b1cbf9467e
commit https://github.com/vim/vim/commit/cb03397abae22e7237511db2e19ad5ef3e5e5f4e
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 mv xxd/xxd.exe xxdw32.exe |
f0b1cbf9467e
commit https://github.com/vim/vim/commit/cb03397abae22e7237511db2e19ad5ef3e5e5f4e
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 mv vim.pdb vimw32.pdb |
f0b1cbf9467e
commit https://github.com/vim/vim/commit/cb03397abae22e7237511db2e19ad5ef3e5e5f4e
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 mv install.exe installw32.exe |
18844
217c97e06615
patch 8.1.2409: creating the distribution doesn't work as documented
Bram Moolenaar <Bram@vim.org>
parents:
10032
diff
changeset
|
6 mv uninstall.exe uninstallw32.exe |