]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0722: crash with large id in text_prop interface v9.1.0722
authorChristian Brabandt <cb@256bit.org>
Sun, 8 Sep 2024 18:05:23 +0000 (20:05 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 8 Sep 2024 18:05:23 +0000 (20:05 +0200)
commit701c863e68fa24847100beef3c9008024615a081
treef92d8b42e8aac7d5a94e3c8a0f76d632ef8ef2f5
parent5b9237c2e7613f126f95e26056f55024af759102
patch 9.1.0722: crash with large id in text_prop interface

Problem:  crash with large id in text_prop interface
          prop_add()/prop_add_list() (cposture)
Solution: Error out if the id is > INT_MAX or <= INT_MIN

fixes: #15637
closes: #15638

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/textprop.txt
src/testdir/test_textprop.vim
src/textprop.c
src/version.c