Mercurial > vim
comparison src/version.c @ 17839:c72989922b51 v8.1.1916
patch 8.1.1916: trying to allocate negative amount of memory closing popup
Commit: https://github.com/vim/vim/commit/741ea17038d4b227a4433c87d918a9da0737fc50
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 24 14:16:32 2019 +0200
patch 8.1.1916: trying to allocate negative amount of memory closing popup
Problem: Trying to allocate negative amount of memory when closing a popup.
Solution: Check the rows are not out of bounds. Don't finish a selection if
it was never started.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Aug 2019 14:30:03 +0200 |
parents | f71ee7b04f0b |
children | 9513821d9d8f |
comparison
equal
deleted
inserted
replaced
17838:e128d99502ce | 17839:c72989922b51 |
---|---|
759 NULL | 759 NULL |
760 }; | 760 }; |
761 | 761 |
762 static int included_patches[] = | 762 static int included_patches[] = |
763 { /* Add new patch number below this line */ | 763 { /* Add new patch number below this line */ |
764 /**/ | |
765 1916, | |
764 /**/ | 766 /**/ |
765 1915, | 767 1915, |
766 /**/ | 768 /**/ |
767 1914, | 769 1914, |
768 /**/ | 770 /**/ |