Patch 8.0.0072
Problem: MS-Windows: Crash with long font name. (Henry Hu)
Solution: Fix comparing with LF_FACESIZE. (Ken Takata, closes #1243)
Files: src/os_mswin.c
*** ../vim-8.0.0071/src/os_mswin.c 2016-10-12 14:19:55.750357722 +0200
--- src/os_mswin.c 2016-11-10 17:09:00.686845213 +0100
***************
*** 2893,2899 ****
*/
for (p = name; *p && *p != ':'; p++)
{
! if (p - name + 1 > LF_FACESIZE)
goto theend; /* Name too long */
lf->lfFaceName[p - name] = *p;
}
--- 2893,2899 ----
*/
for (p = name; *p && *p != ':'; p++)
{
! if (p - name + 1 >= LF_FACESIZE)
goto theend; /* Name too long */
lf->lfFaceName[p - name] = *p;
}
*** ../vim-8.0.0071/src/version.c 2016-11-07 22:42:48.828350757 +0100
--- src/version.c 2016-11-10 17:10:11.414402898 +0100
***************
*** 766,767 ****
--- 766,769 ----
{ /* Add new patch number below this line */
+ /**/
+ 72,
/**/
--
The Feynman problem solving Algorithm:
1) Write down the problem
2) Think real hard
3) Write down the answer
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.