To: vim_dev@googlegroups.com Subject: Patch 7.4.1834 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1834 Problem: Possible crash when conceal is active. Solution: Check for the screen to be valid when redrawing a line. Files: src/screen.c *** ../vim-7.4.1833/src/screen.c 2016-04-29 22:58:25.622876633 +0200 --- src/screen.c 2016-05-08 21:05:44.131944690 +0200 *************** *** 801,806 **** --- 801,810 ---- int row; int j; + /* Don't do anything if the screen structures are (not yet) valid. */ + if (!screen_valid(TRUE)) + return; + if (lnum >= wp->w_topline && lnum < wp->w_botline && foldedCount(wp, lnum, &win_foldinfo) == 0) { *** ../vim-7.4.1833/src/version.c 2016-05-24 10:46:41.659541832 +0200 --- src/version.c 2016-05-24 10:50:48.147538441 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 1834, /**/ -- Imagine a world without hypothetical situations. /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 ///