Mercurial > vim
view src/testdir/dumps/Test_appendbufline_1.dump @ 27742:3b2c75c0a7ab v8.2.4397
patch 8.2.4397: crash when using many composing characters in error message
Commit: https://github.com/vim/vim/commit/34f8117dec685ace52cd9e578e2729db278163fc
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 16 12:16:19 2022 +0000
patch 8.2.4397: crash when using many composing characters in error message
Problem: Crash when using many composing characters in error message.
Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Feb 2022 13:30:05 +0100 |
parents | bfc5a2962f38 |
children |
line wrap: on
line source
| +0&#ffffff0@74 |H|e|l@1|o| |V|i|m| |w|o|r|l|d|.@2| @56 |~+0#4040ff13&| @73 |~| @73 |f+1#0000000&|o@1| |[|+|]| @49|1|,|0|-|1| @9|A|l@1 > +0&&@74 |~+0#4040ff13&| @73 |~| @73 |[+3#0000000&|N|o| |N|a|m|e|]| @47|0|,|0|-|1| @9|A|l@1 |-+0&&@1|N|o| |l|i|n|e|s| |i|n| |b|u|f@1|e|r|-@1| @52