[vim/vim] Add out-of-memory check to register.c (PR #19949)

2 views
Skip to first unread message

John Marriott

unread,
Apr 10, 2026, 7:12:31 PM (2 days ago) Apr 10
to vim/vim, Subscribed

This PR adds a check for an out-of-memory condition to function get_register() in register.c.

If such a condition is detected, free all the allocated memory and exit.

Cheers
John


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19949

Commit Summary

  • bd8eaaa Add out-of-memory check to register.c

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19949@github.com>

Reply all
Reply to author
Forward
0 new messages