mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 21:25:04 -07:00
6967c08840
Problem: [security] double-free in dialog_changed()
(SuyueGuo)
Solution: Only clear pointer b_sfname pointer, if it is different
than the b_ffname pointer. Don't try to free b_fname,
set it to NULL instead.
fixes: vim/vim#15403
Github Advisory:
https://github.com/vim/vim/security/advisories/GHSA-46pw-v7qw-xc2f
b29f4abcd4
Co-authored-by: Christian Brabandt <cb@256bit.org>
552 B
552 B