To: vim_dev@googlegroups.com Subject: Patch 8.2.3386 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3386 Problem: Using uninitialized memory. Solution: Initialize the rm_ic field. (Dominique PellĂ©, closes #8800) Files: src/indent.c *** ../vim-8.2.3385/src/indent.c 2021-07-31 21:32:27.421666727 +0200 --- src/indent.c 2021-08-29 22:10:58.082576932 +0200 *************** *** 953,958 **** --- 953,959 ---- RE_MAGIC + RE_STRING + RE_AUTO + RE_STRICT); if (regmatch.regprog != NULL) { + regmatch.rm_ic = FALSE; if (vim_regexec(®match, line, 0)) { if (wp->w_briopt_list > 0) *** ../vim-8.2.3385/src/version.c 2021-08-29 12:36:43.301865015 +0200 --- src/version.c 2021-08-29 22:12:15.398377082 +0200 *************** *** 757,758 **** --- 757,760 ---- { /* Add new patch number below this line */ + /**/ + 3386, /**/ -- ARTHUR: What are you going to do. bleed on me? "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///