# HG changeset patch # User Bram Moolenaar # Date 1568406603 -7200 # Node ID 0b351691071c1602be09865b149816c959779b3f # Parent 93f5d0f8d833a81ec1de8a94f4719458621cd253 patch 8.1.2026: possibly using uninitialized memory Commit: https://github.com/vim/vim/commit/dbec74907eb614517bcf27116d5aad32e087f241 Author: Bram Moolenaar Date: Fri Sep 13 22:16:21 2019 +0200 patch 8.1.2026: possibly using uninitialized memory Problem: Possibly using uninitialized memory. Solution: Check if "dict" is NULL. (closes https://github.com/vim/vim/issues/4925) diff --git a/src/ops.c b/src/ops.c --- a/src/ops.c +++ b/src/ops.c @@ -7074,12 +7074,12 @@ cursor_pos_info(dict_T *dict) } bom_count = bomb_size(); - if (bom_count > 0) + if (dict == NULL && bom_count > 0) vim_snprintf((char *)IObuff + STRLEN(IObuff), IOSIZE, _("(+%lld for BOM)"), (long_long_T)bom_count); if (dict == NULL) { - /* Don't shorten this message, the user asked for it. */ + // Don't shorten this message, the user asked for it. p = p_shm; p_shm = (char_u *)""; msg((char *)IObuff); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2026, +/**/ 2025, /**/ 2024,