mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
patch 8.2.1104: Coverity warnts for possible NULL pointer use
Problem: Coverity warnts for possible NULL pointer use. Solution: Check "pbyts" is not NULL.
This commit is contained in:
parent
e707c882b2
commit
11b6600c88
@ -1406,7 +1406,8 @@ suggest_trie_walk(
|
||||
tword[sp->ts_twordlen] = NUL;
|
||||
|
||||
if (sp->ts_prefixdepth <= PFD_NOTSPECIAL
|
||||
&& (sp->ts_flags & TSF_PREFIXOK) == 0)
|
||||
&& (sp->ts_flags & TSF_PREFIXOK) == 0
|
||||
&& pbyts != NULL)
|
||||
{
|
||||
// There was a prefix before the word. Check that the prefix
|
||||
// can be used with this word.
|
||||
|
@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1104,
|
||||
/**/
|
||||
1103,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user