]>
Commit | Line | Data |
---|---|---|
dbf7c229 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.069 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.0.069 | |
11 | Problem: Setting 'guitablabel' to %!expand(\%) causes Vim to free an | |
12 | invalid pointer. (Kim Schulz) | |
13 | Solution: Don't try freeing a constant string pointer. | |
14 | Files: src/buffer.c | |
15 | ||
16 | ||
17 | *** ../vim-7.0.068/src/buffer.c Wed Aug 16 19:34:59 2006 | |
18 | --- src/buffer.c Tue Aug 29 16:23:49 2006 | |
19 | *************** | |
20 | *** 3324,3330 **** | |
21 | { | |
22 | usefmt = eval_to_string_safe(fmt + 2, NULL, use_sandbox); | |
23 | if (usefmt == NULL) | |
24 | ! usefmt = (char_u *)""; | |
25 | } | |
26 | #endif | |
27 | ||
28 | --- 3324,3330 ---- | |
29 | { | |
30 | usefmt = eval_to_string_safe(fmt + 2, NULL, use_sandbox); | |
31 | if (usefmt == NULL) | |
32 | ! usefmt = fmt; | |
33 | } | |
34 | #endif | |
35 | ||
36 | *** ../vim-7.0.068/src/version.c Tue Aug 29 16:33:23 2006 | |
37 | --- src/version.c Tue Aug 29 16:48:08 2006 | |
38 | *************** | |
39 | *** 668,669 **** | |
40 | --- 668,671 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 69, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | Two fish in a tank. One says to the other: | |
48 | "Do you know how to drive this thing?" | |
49 | ||
50 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
51 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
52 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
53 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |