get_framelayout() (winlayout()) and add_llist_tags() (taglist()) release a list_alloc()'d list or dict_alloc()'d dict with vim_free() when the append fails. Those objects are linked into the garbage-collection chain, so vim_free() leaves a dangling pointer there, a latent crash during garbage collection. Use list_free() and dict_unref() so the object is unlinked.
related: #20668
https://github.com/vim/vim/pull/20743
(2 files)
—
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.![]()