Task #131738 - fixed.err

back to task #131738
download
Error: GCC_ANALYZER_WARNING (CWE-476):
libpsl-0.21.5/src/psl.c:1313:33: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
libpsl-0.21.5/src/psl.c:1190:12: enter_function: entry to 'psl_load_fp'
libpsl-0.21.5/src/psl.c:1198:12: branch_false: following 'false' branch (when 'fp' is non-NULL)...
libpsl-0.21.5/src/psl.c:1201:21: branch_false: ...to here
libpsl-0.21.5/src/psl.c:1201:12: branch_false: following 'false' branch (when 'psl' is non-NULL)...
libpsl-0.21.5/src/psl.c:1205:23: branch_false: ...to here
libpsl-0.21.5/src/psl.c:1205:12: branch_false: following 'false' branch...
libpsl-0.21.5/src/psl.c:1208:20: branch_false: ...to here
libpsl-0.21.5/src/psl.c:1296:21: call_function: calling 'suffix_init' from 'psl_load_fp'
libpsl-0.21.5/src/psl.c:1296:21: return_function: returning to 'psl_load_fp' from 'suffix_init'
libpsl-0.21.5/src/psl.c:1296:20: branch_true: following 'true' branch...
libpsl-0.21.5/src/psl.c:1299:50: branch_true: ...to here
libpsl-0.21.5/src/psl.c:1299:38: call_function: calling 'vector_find' from 'psl_load_fp'
libpsl-0.21.5/src/psl.c:1299:38: return_function: returning to 'psl_load_fp' from 'vector_find'
libpsl-0.21.5/src/psl.c:1299:28: branch_true: following 'true' branch...
libpsl-0.21.5/src/psl.c:1312:54: branch_true: ...to here
libpsl-0.21.5/src/psl.c:1313:33: danger: dereference of NULL 'vector_get(*psl.suffixes,  vector_find(*psl.suffixes, & suffix))'
# 1311|   
# 1312|   				suffixp = vector_get(psl->suffixes, index);
# 1313|-> 				suffixp->flags |= suffix.flags;
# 1314|   			} else {
# 1315|   				/* New entry */