]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1344: double free in f_complete_match() (after v9.1.1341) v9.1.1344
authorChristian Brabandt <cb@256bit.org>
Fri, 25 Apr 2025 17:01:06 +0000 (19:01 +0200)
committerChristian Brabandt <cb@256bit.org>
Fri, 25 Apr 2025 17:01:06 +0000 (19:01 +0200)
commit3accf046ec3d0ee4a762d15452ae46596e1a0540
treed544545413e557b59519d334f6e40b5b8ba40cb1
parente380b5cbba23869b07e17cfc7f4602e2fe681945
patch 9.1.1344: double free in f_complete_match() (after v9.1.1341)

Problem:  double free in f_complete_match() (after v9.1.1341)
Solution: remove additional free of trig pointer, correctly free
          regmatch.regprog and before_cursor in the error case

closes: #17203

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/insexpand.c
src/version.c