4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Using an empty search pattern may cause a crash.
12 Solution: Avoid using a NULL pointer.
16 *** ../vim-7.0.070/src/search.c Tue Aug 29 17:28:56 2006
17 --- src/search.c Tue Aug 29 14:56:15 2006
21 * Add character and/or line offset
23 ! if (!(options & SEARCH_NOOF) || *pat == ';')
25 if (spats[0].off.line) /* Add the offset to the line number. */
29 * Add character and/or line offset
31 ! if (!(options & SEARCH_NOOF) || (pat != NULL && *pat == ';'))
33 if (spats[0].off.line) /* Add the offset to the line number. */
35 *** ../vim-7.0.070/src/version.c Tue Aug 29 17:28:56 2006
36 --- src/version.c Tue Aug 29 17:59:24 2006
40 { /* Add new patch number below this line */
46 hundred-and-one symptoms of being an internet addict:
47 268. You get up in the morning and go online before getting your coffee.
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51 \\\ download, build and distribute -- http://www.A-A-P.org ///
52 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///