Mercurial > vim
comparison src/version.c @ 15265:a7d02a56b5d5 v8.1.0641
patch 8.1.0641: no check for out-of-memory when converting regexp
commit https://github.com/vim/vim/commit/c57463c9c6ee893285f553e0ac3b2fe5935f16b8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 26 22:04:41 2018 +0100
patch 8.1.0641: no check for out-of-memory when converting regexp
Problem: No check for out-of-memory when converting regexp.
Solution: Bail out when lalloc() returns NULL. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 26 Dec 2018 22:15:05 +0100 |
parents | ad065b8123e8 |
children | 762fccd84b7c |
comparison
equal
deleted
inserted
replaced
15264:ac8b7be7e2fa | 15265:a7d02a56b5d5 |
---|---|
797 NULL | 797 NULL |
798 }; | 798 }; |
799 | 799 |
800 static int included_patches[] = | 800 static int included_patches[] = |
801 { /* Add new patch number below this line */ | 801 { /* Add new patch number below this line */ |
802 /**/ | |
803 641, | |
802 /**/ | 804 /**/ |
803 640, | 805 640, |
804 /**/ | 806 /**/ |
805 639, | 807 639, |
806 /**/ | 808 /**/ |