Mercurial > vim
comparison src/version.c @ 11531:e349dc7889f5 v8.0.0648
patch 8.0.0648: possible use of NULL pointer
commit https://github.com/vim/vim/commit/fadacf01d0dbcc7a96ef5eee0ad57956eeab04d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 19 20:35:32 2017 +0200
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().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 19 Jun 2017 20:45:03 +0200 |
parents | 998d2cf59caa |
children | c83dd5fa40d8 |
comparison
equal
deleted
inserted
replaced
11530:e11879a5cc68 | 11531:e349dc7889f5 |
---|---|
762 NULL | 762 NULL |
763 }; | 763 }; |
764 | 764 |
765 static int included_patches[] = | 765 static int included_patches[] = |
766 { /* Add new patch number below this line */ | 766 { /* Add new patch number below this line */ |
767 /**/ | |
768 648, | |
767 /**/ | 769 /**/ |
768 647, | 770 647, |
769 /**/ | 771 /**/ |
770 646, | 772 646, |
771 /**/ | 773 /**/ |