Hi,

Been playing with reduced maxmem and found I can crash VIM when getting spelling suggestions. The following will reproduce the crash under Windows (line wrapped, and lots of fun getting the double quotes right):

gvim -u NONE -U NONE -c "call feedkeys("":set" "maxmem=512" "spell\<CR>iasd\<ESC>z=""")"

The crash is in mf_write_block() checking the encrypt key *mfp->mf_buffer->b_p_key when the pointer is NULL. Since the pointer is expected to be valid then there is a path through the spell code that is not setting up the buffer parameters right. Sorry no time at the moment to dive any deeper.

My Vim is built with (ie features is big):

nmake -f make_mvc.mak GUI=yes WINVER=0x0501 CPUNR=pentium4 POSTSCRIPT=yes PYTHON=h:\python27 PYTHON_VER=27 DYNAMIC_PYTHON=yes

Reproducible under unix as well.

Mike
--
I have read and understood the above. X________________

--
--
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/groups/opt_out.


Raspunde prin e-mail lui