Mercurial > vim
comparison src/version.c @ 36062:db2040131f43 v9.1.0703
patch 9.1.0703: crash with 2byte encoding and glob2regpat()
Commit: https://github.com/vim/vim/commit/c9bfed2fda8c23cc02325b1a7a6d84dc62bbea4b
Author: Christian Brabandt <cb@256bit.org>
Date: Thu Aug 29 22:12:05 2024 +0200
patch 9.1.0703: crash with 2byte encoding and glob2regpat()
Problem: possible crash with 2-byte encoding and glob2regpat()
(after v9.1.0700, v9.1.0702)
Solution: include both bytes for a multi-byte character for an
escaped character
closes: #15590
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 29 Aug 2024 22:30:04 +0200 |
parents | 98181c4f4a3f |
children | 70bab5acdacf |
comparison
equal
deleted
inserted
replaced
36061:d0d0a48f54d2 | 36062:db2040131f43 |
---|---|
702 NULL | 702 NULL |
703 }; | 703 }; |
704 | 704 |
705 static int included_patches[] = | 705 static int included_patches[] = |
706 { /* Add new patch number below this line */ | 706 { /* Add new patch number below this line */ |
707 /**/ | |
708 703, | |
707 /**/ | 709 /**/ |
708 702, | 710 702, |
709 /**/ | 711 /**/ |
710 701, | 712 701, |
711 /**/ | 713 /**/ |