Loading ...
Sorry, an error occurred while loading the content.

Patch 5.6.011

Expand Messages
  • Bram Moolenaar
    Patch 5.6.011 Problem: When columns is huge (using a tiny font) and statusline is used, Vim can crash. Solution: Limit maxlen to MAXPATHL in
    Message 1 of 1 , Jan 26, 2000
    • 0 Attachment
      Patch 5.6.011
      Problem: When 'columns' is huge (using a tiny font) and 'statusline' is
      used, Vim can crash.
      Solution: Limit maxlen to MAXPATHL in win_redr_custom(). (John Mullin)
      Files: src/screen.c


      *** ../vim-5.6.10/src/screen.c Mon Dec 27 12:57:25 1999
      --- src/screen.c Tue Jan 25 11:00:06 2000
      ***************
      *** 2509,2514 ****
      --- 2509,2516 ----
      attr = 0;
      }
      }
      + if (maxlen >= sizeof(buf))
      + maxlen = sizeof(buf) - 1;

      len = build_stl_str_hl(wp, buf, p, fillchar, maxlen, hl);

      *** ../vim-5.6.10/src/version.c Wed Jan 26 12:20:20 2000
      --- src/version.c Wed Jan 26 12:19:59 2000
      ***************
      *** 420,421 ****
      --- 420,423 ----
      { /* Add new patch number below this line */
      + /**/
      + 11,
      /**/

      --
      Windows
      M!uqoms

      /-/-- Bram Moolenaar --- Bram@... --- http://www.moolenaar.net --\-\
      \ \ Vim: http://www.vim.org ICCF Holland: http://www.vim.org/iccf / /
    Your message has been successfully submitted and would be delivered to recipients shortly.