Mercurial > vim
view src/testdir/dumps/Test_textprop_vis_01.dump @ 33920:28e1e956f42c v9.0.2159
patch 9.0.2159: screenpos() may crash with neg. column
Commit: https://github.com/vim/vim/commit/ec54af4e26952d954a4cc009f62c80ea01445d30
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue Dec 12 16:43:44 2023 +0100
patch 9.0.2159: screenpos() may crash with neg. column
Problem: screenpos() may crash with neg. column
Solution: validate and correct column
closes: #13669
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 12 Dec 2023 17:00:08 +0100 |
parents | 7847d281cbbf |
children |
line wrap: on
line source
|x+0&#ffffff0@4>x@1| |1+0&#ffff4012|2|3| +0&#ffffff0|x| @61 |x@5| |1+0&#ffff4012|2|3| +0&#ffffff0|x| @62 |x@4| |1+0&#ffff4012|2|3| +0&#ffffff0|x| @63 |x@4|1+0&#ffff4012|2|3| +0&#ffffff0|x| @64 |x@4|2+0&#ffff4012|3| +0&#ffffff0|x| @65 |x@3| |3+0&#ffff4012| +0&#ffffff0|x@1| @65 |x@2| |1+0&#ffff4012| +0&#ffffff0|x@2| @65 |x@1| |1+0&#ffff4012|2|x+0&#ffffff0@3| @65 |x| |1+0&#ffff4012|2|3|x+0&#ffffff0@3| @65 @1|1+0&#ffff4012|2|3| +0&#ffffff0|x@3| @65 |~+0#4040ff13&| @73 | +0#0000000&@56|1|,|6| @10|A|l@1|