home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / unreleased / patches / 5.7a.004 < prev    next >
Encoding:
Internet Message Format  |  2000-06-18  |  1.1 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 5.7a.004
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.7a.004
  8. Problem:    When reporting the search pattern offset, the string could be
  9.         unterminated, which may cause a crash.
  10. Solution:   Terminate the string for the search offset. (Stephen P. Wall)
  11. Files:        src/search.c
  12.  
  13.  
  14. *** ../vim-5.7a.3/src/search.c    Sun Jun 18 15:37:36 2000
  15. --- src/search.c    Mon Jun 19 21:22:30 2000
  16. ***************
  17. *** 790,795 ****
  18. --- 790,797 ----
  19.               *p++ = '+';
  20.               if (spats[0].off.off != 0 || spats[0].off.line)
  21.               sprintf((char *)p, "%ld", spats[0].off.off);
  22. +             else
  23. +             *p = NUL;
  24.           }
  25.   
  26.           msg_start();
  27. *** ../vim-5.7a.3/src/version.c    Sun Jun 18 15:37:36 2000
  28. --- src/version.c    Mon Jun 19 21:24:03 2000
  29. ***************
  30. *** 420,421 ****
  31. --- 420,423 ----
  32.   {   /* Add new patch number below this line */
  33. + /**/
  34. +     4,
  35.   /**/
  36.  
  37. -- 
  38. hundred-and-one symptoms of being an internet addict:
  39. 58. You turn on your computer and turn off your wife.
  40.  
  41. /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\
  42. \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/
  43.