Patch 8.2.4623
Problem: Coverity warns for using uninitialized field.
Solution: Initialize he field to zero.
Files: src/ex_docmd.c
*** ../vim-8.2.4622/src/ex_docmd.c 2022-03-24 15:24:41.698509704 +0000
--- src/ex_docmd.c 2022-03-25 14:38:38.243608127 +0000
***************
*** 3906,3911 ****
--- 3906,3912 ----
// For ":2match" and ":3match" we need to skip the number.
ea.cmd = (*name == '2' || *name == '3') ? name + 1 : name;
ea.cmdidx = (cmdidx_T)0;
+ ea.flags = 0;
p = find_ex_command(&ea, &full, NULL, NULL);
if (p == NULL)
return 3;
*** ../vim-8.2.4622/src/version.c 2022-03-25 11:16:24.932035331 +0000
--- src/version.c 2022-03-25 14:39:30.139384694 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4623,
/**/
--
Q: Is selling software the same as selling hardware?
A: No, good hardware is sold new, good software has already been used by many.
/// 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/20220325144223.C89D91C0C20%40moolenaar.net.