Mercurial > vim
comparison src/version.c @ 23664:aa8fa32cdca3 v8.2.2374
patch 8.2.2374: accessing uninitialized memory in test_undo
Commit: https://github.com/vim/vim/commit/82aa6e09e02b138ab7ee6b79ecac487813f117e5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 17 22:04:02 2021 +0100
patch 8.2.2374: accessing uninitialized memory in test_undo
Problem: Accessing uninitialized memory in test_undo.
Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pell?,
closes #7697)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Jan 2021 22:15:05 +0100 |
parents | c761fcb89dfe |
children | f07068ed0d3d |
comparison
equal
deleted
inserted
replaced
23663:d35c5eccbdad | 23664:aa8fa32cdca3 |
---|---|
748 NULL | 748 NULL |
749 }; | 749 }; |
750 | 750 |
751 static int included_patches[] = | 751 static int included_patches[] = |
752 { /* Add new patch number below this line */ | 752 { /* Add new patch number below this line */ |
753 /**/ | |
754 2374, | |
753 /**/ | 755 /**/ |
754 2373, | 756 2373, |
755 /**/ | 757 /**/ |
756 2372, | 758 2372, |
757 /**/ | 759 /**/ |