Patch 8.1.1424
Problem:    Crash when popup menu is deleted while waiting for char.
Solution:   Bail out when pum_array was cleared.
Files:      src/popupmnu.c


*** ../vim-8.1.1423/src/popupmnu.c      2019-05-28 23:08:12.072648675 +0200
--- src/popupmnu.c      2019-05-30 15:51:54.799280366 +0200
***************
*** 1302,1308 ****
        out_flush();
  
        c = vgetc();
!       if (c == ESC || c == Ctrl_C)
            break;
        else if (c == CAR || c == NL)
        {
--- 1302,1311 ----
        out_flush();
  
        c = vgetc();
! 
!       // Bail out when typing Esc, CTRL-C or some callback closed the popup
!       // menu.
!       if (c == ESC || c == Ctrl_C || pum_array == NULL)
            break;
        else if (c == CAR || c == NL)
        {
*** ../vim-8.1.1423/src/version.c       2019-05-30 15:22:39.840174945 +0200
--- src/version.c       2019-05-30 15:52:45.075020524 +0200
***************
*** 769,770 ****
--- 769,772 ----
  {   /* Add new patch number below this line */
+ /**/
+     1424,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
53. To find out what time it is, you send yourself an e-mail and check the
    "Date:" field.

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201905301354.x4UDsGWJ010236%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui