]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.159
- new: 7.3.260
[packages/vim.git] / 7.3.159
CommitLineData
9a1bc5e5
ER
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.159
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.159
11Problem: Using uninitialized pointer when out of memory.
12Solution: Check for NULL return value.
13Files: src/mbyte.c
14
15
16*** ../vim-7.3.158/src/mbyte.c 2010-10-27 13:37:39.000000000 +0200
17--- src/mbyte.c 2011-04-11 14:17:39.000000000 +0200
18***************
19*** 4129,4135 ****
20 done = to - (char *)result;
21 }
22
23! if (resultlenp != NULL)
24 *resultlenp = (int)(to - (char *)result);
25 return result;
26 }
27--- 4129,4135 ----
28 done = to - (char *)result;
29 }
30
31! if (resultlenp != NULL && result != NULL)
32 *resultlenp = (int)(to - (char *)result);
33 return result;
34 }
35*** ../vim-7.3.158/src/version.c 2011-04-11 14:27:34.000000000 +0200
36--- src/version.c 2011-04-11 14:28:08.000000000 +0200
37***************
38*** 716,717 ****
39--- 716,719 ----
40 { /* Add new patch number below this line */
41+ /**/
42+ 159,
43 /**/
44
45--
46I learned the customs and mannerisms of engineers by observing them, much the
47way Jane Goodall learned about the great apes, but without the hassle of
48grooming.
49 (Scott Adams - The Dilbert principle)
50
51 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
52/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53\\\ an exciting new programming language -- http://www.Zimbu.org ///
54 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.036974 seconds and 4 git commands to generate.