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

Patch 7.2.024

Expand Messages
  • Bram Moolenaar
    Patch 7.2.024 Problem: It s possible to set history to a negative value and that causes an out-of-memory error. Solution: Check that history has a
    Message 1 of 1 , Oct 2, 2008
    • 0 Attachment
      Patch 7.2.024
      Problem: It's possible to set 'history' to a negative value and that causes
      an out-of-memory error.
      Solution: Check that 'history' has a positive value. (Doug Kearns)
      Files: src/option.c


      *** ../vim-7.2.023/src/option.c Thu Jul 24 18:45:15 2008
      --- src/option.c Fri Sep 26 22:20:20 2008
      ***************
      *** 7974,7979 ****
      --- 7974,7984 ----
      else /* curwin->w_p_scr > curwin->w_height */
      curwin->w_p_scr = curwin->w_height;
      }
      + if (p_hi < 0)
      + {
      + errmsg = e_positive;
      + p_hi = 0;
      + }
      if (p_report < 0)
      {
      errmsg = e_positive;
      *** ../vim-7.2.023/src/version.c Wed Oct 1 21:09:02 2008
      --- src/version.c Thu Oct 2 22:47:22 2008
      ***************
      *** 678,679 ****
      --- 678,681 ----
      { /* Add new patch number below this line */
      + /**/
      + 24,
      /**/

      --
      hundred-and-one symptoms of being an internet addict:
      127. You bring your laptop and cellular phone to church.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.