Fixed findings

List of Findings

Error: CPPCHECK_WARNING (CWE-476): [#def1]
sqlite-3.46.1-build/sqlite-src-3460100/tool/src-verify.c:863: warning[nullPointer]: Possible null pointer dereference: zDir
#  861|       return 1;
#  862|     }
#  863|->   if( strlen(zDir)>1000 ){
#  864|       fprintf(stderr, "Directory argument too big: [%s]\n", zDir);
#  865|       return 1;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def2]
sqlite-3.46.1-build/sqlite-src-3460100/tool/src-verify.c: scope_hint: In function ‘main’
sqlite-3.46.1-build/sqlite-src-3460100/tool/src-verify.c:863:7: warning[-Wanalyzer-null-argument]: use of NULL ‘zDir’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  861|       return 1;
#  862|     }
#  863|->   if( strlen(zDir)>1000 ){
#  864|       fprintf(stderr, "Directory argument too big: [%s]\n", zDir);
#  865|       return 1;

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-12.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namesqlite-3.47.0-1.fc42
diffbase-store-results-to/tmp/tmp78my4ja4/sqlite-3.47.0-1.fc42.tar.xz
diffbase-time-created2024-11-13 03:30:29
diffbase-time-finished2024-11-13 03:41:04
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp78my4ja4/sqlite-3.47.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp78my4ja4/sqlite-3.47.0-1.fc42.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-12.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namesqlite-3.46.1-1.fc41
store-results-to/tmp/tmpspep69p0/sqlite-3.46.1-1.fc41.tar.xz
time-created2024-11-13 03:20:53
time-finished2024-11-13 03:30:04
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpspep69p0/sqlite-3.46.1-1.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpspep69p0/sqlite-3.46.1-1.fc41.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9