Patch 8.2.3330

3 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 11, 2021, 11:04:25 AM8/11/21
to vim...@googlegroups.com

Patch 8.2.3330
Problem: Coverity reports using uninitialized field.
Solution: Initialize the field early.
Files: src/tag.c


*** ../vim-8.2.3329/src/tag.c 2021-07-15 18:14:52.930849299 +0200
--- src/tag.c 2021-08-11 17:00:51.086360536 +0200
***************
*** 1680,1685 ****
--- 1680,1686 ----

help_save = curbuf->b_help;
orgpat.pat = pat;
+ orgpat.regmatch.regprog = NULL;
vimconv.vc_type = CONV_NONE;

/*
*** ../vim-8.2.3329/src/version.c 2021-08-11 16:47:20.947942681 +0200
--- src/version.c 2021-08-11 17:01:32.278273661 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3330,
/**/

--
CRONE: Who sent you?
ARTHUR: The Knights Who Say Ni!
CRONE: Aaaagh! (she looks around in rear) No! We have no shrubberies here.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages