Mercurial > vim
comparison src/version.c @ 10976:f97a72ad8ffa v8.0.0377
patch 8.0.0377: possible overflow when reading corrupted undo file
commit https://github.com/vim/vim/commit/3eb1637b1bba19519885dd6d377bd5596e91d22c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 26 18:11:36 2017 +0100
patch 8.0.0377: possible overflow when reading corrupted undo file
Problem: Possible overflow when reading corrupted undo file.
Solution: Check if allocated size is not too big. (King)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 26 Feb 2017 18:15:04 +0100 |
parents | 7d735b86f764 |
children | f3d64d9e5d76 |
comparison
equal
deleted
inserted
replaced
10975:67a025a62042 | 10976:f97a72ad8ffa |
---|---|
762 NULL | 762 NULL |
763 }; | 763 }; |
764 | 764 |
765 static int included_patches[] = | 765 static int included_patches[] = |
766 { /* Add new patch number below this line */ | 766 { /* Add new patch number below this line */ |
767 /**/ | |
768 377, | |
767 /**/ | 769 /**/ |
768 376, | 770 376, |
769 /**/ | 771 /**/ |
770 375, | 772 375, |
771 /**/ | 773 /**/ |