Error: SHELLCHECK_WARNING (CWE-563): [#def1] /usr/lib64/tclConfig.sh:16:1: warning[SC2034]: TCL_PATCH_LEVEL appears unused. Verify use (or export if used externally). # 14| TCL_MAJOR_VERSION='9' # 15| TCL_MINOR_VERSION='0' # 16|-> TCL_PATCH_LEVEL='.2' # 17| # 18| # C compiler to use for compilation. Error: SHELLCHECK_WARNING (CWE-563): [#def2] /usr/lib64/tclConfig.sh:39:1: warning[SC2034]: TCL_ZIP_FILE appears unused. Verify use (or export if used externally). # 37| # 38| # The name of a zip containing the /library and /encodings (may be either a .zip file or a shared library): # 39|-> TCL_ZIP_FILE='libtcl9.0.2.zip' # 40| # 41| # Additional libraries to use when linking Tcl. Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] tcl9.0.2/generic/regc_cvec.c:85:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ tcl9.0.2/generic/regcomp.c:1690:1: enter_function: entry to ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1701:13: call_function: calling ‘newstate’ from ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1701:13: return_function: returning to ‘wordchrs’ from ‘newstate’ tcl9.0.2/generic/regcomp.c:1702:5: branch_false: following ‘false’ branch... tcl9.0.2/generic/regcomp.c:1708:5: call_function: inlined call to ‘lexword’ from ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1709:5: call_function: calling ‘next’ from ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1709:5: return_function: returning to ‘wordchrs’ from ‘next’ tcl9.0.2/generic/regcomp.c:1711:5: call_function: calling ‘bracket’ from ‘wordchrs’ # 83| { # 84| assert(cv->nchrs < cv->chrspace); # 85|-> cv->chrs[cv->nchrs++] = (chr)c; # 86| } # 87| Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] tcl9.0.2/generic/regc_cvec.c:85:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cv’ tcl9.0.2/generic/regcomp.c:1690:1: enter_function: entry to ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1701:13: call_function: calling ‘newstate’ from ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1701:13: return_function: returning to ‘wordchrs’ from ‘newstate’ tcl9.0.2/generic/regcomp.c:1702:5: branch_false: following ‘false’ branch... tcl9.0.2/generic/regcomp.c:1708:5: call_function: inlined call to ‘lexword’ from ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1709:5: call_function: calling ‘next’ from ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1709:5: return_function: returning to ‘wordchrs’ from ‘next’ tcl9.0.2/generic/regcomp.c:1711:5: call_function: calling ‘bracket’ from ‘wordchrs’ # 83| { # 84| assert(cv->nchrs < cv->chrspace); # 85|-> cv->chrs[cv->nchrs++] = (chr)c; # 86| } # 87| Error: GCC_ANALYZER_WARNING (CWE-476): [#def5] tcl9.0.2/generic/regc_cvec.c:99:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ tcl9.0.2/generic/regcomp.c:1690:1: enter_function: entry to ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1701:13: call_function: calling ‘newstate’ from ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1701:13: return_function: returning to ‘wordchrs’ from ‘newstate’ tcl9.0.2/generic/regcomp.c:1702:5: branch_false: following ‘false’ branch... tcl9.0.2/generic/regcomp.c:1708:5: call_function: inlined call to ‘lexword’ from ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1709:5: call_function: calling ‘next’ from ‘wordchrs’ # 97| { # 98| assert(cv->nranges < cv->rangespace); # 99|-> cv->ranges[cv->nranges*2] = (chr)from; # 100| cv->ranges[cv->nranges*2 + 1] = (chr)to; # 101| cv->nranges++; Error: GCC_ANALYZER_WARNING (CWE-476): [#def6] tcl9.0.2/generic/regc_nfa.c:283:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘to’ tcl9.0.2/generic/regcomp.c:1690:1: enter_function: entry to ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1701:13: call_function: calling ‘newstate’ from ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1701:13: return_function: returning to ‘wordchrs’ from ‘newstate’ tcl9.0.2/generic/regcomp.c:1702:5: branch_false: following ‘false’ branch... tcl9.0.2/generic/regcomp.c:1708:5: call_function: inlined call to ‘lexword’ from ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1709:5: call_function: calling ‘next’ from ‘wordchrs’ tcl9.0.2/generic/regcomp.c:1709:5: return_function: returning to ‘wordchrs’ from ‘next’ tcl9.0.2/generic/regcomp.c:1711:5: call_function: calling ‘bracket’ from ‘wordchrs’ # 281| # 282| /* check for duplicate arc, using whichever chain is shorter */ # 283|-> if (from->nouts <= to->nins) { # 284| for (a = from->outs; a != NULL; a = a->outchain) { # 285| if (a->to == to && a->co == co && a->type == t) { Error: CPPCHECK_WARNING (CWE-457): [#def7] tcl9.0.2/generic/tclObj.c:2155: error[uninitvar]: Uninitialized variable: cachePtr # 2153| Tcl_Obj *msg; # 2154| # 2155|-> TclNewLiteralStringObj(msg, "expected boolean value but got \""); # 2156| Tcl_AppendLimitedToObj(msg, str, length, 50, ""); # 2157| Tcl_AppendToObj(msg, "\"", -1); Error: CPPCHECK_WARNING (CWE-457): [#def8] tcl9.0.2/generic/tclObj.c:2155: error[uninitvar]: Uninitialized variable: msg # 2153| Tcl_Obj *msg; # 2154| # 2155|-> TclNewLiteralStringObj(msg, "expected boolean value but got \""); # 2156| Tcl_AppendLimitedToObj(msg, str, length, 50, ""); # 2157| Tcl_AppendToObj(msg, "\"", -1);
| analyzer-version-clippy | 1.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.95.0 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-117.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | tcl-9.0.3-1.fc45 |
| diffbase-store-results-to | /tmp/tmpqqb6a8g4/tcl-9.0.3-1.fc45.tar.xz |
| diffbase-time-created | 2026-06-01 17:02:13 |
| diffbase-time-finished | 2026-06-01 17:05:06 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpqqb6a8g4/tcl-9.0.3-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpqqb6a8g4/tcl-9.0.3-1.fc45.src.rpm' |
| diffbase-tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-117.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | tcl-9.0.2-1.fc44 |
| store-results-to | /tmp/tmph4j_7ole/tcl-9.0.2-1.fc44.tar.xz |
| time-created | 2026-06-01 16:58:28 |
| time-finished | 2026-06-01 17:01:52 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmph4j_7ole/tcl-9.0.2-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmph4j_7ole/tcl-9.0.2-1.fc44.src.rpm' |
| tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |