Mercurial > vim
comparison src/version.c @ 28829:2d0bd5601c30 v8.2.4938
patch 8.2.4938: crash when matching buffer with invalid pattern
Commit: https://github.com/vim/vim/commit/a59f2dfd0cf9ee1a584d3de5b7c2d47648e79060
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 11 11:42:28 2022 +0100
patch 8.2.4938: crash when matching buffer with invalid pattern
Problem: Crash when matching buffer with invalid pattern.
Solution: Check for NULL regprog.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 11 May 2022 12:45:04 +0200 |
parents | 91b2386b9d9e |
children | b5c46d447518 |
comparison
equal
deleted
inserted
replaced
28828:f4d6061c882f | 28829:2d0bd5601c30 |
---|---|
744 NULL | 744 NULL |
745 }; | 745 }; |
746 | 746 |
747 static int included_patches[] = | 747 static int included_patches[] = |
748 { /* Add new patch number below this line */ | 748 { /* Add new patch number below this line */ |
749 /**/ | |
750 4938, | |
749 /**/ | 751 /**/ |
750 4937, | 752 4937, |
751 /**/ | 753 /**/ |
752 4936, | 754 4936, |
753 /**/ | 755 /**/ |