Patch 7.0.231
commit2571afdc37410985fb3ef9b5b99617d6a2fe8e6e
authoredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Fri, 27 Apr 2007 03:42:07 +0000 (27 03:42 +0000)
committeredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Fri, 27 Apr 2007 03:42:07 +0000 (27 03:42 +0000)
tree66cc12620d592e912b7e3f9d33853cc8bd8128b0
parentcbea53dfe768fbd935ad96d94d330eb5b606563d
Patch 7.0.231
Problem:    When recovering from a swap file the page size is likely to be
    different from the minimum.  The block used for the first page
    then has a buffer of the wrong size, causing a crash when it's
    reused later.  (Zephaniah Hull)
Solution:   Reallocate the buffer when the page size changes.  Also check that
    the page size is at least the minimum value.
Files:     src/memline.c

git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/vim7@249 2a77ed30-b011-0410-a7ad-c7884a0aa172
src/memline.c
src/version.c