]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0772: Vim9: Null dereference inside alloc_type() v9.2.0772
authorChristian Brabandt <cb@256bit.org>
Thu, 2 Jul 2026 19:36:42 +0000 (19:36 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 2 Jul 2026 19:36:42 +0000 (19:36 +0000)
commitd5ec9f2e2c8694f12ba16eef1ce0fe002445bd37
treea1d84f871843668c4091c86dd57bed6746e45150
parent3ae1443d10da03019d4b37c090daee38926da215
patch 9.2.0772: Vim9: Null dereference inside alloc_type()

Problem:  Vim9: Null dereference inside alloc_type(),
          Missing NULL check after ALLOC_ONE() (Ao Xijie)
Solution: Check that the returned value from ALLOC_ONE() is not NULL

related: #20668

Supported by AI.

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/version.c
src/vim9type.c