Hi List, Vim crash with the following remote command. @sock.write '["redraw", ""]'
Patch attached. Regards Damien. -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
diff -r c6322fd49aeb src/channel.c --- a/src/channel.c Sun Jan 31 20:30:04 2016 +0100 +++ b/src/channel.c Mon Feb 01 20:59:57 2016 +0100 @@ -505,7 +505,7 @@ EMSG("E903: received ex command with non-string argument"); return; } - arg = arg2->vval.v_string; + arg = arg2->vval.v_string ? arg2->vval.v_string : (char_u *) ""; if (STRCMP(cmd, "ex") == 0) {