[patch] SEGV when using plugin skk.vim

5 views
Skip to first unread message

tyru

unread,
Oct 24, 2010, 11:14:32 PM10/24/10
to vim...@googlegroups.com
Here is the step to reproduce SEGV:
1. Enter insert mode
2. Enter <C-j> (which skk.vim mapped to)
3. Enter some text and hit <Space> (which skk.vim mapped to)
4. Enter <C-g>

Requirement:
skk.vim version 0.26.2.
OS: Ubuntu, Windows XP

In fact, this is not my patch.
the patch's author is Noriaki Yagi.

segv.patch
reproduce.sh

Dominique Pellé

unread,
Oct 25, 2010, 1:49:36 AM10/25/10
to vim...@googlegroups.com
tyru wrote:

Hi Tyru

Thanks for the bug report. Your proposed patch no longer
sets "len" which is thus used uninitialized.

Attached patch fixes it.

Cheers
-- Dominique

fixed-crash-ex_getln.c.patch

tyru

unread,
Oct 25, 2010, 2:39:28 AM10/25/10
to vim_dev
Thanks!
It appears correct.
>  fixed-crash-ex_getln.c.patch
> 1K表示ダウンロード
Reply all
Reply to author
Forward
0 new messages