Patch 8.2.4466
Problem: MS-Windows: illegal memory access in installer when using
"create-directories" as the final argument.
Solution: Check the argument count. (Cam Sinclair, closes #9844)
Files: src/dosinst.c
*** ../vim-8.2.4465/src/dosinst.c 2021-07-15 13:14:26.288058735 +0100
--- src/dosinst.c 2022-02-25 17:36:14.808430660 +0000
***************
*** 2495,2501 ****
int vimfiles_dir_choice = (int)vimfiles_dir_none;
init_directories_choice();
! if (argv[i + 1][0] != '-')
{
i++;
if (strcmp(argv[i], "vim") == 0)
--- 2495,2501 ----
int vimfiles_dir_choice = (int)vimfiles_dir_none;
init_directories_choice();
! if (i + 1 < argc && argv[i + 1][0] != '-')
{
i++;
if (strcmp(argv[i], "vim") == 0)
*** ../vim-8.2.4465/src/version.c 2022-02-25 15:24:21.053157314 +0000
--- src/version.c 2022-02-25 17:37:30.756298034 +0000
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 4466,
/**/
--
hundred-and-one symptoms of being an internet addict:
95. Only communication in your household is through email.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220225174237.14F941C1149%40moolenaar.net.