mirror of
https://github.com/neovim/neovim.git
synced 2026-02-24 03:11:04 +10:00
Problem: [security]: buffer-overflow in 'helpfile' option handling by
using strcpy without bound checks (Rahul Hoysala)
Solution: Limit strncpy to the length of the buffer (MAXPATHL)
Github Advisory:
https://github.com/vim/vim/security/advisories/GHSA-5w93-4g67-mm43
0714b15940
Co-authored-by: Christian Brabandt <cb@256bit.org>
(cherry picked from commit db133879b2)