Yasuhiro Matsumoto wrote:

> ---------
> -1
> 1
> ---------
> 
> select two lines, and type <C-A> or <C-X>. vim will crash.

I can reproduce it.  Stack from valgrind:

==11654== Invalid write of size 1
==11654==    at 0x4C30623: memcpy@GLIBC_2.2.5 (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11654==    by 0x50A474: del_bytes (misc1.c:2586)
==11654==    by 0x50A1FA: del_chars (misc1.c:2476)
==11654==    by 0x50A163: del_char (misc1.c:2449)
==11654==    by 0x545E01: do_addsub (ops.c:5641)
==11654==    by 0x530E85: nv_addsub (normal.c:4206)
==11654==    by 0x52BA9C: normal_cmd (normal.c:1161)
==11654==    by 0x661117: main_loop (main.c:1350)
==11654==    by 0x660A18: main (main.c:1050)
==11654==  Address 0xfc52aa1 is 0 bytes after a block of size 1 alloc'd
==11654==    at 0x4C2BBA0: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11654==    by 0x518CCF: lalloc (misc2.c:921)
==11654==    by 0x518BDD: alloc (misc2.c:820)
==11654==    by 0x50A446: del_bytes (misc1.c:2583)
==11654==    by 0x50A1FA: del_chars (misc1.c:2476)
==11654==    by 0x50A163: del_char (misc1.c:2449)
==11654==    by 0x545E01: do_addsub (ops.c:5641)
==11654==    by 0x530E85: nv_addsub (normal.c:4206)
==11654==    by 0x52BA9C: normal_cmd (normal.c:1161)
==11654==    by 0x661117: main_loop (main.c:1350)
==11654==    by 0x660A18: main (main.c:1050)

I hope Christian can fix it.

-- 
hundred-and-one symptoms of being an internet addict:
176. You lie, even to user-friends, about how long you were online yesterday.

 /// 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