0
0
mirror of https://github.com/vim/vim.git synced 2025-10-07 05:54:16 -04:00

patch 8.0.0648: possible use of NULL pointer

Problem:    Possible use of NULL pointer if buflist_new() returns NULL.
            (Coverity)
Solution:   Check for NULL pointer in set_bufref().
This commit is contained in:
Bram Moolenaar
2017-06-19 20:35:32 +02:00
parent 06f1ed2f78
commit fadacf01d0
2 changed files with 3 additions and 1 deletions

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
648,
/**/
647,
/**/