Task #119490 - added.err

back to task #119490
download
Error: SHELLCHECK_WARNING (CWE-563):
/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='.3'
#   17|   
#   18|   # C compiler to use for compilation.

Error: SHELLCHECK_WARNING (CWE-563):
/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.3.zip'
#   40|   
#   41|   # Additional libraries to use when linking Tcl.

Error: GCC_ANALYZER_WARNING (CWE-476):
tcl9.0.3/generic/regc_cvec.c:84:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cv’
tcl9.0.3/generic/regcomp.c:1690:1: enter_function: entry to ‘wordchrs’
tcl9.0.3/generic/regcomp.c:1700:12: call_function: calling ‘newstate’ from ‘wordchrs’
tcl9.0.3/generic/regcomp.c:1700:12: return_function: returning to ‘wordchrs’ from ‘newstate’
tcl9.0.3/generic/regcomp.c:1701:13: call_function: calling ‘newstate’ from ‘wordchrs’
tcl9.0.3/generic/regcomp.c:1701:13: return_function: returning to ‘wordchrs’ from ‘newstate’
tcl9.0.3/generic/regcomp.c:1702:5: branch_false: following ‘false’ branch...
tcl9.0.3/generic/regcomp.c:1708:5: branch_false: ...to here
tcl9.0.3/generic/regcomp.c:1708:5: call_function: calling ‘lexword’ from ‘wordchrs’
tcl9.0.3/generic/regcomp.c:1708:5: return_function: returning to ‘wordchrs’ from ‘lexword’
tcl9.0.3/generic/regcomp.c:1709:5: call_function: calling ‘next’ from ‘wordchrs’
tcl9.0.3/generic/regcomp.c:1709:5: return_function: returning to ‘wordchrs’ from ‘next’
tcl9.0.3/generic/regcomp.c:1710:5: branch_true: following ‘true’ branch...
tcl9.0.3/generic/regcomp.c:1711:5: call_function: calling ‘bracket’ from ‘wordchrs’
#   82|       pchr c)			/* character to add */
#   83|   {
#   84|->     assert(cv->nchrs < cv->chrspace);
#   85|       cv->chrs[cv->nchrs++] = (chr)c;
#   86|   }

Error: GCC_ANALYZER_WARNING (CWE-476):
tcl9.0.3/generic/regc_cvec.c:98:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cv’
tcl9.0.3/generic/regcomp.c:1690:1: enter_function: entry to ‘wordchrs’
tcl9.0.3/generic/regcomp.c:1700:12: call_function: calling ‘newstate’ from ‘wordchrs’
tcl9.0.3/generic/regcomp.c:1700:12: return_function: returning to ‘wordchrs’ from ‘newstate’
tcl9.0.3/generic/regcomp.c:1701:13: call_function: calling ‘newstate’ from ‘wordchrs’
tcl9.0.3/generic/regcomp.c:1701:13: return_function: returning to ‘wordchrs’ from ‘newstate’
tcl9.0.3/generic/regcomp.c:1702:5: branch_false: following ‘false’ branch...
tcl9.0.3/generic/regcomp.c:1708:5: branch_false: ...to here
tcl9.0.3/generic/regcomp.c:1708:5: call_function: calling ‘lexword’ from ‘wordchrs’
tcl9.0.3/generic/regcomp.c:1708:5: return_function: returning to ‘wordchrs’ from ‘lexword’
tcl9.0.3/generic/regcomp.c:1709:5: call_function: calling ‘next’ from ‘wordchrs’
#   96|       pchr to)			/* last character of range */
#   97|   {
#   98|->     assert(cv->nranges < cv->rangespace);
#   99|       cv->ranges[cv->nranges*2] = (chr)from;
#  100|       cv->ranges[cv->nranges*2 + 1] = (chr)to;

Error: COMPILER_WARNING (CWE-569):
tcl9.0.3/generic/tclInt.h:66: included_from: Included from here.
tcl9.0.3/generic/regex.h:4: included_from: Included from here.
tcl9.0.3/generic/regcustom.h:33: included_from: Included from here.
tcl9.0.3/generic/regguts.h:36: included_from: Included from here.
tcl9.0.3/generic/regexec.c:31: included_from: Included from here.
tcl9.0.3/generic/regexec.c: scope_hint: In function ‘TclReExec’
tcl9.0.3/generic/regexec.c:233:24: warning[-Wtype-limits]: comparison of unsigned expression in ‘>= 0’ is always true
#  233 |     assert(v->g->ntree >= 0);
#      |                        ^~
#  231|       v->stop = (chr *)string + len;
#  232|       v->err = 0;
#  233|->     assert(v->g->ntree >= 0);
#  234|       n = v->g->ntree;
#  235|       if (n <= LOCALDFAS) {

Error: CPPCHECK_WARNING (CWE-457):
tcl9.0.3/generic/tclOODefineCmds.c:2883: error[legacyUninitvar]: Uninitialized variable: *(&listv)
# 2881|   
# 2882|       /* Prepare a set of items in the list to set */
# 2883|->     if (TclListObjGetElements(interp, list, &listc, &listv) != TCL_OK) {
# 2884|   	Tcl_DecrRefCount(list);
# 2885|   	Tcl_DecrRefCount(resolved);

Error: CPPCHECK_WARNING (CWE-457):
tcl9.0.3/generic/tclObj.c:2111: error[uninitvar]: Uninitialized variable: cachePtr
# 2109|   	Tcl_Obj *msg;
# 2110|   
# 2111|-> 	TclNewLiteralStringObj(msg, "expected boolean value but got ");
# 2112|   
# 2113|   	Tcl_Size argc;

Error: CPPCHECK_WARNING (CWE-457):
tcl9.0.3/generic/tclObj.c:2111: error[uninitvar]: Uninitialized variable: msg
# 2109|   	Tcl_Obj *msg;
# 2110|   
# 2111|-> 	TclNewLiteralStringObj(msg, "expected boolean value but got ");
# 2112|   
# 2113|   	Tcl_Size argc;