To: vim_dev@googlegroups.com Subject: Patch 8.2.4466 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///