Kazunobu Kuriyama wrote:

> On Jun 19, 2015, at 23:33, Bram Moolenaar <[email protected]> wrote:
> 
> > 
> > Patch 7.4.745
> > Problem:    The entries added by matchaddpos() are returned by getmatches()
> >            but can't be set with setmatches(). (Lcd)
> > Solution:   Fix setmatches(). (Christian Brabandt)
> > Files:      src/eval.c, src/testdir/test63.in, src/testdir/test63.ok
> > <snip>
> 
> Hi, 
> 
> This patch causes a segfault at eval.c::17177 due to a trivial reason.
> 
> The attached patch fixes it.

Thanks!  Unfortunately valgrind does not find this kind of error.

-- 
"Computers in the future may weigh no more than 1.5 tons."
                                   Popular Mechanics, 1949

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui