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.
diff --git a/src/spellsuggest.c b/src/spellsuggest.c
index 6f9a756..0821dc6 100644
--- a/src/spellsuggest.c
+++ b/src/spellsuggest.c
@@ -1406,7 +1406,8 @@
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.