add_regionpos_range() freed lists that were already linked into the result list when a later list_alloc() or list_append_list() failed, causing a double-free and use-after-free when the return value was later cleared. Only free lists that were not appended, and free them with list_free() so they are unlinked from the garbage-collection chain.
related: #20668
https://github.com/vim/vim/pull/20744
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()