Problem: Possibly using uninitialized memory.
Solution: Check if "dict" is NULL. (closes #4925)
}
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);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2026,
/**/
2025,
/**/