Mercurial > vim
comparison src/version.c @ 18957:305a7a8d9d4b v8.2.0039
patch 8.2.0039: memory access error when "z=" has no suggestions
Commit: https://github.com/vim/vim/commit/569fea2c312126dd5a542c4b1aa51095136a2c0d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 25 13:55:24 2019 +0100
patch 8.2.0039: memory access error when "z=" has no suggestions
Problem: Memory access error when "z=" has no suggestions.
Solution: Check for negative index.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 25 Dec 2019 14:00:04 +0100 |
parents | a04da75d3327 |
children | 81a7d27a9e8e |
comparison
equal
deleted
inserted
replaced
18956:5d4ff09e5a11 | 18957:305a7a8d9d4b |
---|---|
740 NULL | 740 NULL |
741 }; | 741 }; |
742 | 742 |
743 static int included_patches[] = | 743 static int included_patches[] = |
744 { /* Add new patch number below this line */ | 744 { /* Add new patch number below this line */ |
745 /**/ | |
746 39, | |
745 /**/ | 747 /**/ |
746 38, | 748 38, |
747 /**/ | 749 /**/ |
748 37, | 750 37, |
749 /**/ | 751 /**/ |