Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
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 */

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-10.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namelibpsl-0.23.1-1.fc45
diffbase-store-results-to/tmp/tmpb3a7oxzb/libpsl-0.23.1-1.fc45.tar.xz
diffbase-time-created2026-08-03 17:50:02
diffbase-time-finished2026-08-03 17:51:17
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpb3a7oxzb/libpsl-0.23.1-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpb3a7oxzb/libpsl-0.23.1-1.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-10.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibpsl-0.21.5-7.fc44
store-results-to/tmp/tmpjyd96i3c/libpsl-0.21.5-7.fc44.tar.xz
time-created2026-08-03 17:47:38
time-finished2026-08-03 17:49:47
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpjyd96i3c/libpsl-0.21.5-7.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpjyd96i3c/libpsl-0.21.5-7.fc44.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9