Mercurial > vim
comparison src/version.c @ 15959:4feaa025491b v8.1.0985
patch 8.1.0985: crash with large number in regexp
commit https://github.com/vim/vim/commit/ab350f89f9646e07aefe16a32ba3ddb847496b4a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 28 06:25:00 2019 +0100
patch 8.1.0985: crash with large number in regexp
Problem: Crash with large number in regexp. (Kuang-che Wu)
Solution: Check for long becoming negative int. (closes #)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 28 Feb 2019 06:30:11 +0100 |
parents | 209f65bb155f |
children | 4024dbfd3099 |
comparison
equal
deleted
inserted
replaced
15958:5b3c0bb37ebc | 15959:4feaa025491b |
---|---|
777 NULL | 777 NULL |
778 }; | 778 }; |
779 | 779 |
780 static int included_patches[] = | 780 static int included_patches[] = |
781 { /* Add new patch number below this line */ | 781 { /* Add new patch number below this line */ |
782 /**/ | |
783 985, | |
782 /**/ | 784 /**/ |
783 984, | 785 984, |
784 /**/ | 786 /**/ |
785 983, | 787 983, |
786 /**/ | 788 /**/ |