commit | 0d07155c8bbaca1a527b79da358438253a60839f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jul 08 22:04:03 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jul 08 22:04:03 2019 +0200 |
tree | 427f6db1a6aa7733efb90bb0387615791b65255b | |
parent | 49fe95f22517b775506ef34681000d84bb417eb3 [diff] [blame] |
patch 8.1.1653: ubsan warns for possibly passing NULL pointer Problem: Ubsan warns for possibly passing NULL pointer. Solution: Skip code when length is zero. (Dominique Pelle, closes #4631)
diff --git a/src/version.c b/src/version.c index 5061579..03361ca 100644 --- a/src/version.c +++ b/src/version.c
@@ -778,6 +778,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1653, +/**/ 1652, /**/ 1651,