[resend, picky postmaster refused the message]

Yegappan wrote:

> If you source the attached script and press <F3> multiple times
> (atleast 40 times)
> followed by <F4> multiple times, you will see that Vim crashes.  Also
> this script
> illustrates the problem with virtual text not rendering properly when
> a line starts with a tab character.
> 
> The ASAN traceback is below:

Weird behavior.  I managed to have this crash valgrind.

It doesn't look like it has anything to do with a Tab character, but
with a very large "padding" value.  Computations then cause the "after"
count to go negative.

I'll make a fix with a much simpler test.  You can check with the
complicated reproduction case as well.

-- 
An SQL statement walks into a bar.  He approaches two tables
and says, "Mind if I join you?"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230502233906.D6BC31C0664%40moolenaar.net.

Raspunde prin e-mail lui