|
Karsten Hopp |
8dc24c |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
8dc24c |
Subject: Patch 7.4.811
|
|
Karsten Hopp |
8dc24c |
Fcc: outbox
|
|
Karsten Hopp |
8dc24c |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
8dc24c |
Mime-Version: 1.0
|
|
Karsten Hopp |
8dc24c |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
8dc24c |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
8dc24c |
------------
|
|
Karsten Hopp |
8dc24c |
|
|
Karsten Hopp |
8dc24c |
Patch 7.4.811
|
|
Karsten Hopp |
8dc24c |
Problem: Invalid memory access when using "exe 'sc'".
|
|
Karsten Hopp |
8dc24c |
Solution: Avoid going over the end of the string. (Dominique Pelle)
|
|
Karsten Hopp |
8dc24c |
Files: src/ex_docmd.c
|
|
Karsten Hopp |
8dc24c |
|
|
Karsten Hopp |
8dc24c |
|
|
Karsten Hopp |
8dc24c |
*** ../vim-7.4.810/src/ex_docmd.c 2015-07-28 14:25:41.848151118 +0200
|
|
Karsten Hopp |
8dc24c |
--- src/ex_docmd.c 2015-08-04 22:01:59.955636265 +0200
|
|
Karsten Hopp |
8dc24c |
***************
|
|
Karsten Hopp |
8dc24c |
*** 3129,3136 ****
|
|
Karsten Hopp |
8dc24c |
++p;
|
|
Karsten Hopp |
8dc24c |
}
|
|
Karsten Hopp |
8dc24c |
else if (p[0] == 's'
|
|
Karsten Hopp |
8dc24c |
! && ((p[1] == 'c' && p[2] != 's' && p[2] != 'r'
|
|
Karsten Hopp |
8dc24c |
! && p[3] != 'i' && p[4] != 'p')
|
|
Karsten Hopp |
8dc24c |
|| p[1] == 'g'
|
|
Karsten Hopp |
8dc24c |
|| (p[1] == 'i' && p[2] != 'm' && p[2] != 'l' && p[2] != 'g')
|
|
Karsten Hopp |
8dc24c |
|| p[1] == 'I'
|
|
Karsten Hopp |
8dc24c |
--- 3129,3136 ----
|
|
Karsten Hopp |
8dc24c |
++p;
|
|
Karsten Hopp |
8dc24c |
}
|
|
Karsten Hopp |
8dc24c |
else if (p[0] == 's'
|
|
Karsten Hopp |
8dc24c |
! && ((p[1] == 'c' && (p[2] == NUL || (p[2] != 's' && p[2] != 'r'
|
|
Karsten Hopp |
8dc24c |
! && (p[3] == NUL || (p[3] != 'i' && p[4] != 'p')))))
|
|
Karsten Hopp |
8dc24c |
|| p[1] == 'g'
|
|
Karsten Hopp |
8dc24c |
|| (p[1] == 'i' && p[2] != 'm' && p[2] != 'l' && p[2] != 'g')
|
|
Karsten Hopp |
8dc24c |
|| p[1] == 'I'
|
|
Karsten Hopp |
8dc24c |
*** ../vim-7.4.810/src/version.c 2015-08-04 21:51:20.522881723 +0200
|
|
Karsten Hopp |
8dc24c |
--- src/version.c 2015-08-04 22:01:29.395985096 +0200
|
|
Karsten Hopp |
8dc24c |
***************
|
|
Karsten Hopp |
8dc24c |
*** 743,744 ****
|
|
Karsten Hopp |
8dc24c |
--- 743,746 ----
|
|
Karsten Hopp |
8dc24c |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
8dc24c |
+ /**/
|
|
Karsten Hopp |
8dc24c |
+ 811,
|
|
Karsten Hopp |
8dc24c |
/**/
|
|
Karsten Hopp |
8dc24c |
|
|
Karsten Hopp |
8dc24c |
--
|
|
Karsten Hopp |
8dc24c |
** Hello and Welcome to the Psychiatric Hotline **
|
|
Karsten Hopp |
8dc24c |
If you are obsessive-compulsive, please press 1 repeatedly.
|
|
Karsten Hopp |
8dc24c |
If you are co-dependent, please ask someone to press 2.
|
|
Karsten Hopp |
8dc24c |
If you have multiple personalities, please press 3, 4, 5 and 6.
|
|
Karsten Hopp |
8dc24c |
If you are paranoid-delusional, we know who you are and what you want
|
|
Karsten Hopp |
8dc24c |
- just stay on the line so we can trace the call.
|
|
Karsten Hopp |
8dc24c |
If you are schizophrenic, listen carefully and a little voice will
|
|
Karsten Hopp |
8dc24c |
tell you which number to press next.
|
|
Karsten Hopp |
8dc24c |
If you are manic-depressive, it doesn't matter which number you press
|
|
Karsten Hopp |
8dc24c |
- no one will answer.
|
|
Karsten Hopp |
8dc24c |
If you suffer from panic attacks, push every button you can find.
|
|
Karsten Hopp |
8dc24c |
If you are sane, please hold on - we have the rest of humanity on the
|
|
Karsten Hopp |
8dc24c |
other line and they desparately want to ask you a few questions.
|
|
Karsten Hopp |
8dc24c |
|
|
Karsten Hopp |
8dc24c |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
8dc24c |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
8dc24c |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
8dc24c |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|