commit | 2354b66ac52a8a9165e8bd0d642e19e757ba12c3 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Apr 23 21:42:25 2023 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Apr 23 21:42:25 2023 +0100 |
tree | 1233f7470292cf4b72583d7ad9fbe0595a290f93 | |
parent | aae583441bcdbb0bfef3b8a1d193e04ae09ca95d [diff] [blame] |
patch 9.0.1482: crash when textprop has a very large "padding" value Problem: Crash when textprop has a very large "padding" value. (Yegappan Lakshmanan) Solution: Avoid the "after" count to go negative.
diff --git a/src/version.c b/src/version.c index a87121f..aa480c1 100644 --- a/src/version.c +++ b/src/version.c
@@ -696,6 +696,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1482, +/**/ 1481, /**/ 1480,