Mercurial > vim
comparison src/version.c @ 10978:f3d64d9e5d76 v8.0.0378
patch 8.0.0378: possible overflow when reading corrupted undo file
commit https://github.com/vim/vim/commit/0c8485f0e4931463c0f7986e1ea84a7d79f10c75
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 26 18:17:10 2017 +0100
patch 8.0.0378: possible overflow when reading corrupted undo file
Problem: Another 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:30:04 +0100 |
parents | f97a72ad8ffa |
children | 5362b4b6042c |
comparison
equal
deleted
inserted
replaced
10977:0ef527d91f1f | 10978:f3d64d9e5d76 |
---|---|
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 378, | |
767 /**/ | 769 /**/ |
768 377, | 770 377, |
769 /**/ | 771 /**/ |
770 376, | 772 376, |
771 /**/ | 773 /**/ |