tk-9.0.2-1.fc44

List of Findings

Error: SHELLCHECK_WARNING (CWE-758): [#def1]
/usr/lib64/tkConfig.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
#    1|-> # tkConfig.sh --
#    2|   #
#    3|   # This shell script (for sh) is generated automatically by Tk's

Error: SHELLCHECK_WARNING (CWE-563): [#def2]
/usr/lib64/tkConfig.sh:15:1: warning[SC2034]: TK_VERSION appears unused. Verify use (or export if used externally).
#   13|   
#   14|   # Tk's version number.
#   15|-> TK_VERSION='9.0'
#   16|   TK_MAJOR_VERSION='9'
#   17|   TK_MINOR_VERSION='0'

Error: SHELLCHECK_WARNING (CWE-563): [#def3]
/usr/lib64/tkConfig.sh:16:1: warning[SC2034]: TK_MAJOR_VERSION appears unused. Verify use (or export if used externally).
#   14|   # Tk's version number.
#   15|   TK_VERSION='9.0'
#   16|-> TK_MAJOR_VERSION='9'
#   17|   TK_MINOR_VERSION='0'
#   18|   TK_PATCH_LEVEL='.2'

Error: SHELLCHECK_WARNING (CWE-563): [#def4]
/usr/lib64/tkConfig.sh:17:1: warning[SC2034]: TK_MINOR_VERSION appears unused. Verify use (or export if used externally).
#   15|   TK_VERSION='9.0'
#   16|   TK_MAJOR_VERSION='9'
#   17|-> TK_MINOR_VERSION='0'
#   18|   TK_PATCH_LEVEL='.2'
#   19|   

Error: SHELLCHECK_WARNING (CWE-563): [#def5]
/usr/lib64/tkConfig.sh:18:1: warning[SC2034]: TK_PATCH_LEVEL appears unused. Verify use (or export if used externally).
#   16|   TK_MAJOR_VERSION='9'
#   17|   TK_MINOR_VERSION='0'
#   18|-> TK_PATCH_LEVEL='.2'
#   19|   
#   20|   # -D flags for use with the C compiler.

Error: SHELLCHECK_WARNING (CWE-563): [#def6]
/usr/lib64/tkConfig.sh:21:1: warning[SC2034]: TK_DEFS appears unused. Verify use (or export if used externally).
#   19|   
#   20|   # -D flags for use with the C compiler.
#   21|-> TK_DEFS='-DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"9.0\" -DPACKAGE_STRING=\"tk\ 9.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DTCL_CFGVAL_ENCODING=\"utf-8\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION= [...]
#   22|   
#   23|   # Flag, 1: we built a shared lib, 0 we didn't
/usr/lib64/tkConfig.sh:21:1: note: trimmed 1 message(s) with length over 512

Error: SHELLCHECK_WARNING (CWE-563): [#def7]
/usr/lib64/tkConfig.sh:24:1: warning[SC2034]: TK_SHARED_BUILD appears unused. Verify use (or export if used externally).
#   22|   
#   23|   # Flag, 1: we built a shared lib, 0 we didn't
#   24|-> TK_SHARED_BUILD=1
#   25|   
#   26|   # TK_DBGX used to be used to distinguish debug vs. non-debug builds.

Error: SHELLCHECK_WARNING (CWE-563): [#def8]
/usr/lib64/tkConfig.sh:28:1: warning[SC2034]: TK_DBGX appears unused. Verify use (or export if used externally).
#   26|   # TK_DBGX used to be used to distinguish debug vs. non-debug builds.
#   27|   # This was a righteous pain so the core doesn't do that any more.
#   28|-> TK_DBGX=
#   29|   
#   30|   # The name of the Tk library (may be either a .a file or a shared library):

Error: SHELLCHECK_WARNING (CWE-563): [#def9]
/usr/lib64/tkConfig.sh:31:1: warning[SC2034]: TK_LIB_FILE appears unused. Verify use (or export if used externally).
#   29|   
#   30|   # The name of the Tk library (may be either a .a file or a shared library):
#   31|-> TK_LIB_FILE='libtcl9tk9.0.so'
#   32|   
#   33|   # Additional libraries to use when linking Tk.

Error: SHELLCHECK_WARNING (CWE-563): [#def10]
/usr/lib64/tkConfig.sh:34:1: warning[SC2034]: TK_LIBS appears unused. Verify use (or export if used externally).
#   32|   
#   33|   # Additional libraries to use when linking Tk.
#   34|-> TK_LIBS='-lX11 -lXft -lfontconfig -lfontconfig  -ldl -lz  -lpthread -lm -ltommath'
#   35|   
#   36|   # Top-level directory in which Tk's platform-independent files are

Error: SHELLCHECK_WARNING (CWE-563): [#def11]
/usr/lib64/tkConfig.sh:38:1: warning[SC2034]: TK_PREFIX appears unused. Verify use (or export if used externally).
#   36|   # Top-level directory in which Tk's platform-independent files are
#   37|   # installed.
#   38|-> TK_PREFIX='/usr'
#   39|   
#   40|   # Top-level directory in which Tk's platform-specific files (e.g.

Error: SHELLCHECK_WARNING (CWE-563): [#def12]
/usr/lib64/tkConfig.sh:42:1: warning[SC2034]: TK_EXEC_PREFIX appears unused. Verify use (or export if used externally).
#   40|   # Top-level directory in which Tk's platform-specific files (e.g.
#   41|   # executables) are installed.
#   42|-> TK_EXEC_PREFIX='/usr'
#   43|   
#   44|   # -I switch(es) to use to make all of the X11 include files accessible:

Error: SHELLCHECK_WARNING (CWE-563): [#def13]
/usr/lib64/tkConfig.sh:45:1: warning[SC2034]: TK_XINCLUDES appears unused. Verify use (or export if used externally).
#   43|   
#   44|   # -I switch(es) to use to make all of the X11 include files accessible:
#   45|-> TK_XINCLUDES=''
#   46|   
#   47|   # Linker switch(es) to use to link with the X11 library archive.

Error: SHELLCHECK_WARNING (CWE-563): [#def14]
/usr/lib64/tkConfig.sh:48:1: warning[SC2034]: TK_XLIBSW appears unused. Verify use (or export if used externally).
#   46|   
#   47|   # Linker switch(es) to use to link with the X11 library archive.
#   48|-> TK_XLIBSW='-lX11'
#   49|   
#   50|   # -l flag to pass to the linker to pick up the Tk library

Error: SHELLCHECK_WARNING (CWE-563): [#def15]
/usr/lib64/tkConfig.sh:51:1: warning[SC2034]: TK_LIB_FLAG appears unused. Verify use (or export if used externally).
#   49|   
#   50|   # -l flag to pass to the linker to pick up the Tk library
#   51|-> TK_LIB_FLAG='-ltcl9tk9.0'
#   52|   
#   53|   # String to pass to linker to pick up the Tk library from its

Error: SHELLCHECK_WARNING (CWE-563): [#def16]
/usr/lib64/tkConfig.sh:55:1: warning[SC2034]: TK_BUILD_LIB_SPEC appears unused. Verify use (or export if used externally).
#   53|   # String to pass to linker to pick up the Tk library from its
#   54|   # build directory.
#   55|-> TK_BUILD_LIB_SPEC='-L/usr/lib64 -ltcl9tk9.0'
#   56|   
#   57|   # String to pass to linker to pick up the Tk library from its

Error: SHELLCHECK_WARNING (CWE-563): [#def17]
/usr/lib64/tkConfig.sh:59:1: warning[SC2034]: TK_LIB_SPEC appears unused. Verify use (or export if used externally).
#   57|   # String to pass to linker to pick up the Tk library from its
#   58|   # installed directory.
#   59|-> TK_LIB_SPEC='-L/usr/lib64 -ltcl9tk9.0'
#   60|   
#   61|   # String to pass to the compiler so that an extension can

Error: SHELLCHECK_WARNING (CWE-563): [#def18]
/usr/lib64/tkConfig.sh:63:1: warning[SC2034]: TK_INCLUDE_SPEC appears unused. Verify use (or export if used externally).
#   61|   # String to pass to the compiler so that an extension can
#   62|   # find installed Tk headers.
#   63|-> TK_INCLUDE_SPEC='-I/usr/include'
#   64|   
#   65|   # Location of the top-level source directory from which Tk was built.

Error: SHELLCHECK_WARNING (CWE-563): [#def19]
/usr/lib64/tkConfig.sh:71:1: warning[SC2034]: TK_SRC_DIR appears unused. Verify use (or export if used externally).
#   69|   # points to the location of the sources, not the location where Tk was
#   70|   # compiled.
#   71|-> TK_SRC_DIR='/usr/include/tk-private'
#   72|   
#   73|   # Needed if you want to make a 'fat' shared library library

Error: SHELLCHECK_WARNING (CWE-563): [#def20]
/usr/lib64/tkConfig.sh:75:1: warning[SC2034]: TK_CC_SEARCH_FLAGS appears unused. Verify use (or export if used externally).
#   73|   # Needed if you want to make a 'fat' shared library library
#   74|   # containing tk objects or link a different wish.
#   75|-> TK_CC_SEARCH_FLAGS=''
#   76|   TK_LD_SEARCH_FLAGS=''
#   77|   

Error: SHELLCHECK_WARNING (CWE-563): [#def21]
/usr/lib64/tkConfig.sh:76:1: warning[SC2034]: TK_LD_SEARCH_FLAGS appears unused. Verify use (or export if used externally).
#   74|   # containing tk objects or link a different wish.
#   75|   TK_CC_SEARCH_FLAGS=''
#   76|-> TK_LD_SEARCH_FLAGS=''
#   77|   
#   78|   # The name of the Tk stub library (.a):

Error: SHELLCHECK_WARNING (CWE-563): [#def22]
/usr/lib64/tkConfig.sh:79:1: warning[SC2034]: TK_STUB_LIB_FILE appears unused. Verify use (or export if used externally).
#   77|   
#   78|   # The name of the Tk stub library (.a):
#   79|-> TK_STUB_LIB_FILE='libtkstub.a'
#   80|   
#   81|   # -l flag to pass to the linker to pick up the Tk stub library

Error: SHELLCHECK_WARNING (CWE-563): [#def23]
/usr/lib64/tkConfig.sh:82:1: warning[SC2034]: TK_STUB_LIB_FLAG appears unused. Verify use (or export if used externally).
#   80|   
#   81|   # -l flag to pass to the linker to pick up the Tk stub library
#   82|-> TK_STUB_LIB_FLAG='-ltkstub'
#   83|   
#   84|   # String to pass to linker to pick up the Tk stub library from its

Error: SHELLCHECK_WARNING (CWE-563): [#def24]
/usr/lib64/tkConfig.sh:86:1: warning[SC2034]: TK_BUILD_STUB_LIB_SPEC appears unused. Verify use (or export if used externally).
#   84|   # String to pass to linker to pick up the Tk stub library from its
#   85|   # build directory.
#   86|-> TK_BUILD_STUB_LIB_SPEC='-L/usr/lib64 -ltkstub'
#   87|   
#   88|   # String to pass to linker to pick up the Tk stub library from its

Error: SHELLCHECK_WARNING (CWE-563): [#def25]
/usr/lib64/tkConfig.sh:90:1: warning[SC2034]: TK_STUB_LIB_SPEC appears unused. Verify use (or export if used externally).
#   88|   # String to pass to linker to pick up the Tk stub library from its
#   89|   # installed directory.
#   90|-> TK_STUB_LIB_SPEC='-L/usr/lib64 -ltkstub'
#   91|   
#   92|   # Path to the Tk stub library in the build directory.

Error: SHELLCHECK_WARNING (CWE-563): [#def26]
/usr/lib64/tkConfig.sh:93:1: warning[SC2034]: TK_BUILD_STUB_LIB_PATH appears unused. Verify use (or export if used externally).
#   91|   
#   92|   # Path to the Tk stub library in the build directory.
#   93|-> TK_BUILD_STUB_LIB_PATH='/usr/lib64/libtkstub.a'
#   94|   
#   95|   # Path to the Tk stub library in the install directory.

Error: SHELLCHECK_WARNING (CWE-563): [#def27]
/usr/lib64/tkConfig.sh:96:1: warning[SC2034]: TK_STUB_LIB_PATH appears unused. Verify use (or export if used externally).
#   94|   
#   95|   # Path to the Tk stub library in the install directory.
#   96|-> TK_STUB_LIB_PATH='/usr/lib64/libtkstub.a'
#   97|   
#   98|   # Top-level directory in which Tk's demo files are installed.

Error: SHELLCHECK_WARNING (CWE-563): [#def28]
/usr/lib64/tkConfig.sh:99:1: warning[SC2034]: TK_DEMO_DIR appears unused. Verify use (or export if used externally).
#   97|   
#   98|   # Top-level directory in which Tk's demo files are installed.
#   99|-> TK_DEMO_DIR='/usr/lib/tk9.0/demos'

Error: SHELLCHECK_WARNING (CWE-569): [#def29]
/usr/share/tk9.0/demos/browse:28:13: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   26|   
#   27|   set browseScript [file join [pwd] $argv0]
#   28|-> proc browse {dir file} {
#   29|       global env browseScript
#   30|       if {[string compare $dir "."] != 0} {set file $dir/$file}

Error: SHELLCHECK_WARNING (CWE-569): [#def30]
/usr/share/tk9.0/demos/browse:28:22: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   26|   
#   27|   set browseScript [file join [pwd] $argv0]
#   28|-> proc browse {dir file} {
#   29|       global env browseScript
#   30|       if {[string compare $dir "."] != 0} {set file $dir/$file}

Error: SHELLCHECK_WARNING (CWE-569): [#def31]
/usr/share/tk9.0/demos/browse:28:24: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   26|   
#   27|   set browseScript [file join [pwd] $argv0]
#   28|-> proc browse {dir file} {
#   29|       global env browseScript
#   30|       if {[string compare $dir "."] != 0} {set file $dir/$file}

Error: SHELLCHECK_WARNING (CWE-569): [#def32]
/usr/share/tk9.0/demos/browse:30:9: error[SC1035]: You need a space after the [ and before the ].
#   28|   proc browse {dir file} {
#   29|       global env browseScript
#   30|->     if {[string compare $dir "."] != 0} {set file $dir/$file}
#   31|       switch [file type $file] {
#   32|   	directory {

Error: SHELLCHECK_WARNING: [#def33]
/usr/share/tk9.0/demos/browse:30:9: error[SC1054]: You need a space after the '{'.
#   28|   proc browse {dir file} {
#   29|       global env browseScript
#   30|->     if {[string compare $dir "."] != 0} {set file $dir/$file}
#   31|       switch [file type $file] {
#   32|   	directory {

Error: SHELLCHECK_WARNING (CWE-398): [#def34]
/usr/share/tk9.0/demos/browse:30:9: error[SC1073]: Couldn't parse this test expression. Fix to allow more checks.
#   28|   proc browse {dir file} {
#   29|       global env browseScript
#   30|->     if {[string compare $dir "."] != 0} {set file $dir/$file}
#   31|       switch [file type $file] {
#   32|   	directory {

Error: SHELLCHECK_WARNING (CWE-398): [#def35]
/usr/share/tk9.0/demos/browse:30:17: error[SC1072]: Expected test to end here (don't wrap commands in []/[[]]). Fix any mentioned problems and try again.
#   28|   proc browse {dir file} {
#   29|       global env browseScript
#   30|->     if {[string compare $dir "."] != 0} {set file $dir/$file}
#   31|       switch [file type $file] {
#   32|   	directory {

Error: SHELLCHECK_WARNING (CWE-561): [#def36]
/usr/share/tk9.0/demos/hello:3:1: warning[SC2093]: Remove "exec " if script should continue after this command.
#    1|   #!/usr/bin/sh
#    2|   # the next line restarts using wish \
#    3|-> exec wish9.0 "$0" ${1+"$@"}
#    4|   
#    5|   # hello --

Error: SHELLCHECK_WARNING (CWE-569): [#def37]
/usr/share/tk9.0/demos/hello:15:45: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   13|   # around the button.
#   14|   
#   15|-> button .hello -text "Hello, world" -command {
#   16|       puts stdout "Hello, world"; destroy .
#   17|   }

Error: SHELLCHECK_WARNING (CWE-398): [#def38]
/usr/share/tk9.0/demos/hello:17:1: error[SC1089]: Parsing stopped here. Is this keyword correctly matched up?
#   15|   button .hello -text "Hello, world" -command {
#   16|       puts stdout "Hello, world"; destroy .
#   17|-> }
#   18|   pack .hello
#   19|   

Error: SHELLCHECK_WARNING (CWE-561): [#def39]
/usr/share/tk9.0/demos/ixset:3:1: warning[SC2093]: Remove "exec " if script should continue after this command.
#    1|   #!/usr/bin/sh
#    2|   # the next line restarts using wish \
#    3|-> exec wish9.0 "$0" ${1+"$@"}
#    4|   
#    5|   # ixset --

Error: SHELLCHECK_WARNING (CWE-569): [#def40]
/usr/share/tk9.0/demos/ixset:18:14: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   16|   #
#   17|   
#   18|-> proc quit {} {
#   19|       destroy .
#   20|   }

Error: SHELLCHECK_WARNING (CWE-398): [#def41]
/usr/share/tk9.0/demos/ixset:20:1: error[SC1089]: Parsing stopped here. Is this keyword correctly matched up?
#   18|   proc quit {} {
#   19|       destroy .
#   20|-> }
#   21|   
#   22|   proc ok {} {

Error: SHELLCHECK_WARNING (CWE-561): [#def42]
/usr/share/tk9.0/demos/rmt:3:1: warning[SC2093]: Remove "exec " if script should continue after this command.
#    1|   #!/usr/bin/sh
#    2|   # the next line restarts using wish \
#    3|-> exec wish9.0 "$0" ${1+"$@"}
#    4|   
#    5|   # rmt --

Error: SHELLCHECK_WARNING (CWE-456): [#def43]
/usr/share/tk9.0/demos/rmt:20:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#   18|   # the commands locally.
#   19|   
#   20|-> set app "local"
#   21|   
#   22|   # The global variable below keeps track of whether we're in the

Error: SHELLCHECK_WARNING (CWE-456): [#def44]
/usr/share/tk9.0/demos/rmt:25:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#   23|   # middle of executing a command entered via the text.
#   24|   
#   25|-> set executing 0
#   26|   
#   27|   # The global variable below keeps track of the last command executed,

Error: SHELLCHECK_WARNING (CWE-456): [#def45]
/usr/share/tk9.0/demos/rmt:30:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#   28|   # so it can be re-executed in response to !! commands.
#   29|   
#   30|-> set lastCommand ""
#   31|   
#   32|   # Create menu bar.  Arrange to recreate all the information in the

Error: SHELLCHECK_WARNING (CWE-398): [#def46]
/usr/share/tk9.0/demos/rmt:35:13: warning[SC2240]: The dot command does not support arguments in sh/dash. Set them as variables.
#   33|   # applications sub-menu whenever it is cascaded to.
#   34|   
#   35|-> . configure -menu [menu .menu]
#   36|   menu .menu.file
#   37|   menu .menu.file.apps  -postcommand fillAppsMenu

Error: SHELLCHECK_WARNING (CWE-569): [#def47]
/usr/share/tk9.0/demos/rmt:56:13: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   54|   # earlier in the text and select and insert;  just can't delete).
#   55|   
#   56|-> bindtags .t {.t Text . all}
#   57|   bind .t <Return> {
#   58|       .t mark set insert {end - 1c}

Error: SHELLCHECK_WARNING (CWE-569): [#def48]
/usr/share/tk9.0/demos/rmt:56:27: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   54|   # earlier in the text and select and insert;  just can't delete).
#   55|   
#   56|-> bindtags .t {.t Text . all}
#   57|   bind .t <Return> {
#   58|       .t mark set insert {end - 1c}

Error: SHELLCHECK_WARNING (CWE-569): [#def49]
/usr/share/tk9.0/demos/rmt:57:18: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   55|   
#   56|   bindtags .t {.t Text . all}
#   57|-> bind .t <Return> {
#   58|       .t mark set insert {end - 1c}
#   59|       .t insert insert \n

Error: SHELLCHECK_WARNING (CWE-569): [#def50]
/usr/share/tk9.0/demos/rmt:58:24: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   56|   bindtags .t {.t Text . all}
#   57|   bind .t <Return> {
#   58|->     .t mark set insert {end - 1c}
#   59|       .t insert insert \n
#   60|       invoke

Error: SHELLCHECK_WARNING (CWE-569): [#def51]
/usr/share/tk9.0/demos/rmt:58:33: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   56|   bindtags .t {.t Text . all}
#   57|   bind .t <Return> {
#   58|->     .t mark set insert {end - 1c}
#   59|       .t insert insert \n
#   60|       invoke

Error: SHELLCHECK_WARNING: [#def52]
/usr/share/tk9.0/demos/rmt:59:22: warning[SC1012]: \n is just literal 'n' here. For line feed, use a quoted, literal line feed instead.
#   57|   bind .t <Return> {
#   58|       .t mark set insert {end - 1c}
#   59|->     .t insert insert \n
#   60|       invoke
#   61|       break

Error: SHELLCHECK_WARNING (CWE-398): [#def53]
/usr/share/tk9.0/demos/rmt:61:5: error[SC2105]: break is only valid in loops.
#   59|       .t insert insert \n
#   60|       invoke
#   61|->     break
#   62|   }
#   63|   bind .t <Delete> {

Error: SHELLCHECK_WARNING (CWE-398): [#def54]
/usr/share/tk9.0/demos/rmt:62:1: error[SC1089]: Parsing stopped here. Is this keyword correctly matched up?
#   60|       invoke
#   61|       break
#   62|-> }
#   63|   bind .t <Delete> {
#   64|       catch {.t tag remove sel sel.first promptEnd}

Error: SHELLCHECK_WARNING (CWE-561): [#def55]
/usr/share/tk9.0/demos/rolodex:3:1: warning[SC2093]: Remove "exec " if script should continue after this command.
#    1|   #!/usr/bin/sh
#    2|   # the next line restarts using wish \
#    3|-> exec wish9.0 "$0" ${1+"$@"}
#    4|   
#    5|   # rolodex --

Error: SHELLCHECK_WARNING (CWE-569): [#def56]
/usr/share/tk9.0/demos/rolodex:13:30: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   11|   package require tk
#   12|   
#   13|-> foreach i [winfo children .] {
#   14|       catch {destroy $i}
#   15|   }

Error: SHELLCHECK_WARNING (CWE-569): [#def57]
/usr/share/tk9.0/demos/rolodex:14:11: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   12|   
#   13|   foreach i [winfo children .] {
#   14|->     catch {destroy $i}
#   15|   }
#   16|   

Error: SHELLCHECK_WARNING (CWE-457): [#def58]
/usr/share/tk9.0/demos/rolodex:14:20: warning[SC2154]: i is referenced but not assigned.
#   12|   
#   13|   foreach i [winfo children .] {
#   14|->     catch {destroy $i}
#   15|   }
#   16|   

Error: SHELLCHECK_WARNING (CWE-569): [#def59]
/usr/share/tk9.0/demos/rolodex:14:22: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   12|   
#   13|   foreach i [winfo children .] {
#   14|->     catch {destroy $i}
#   15|   }
#   16|   

Error: SHELLCHECK_WARNING (CWE-398): [#def60]
/usr/share/tk9.0/demos/rolodex:15:1: error[SC1089]: Parsing stopped here. Is this keyword correctly matched up?
#   13|   foreach i [winfo children .] {
#   14|       catch {destroy $i}
#   15|-> }
#   16|   
#   17|   set version 1.2

Error: SHELLCHECK_WARNING (CWE-561): [#def61]
/usr/share/tk9.0/demos/tcolor:3:1: warning[SC2093]: Remove "exec " if script should continue after this command.
#    1|   #!/usr/bin/sh
#    2|   # the next line restarts using wish \
#    3|-> exec wish9.0 "$0" ${1+"$@"}
#    4|   
#    5|   # tcolor --

Error: SHELLCHECK_WARNING (CWE-456): [#def62]
/usr/share/tk9.0/demos/tcolor:34:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#   32|   # name -			Name for new color, typed into entry.
#   33|   
#   34|-> set colorSpace hsb
#   35|   set red 65535
#   36|   set green 0

Error: SHELLCHECK_WARNING (CWE-456): [#def63]
/usr/share/tk9.0/demos/tcolor:35:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#   33|   
#   34|   set colorSpace hsb
#   35|-> set red 65535
#   36|   set green 0
#   37|   set blue 0

Error: SHELLCHECK_WARNING (CWE-456): [#def64]
/usr/share/tk9.0/demos/tcolor:36:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#   34|   set colorSpace hsb
#   35|   set red 65535
#   36|-> set green 0
#   37|   set blue 0
#   38|   set color #ffff00000000

Error: SHELLCHECK_WARNING (CWE-456): [#def65]
/usr/share/tk9.0/demos/tcolor:37:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#   35|   set red 65535
#   36|   set green 0
#   37|-> set blue 0
#   38|   set color #ffff00000000
#   39|   set updating 0

Error: SHELLCHECK_WARNING (CWE-456): [#def66]
/usr/share/tk9.0/demos/tcolor:39:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#   37|   set blue 0
#   38|   set color #ffff00000000
#   39|-> set updating 0
#   40|   set autoUpdate 1
#   41|   set name ""

Error: SHELLCHECK_WARNING (CWE-456): [#def67]
/usr/share/tk9.0/demos/tcolor:40:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#   38|   set color #ffff00000000
#   39|   set updating 0
#   40|-> set autoUpdate 1
#   41|   set name ""
#   42|   

Error: SHELLCHECK_WARNING (CWE-456): [#def68]
/usr/share/tk9.0/demos/tcolor:41:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
#   39|   set updating 0
#   40|   set autoUpdate 1
#   41|-> set name ""
#   42|   
#   43|   # Create the menu bar at the top of the window.

Error: SHELLCHECK_WARNING (CWE-398): [#def69]
/usr/share/tk9.0/demos/tcolor:45:13: warning[SC2240]: The dot command does not support arguments in sh/dash. Set them as variables.
#   43|   # Create the menu bar at the top of the window.
#   44|   
#   45|-> . configure -menu [menu .menu]
#   46|   menu .menu.file
#   47|   .menu add cascade  -menu .menu.file  -label File  -underline 0

Error: SHELLCHECK_WARNING (CWE-569): [#def70]
/usr/share/tk9.0/demos/tcolor:49:35: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   47|   .menu add cascade  -menu .menu.file  -label File  -underline 0
#   48|   .menu.file add radio -label "RGB color space" -variable colorSpace \
#   49|-> 	-value rgb -underline 0 -command {changeColorSpace rgb}
#   50|   .menu.file add radio -label "CMY color space" -variable colorSpace \
#   51|   	-value cmy -underline 0 -command {changeColorSpace cmy}

Error: SHELLCHECK_WARNING (CWE-569): [#def71]
/usr/share/tk9.0/demos/tcolor:49:56: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   47|   .menu add cascade  -menu .menu.file  -label File  -underline 0
#   48|   .menu.file add radio -label "RGB color space" -variable colorSpace \
#   49|-> 	-value rgb -underline 0 -command {changeColorSpace rgb}
#   50|   .menu.file add radio -label "CMY color space" -variable colorSpace \
#   51|   	-value cmy -underline 0 -command {changeColorSpace cmy}

Error: SHELLCHECK_WARNING (CWE-569): [#def72]
/usr/share/tk9.0/demos/tcolor:51:35: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   49|   	-value rgb -underline 0 -command {changeColorSpace rgb}
#   50|   .menu.file add radio -label "CMY color space" -variable colorSpace \
#   51|-> 	-value cmy -underline 0 -command {changeColorSpace cmy}
#   52|   .menu.file add radio -label "HSB color space" -variable colorSpace \
#   53|   	-value hsb -underline 0 -command {changeColorSpace hsb}

Error: SHELLCHECK_WARNING (CWE-569): [#def73]
/usr/share/tk9.0/demos/tcolor:51:56: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   49|   	-value rgb -underline 0 -command {changeColorSpace rgb}
#   50|   .menu.file add radio -label "CMY color space" -variable colorSpace \
#   51|-> 	-value cmy -underline 0 -command {changeColorSpace cmy}
#   52|   .menu.file add radio -label "HSB color space" -variable colorSpace \
#   53|   	-value hsb -underline 0 -command {changeColorSpace hsb}

Error: SHELLCHECK_WARNING (CWE-569): [#def74]
/usr/share/tk9.0/demos/tcolor:53:35: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   51|   	-value cmy -underline 0 -command {changeColorSpace cmy}
#   52|   .menu.file add radio -label "HSB color space" -variable colorSpace \
#   53|-> 	-value hsb -underline 0 -command {changeColorSpace hsb}
#   54|   .menu.file add separator
#   55|   .menu.file add radio -label "Automatic updates" -variable autoUpdate \

Error: SHELLCHECK_WARNING (CWE-569): [#def75]
/usr/share/tk9.0/demos/tcolor:53:56: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   51|   	-value cmy -underline 0 -command {changeColorSpace cmy}
#   52|   .menu.file add radio -label "HSB color space" -variable colorSpace \
#   53|-> 	-value hsb -underline 0 -command {changeColorSpace hsb}
#   54|   .menu.file add separator
#   55|   .menu.file add radio -label "Automatic updates" -variable autoUpdate \

Error: SHELLCHECK_WARNING (CWE-569): [#def76]
/usr/share/tk9.0/demos/tcolor:60:68: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   58|   	-value 0 -underline 0
#   59|   .menu.file add separator
#   60|-> .menu.file add command -label "Exit program" -underline 0 -command {exit}
#   61|   
#   62|   # Create the command entry window at the bottom of the window, along

Error: SHELLCHECK_WARNING (CWE-569): [#def77]
/usr/share/tk9.0/demos/tcolor:60:73: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   58|   	-value 0 -underline 0
#   59|   .menu.file add separator
#   60|-> .menu.file add command -label "Exit program" -underline 0 -command {exit}
#   61|   
#   62|   # Create the command entry window at the bottom of the window, along

Error: SHELLCHECK_WARNING (CWE-569): [#def78]
/usr/share/tk9.0/demos/tcolor:65:44: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   63|   # with the update button.
#   64|   
#   65|-> labelframe .command -text "Command:" -padx {1m 0}
#   66|   entry .command.e -textvariable command
#   67|   button .command.update -text Update -command doUpdate

Error: SHELLCHECK_WARNING (CWE-569): [#def79]
/usr/share/tk9.0/demos/tcolor:65:49: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   63|   # with the update button.
#   64|   
#   65|-> labelframe .command -text "Command:" -padx {1m 0}
#   66|   entry .command.e -textvariable command
#   67|   button .command.update -text Update -command doUpdate

Error: SHELLCHECK_WARNING (CWE-569): [#def80]
/usr/share/tk9.0/demos/tcolor:68:50: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   66|   entry .command.e -textvariable command
#   67|   button .command.update -text Update -command doUpdate
#   68|-> pack .command.update -side right -pady .1c -padx {.25c 0}
#   69|   pack .command.e -expand yes -fill x -ipadx 0.25c
#   70|   

Error: SHELLCHECK_WARNING (CWE-569): [#def81]
/usr/share/tk9.0/demos/tcolor:68:57: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   66|   entry .command.e -textvariable command
#   67|   button .command.update -text Update -command doUpdate
#   68|-> pack .command.update -side right -pady .1c -padx {.25c 0}
#   69|   pack .command.e -expand yes -fill x -ipadx 0.25c
#   70|   

Error: SHELLCHECK_WARNING (CWE-569): [#def82]
/usr/share/tk9.0/demos/tcolor:75:64: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   73|   # if an rgb.txt file can be found.
#   74|   
#   75|-> grid .command -sticky nsew -row 2 -columnspan 3 -padx 1m -pady {0 1m}
#   76|   
#   77|   grid columnconfigure . {1 2} -weight 1

Error: SHELLCHECK_WARNING (CWE-569): [#def83]
/usr/share/tk9.0/demos/tcolor:75:69: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   73|   # if an rgb.txt file can be found.
#   74|   
#   75|-> grid .command -sticky nsew -row 2 -columnspan 3 -padx 1m -pady {0 1m}
#   76|   
#   77|   grid columnconfigure . {1 2} -weight 1

Error: SHELLCHECK_WARNING (CWE-569): [#def84]
/usr/share/tk9.0/demos/tcolor:77:24: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   75|   grid .command -sticky nsew -row 2 -columnspan 3 -padx 1m -pady {0 1m}
#   76|   
#   77|-> grid columnconfigure . {1 2} -weight 1
#   78|   grid rowconfigure . 0 -weight 1
#   79|   foreach i {

Error: SHELLCHECK_WARNING (CWE-569): [#def85]
/usr/share/tk9.0/demos/tcolor:77:28: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   75|   grid .command -sticky nsew -row 2 -columnspan 3 -padx 1m -pady {0 1m}
#   76|   
#   77|-> grid columnconfigure . {1 2} -weight 1
#   78|   grid rowconfigure . 0 -weight 1
#   79|   foreach i {

Error: SHELLCHECK_WARNING (CWE-569): [#def86]
/usr/share/tk9.0/demos/tcolor:79:11: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   77|   grid columnconfigure . {1 2} -weight 1
#   78|   grid rowconfigure . 0 -weight 1
#   79|-> foreach i {
#   80|       /usr/local/lib/X11/rgb.txt /usr/lib/X11/rgb.txt
#   81|       /X11/R5/lib/X11/rgb.txt /X11/R4/lib/rgb/rgb.txt

Error: SHELLCHECK_WARNING (CWE-398): [#def87]
/usr/share/tk9.0/demos/tcolor:83:1: error[SC1089]: Parsing stopped here. Is this keyword correctly matched up?
#   81|       /X11/R5/lib/X11/rgb.txt /X11/R4/lib/rgb/rgb.txt
#   82|       /usr/openwin/lib/X11/rgb.txt
#   83|-> } {
#   84|       if {![file readable $i]} {
#   85|   	continue;

Error: SHELLCHECK_WARNING (CWE-569): [#def88]
/usr/share/tk9.0/demos/timer:11:36: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#    9|   
#   10|   label .counter -text 0.00 -relief raised -width 10 -padx 2m -pady 1m
#   11|-> button .start -text Start -command {
#   12|       if {$stopped} {
#   13|   	set stopped 0

Error: SHELLCHECK_WARNING (CWE-398): [#def89]
/usr/share/tk9.0/demos/timer:12:5: error[SC1073]: Couldn't parse this if expression. Fix to allow more checks.
#   10|   label .counter -text 0.00 -relief raised -width 10 -padx 2m -pady 1m
#   11|   button .start -text Start -command {
#   12|->     if {$stopped} {
#   13|   	set stopped 0
#   14|   	set startMoment [clock clicks -milliseconds]

Error: SHELLCHECK_WARNING: [#def90]
/usr/share/tk9.0/demos/timer:12:9: error[SC1054]: You need a space after the '{'.
#   10|   label .counter -text 0.00 -relief raised -width 10 -padx 2m -pady 1m
#   11|   button .start -text Start -command {
#   12|->     if {$stopped} {
#   13|   	set stopped 0
#   14|   	set startMoment [clock clicks -milliseconds]

Error: SHELLCHECK_WARNING (CWE-569): [#def91]
/usr/share/tk9.0/demos/timer:12:17: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   10|   label .counter -text 0.00 -relief raised -width 10 -padx 2m -pady 1m
#   11|   button .start -text Start -command {
#   12|->     if {$stopped} {
#   13|   	set stopped 0
#   14|   	set startMoment [clock clicks -milliseconds]

Error: SHELLCHECK_WARNING (CWE-569): [#def92]
/usr/share/tk9.0/demos/timer:12:19: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   10|   label .counter -text 0.00 -relief raised -width 10 -padx 2m -pady 1m
#   11|   button .start -text Start -command {
#   12|->     if {$stopped} {
#   13|   	set stopped 0
#   14|   	set startMoment [clock clicks -milliseconds]

Error: SHELLCHECK_WARNING: [#def93]
/usr/share/tk9.0/demos/timer:19:1: error[SC1050]: Expected 'then'.
#   17|   	.start configure -state disabled
#   18|       }
#   19|-> }
#   20|   button .stop -text Stop -state disabled -command {
#   21|       set stopped 1

Error: SHELLCHECK_WARNING (CWE-398): [#def94]
/usr/share/tk9.0/demos/timer:19:2: error[SC1072]: Unexpected keyword/token. Fix any mentioned problems and try again.
#   17|   	.start configure -state disabled
#   18|       }
#   19|-> }
#   20|   button .stop -text Stop -state disabled -command {
#   21|       set stopped 1

Error: SHELLCHECK_WARNING (CWE-569): [#def95]
/usr/share/tk9.0/demos/widget:16:9: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#   14|   package require msgcat
#   15|   
#   16|-> destroy {*}[winfo children .]
#   17|   set tk_demoDirectory [file join [pwd] [file dirname [info script]]]
#   18|   ::msgcat::mcload $tk_demoDirectory

Error: SHELLCHECK_WARNING (CWE-569): [#def96]
/usr/share/tk9.0/demos/widget:16:11: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#   14|   package require msgcat
#   15|   
#   16|-> destroy {*}[winfo children .]
#   17|   set tk_demoDirectory [file join [pwd] [file dirname [info script]]]
#   18|   ::msgcat::mcload $tk_demoDirectory

Error: SHELLCHECK_WARNING (CWE-569): [#def97]
/usr/share/tk9.0/demos/widget:21:5: error[SC1035]: You need a space after the [ and before the ].
#   19|   namespace import ::msgcat::mc
#   20|   wm title . [mc "Widget Demonstration"]
#   21|-> if {[tk windowingsystem] eq "x11"} {
#   22|       # This won't work everywhere, but there's no other way in core Tk at the
#   23|       # moment to display a coloured icon.

Error: SHELLCHECK_WARNING: [#def98]
/usr/share/tk9.0/demos/widget:21:5: error[SC1054]: You need a space after the '{'.
#   19|   namespace import ::msgcat::mc
#   20|   wm title . [mc "Widget Demonstration"]
#   21|-> if {[tk windowingsystem] eq "x11"} {
#   22|       # This won't work everywhere, but there's no other way in core Tk at the
#   23|       # moment to display a coloured icon.

Error: SHELLCHECK_WARNING (CWE-398): [#def99]
/usr/share/tk9.0/demos/widget:21:5: error[SC1073]: Couldn't parse this test expression. Fix to allow more checks.
#   19|   namespace import ::msgcat::mc
#   20|   wm title . [mc "Widget Demonstration"]
#   21|-> if {[tk windowingsystem] eq "x11"} {
#   22|       # This won't work everywhere, but there's no other way in core Tk at the
#   23|       # moment to display a coloured icon.

Error: SHELLCHECK_WARNING (CWE-398): [#def100]
/usr/share/tk9.0/demos/widget:21:9: error[SC1072]: Expected test to end here (don't wrap commands in []/[[]]). Fix any mentioned problems and try again.
#   19|   namespace import ::msgcat::mc
#   20|   wm title . [mc "Widget Demonstration"]
#   21|-> if {[tk windowingsystem] eq "x11"} {
#   22|       # This won't work everywhere, but there's no other way in core Tk at the
#   23|       # moment to display a coloured icon.

Error: CPPCHECK_WARNING (CWE-628): [#def101]
tk9.0.2/generic/nanosvgrast.h:806: warning[invalidFunctionArg]: Invalid fmodf() argument nr 2. The value is 0 but the valid values are '!0.0'.
#  804|   				allDashLen *= 2.0f;
#  805|   			/* Find location inside pattern */
#  806|-> 			dashOffset = fmodf(shape->strokeDashOffset, allDashLen);
#  807|   			if (dashOffset < 0.0f)
#  808|   				dashOffset += allDashLen;

Error: CPPCHECK_WARNING (CWE-476): [#def102]
tk9.0.2/generic/tkBind.c:108: error[ctunullpointer]: Null pointer dereference: elem
#  106|   
#  107|   /* We need this array for bookkeeping the last matching modifier mask per pattern. */
#  108|-> TK_ARRAY_DEFINE(PSModMaskArr, unsigned);
#  109|   
#  110|   typedef struct PSEntry {

Error: CPPCHECK_WARNING (CWE-476): [#def103]
tk9.0.2/generic/tkBind.c:157: error[ctunullpointer]: Null pointer dereference: elem
#  155|   
#  156|   /* Defining the whole PromArr_* stuff (array of PSList entries) */
#  157|-> TK_ARRAY_DEFINE(PromArr, PSList);
#  158|   
#  159|   typedef struct Tk_BindingTable_ {

Error: CPPCHECK_WARNING (CWE-758): [#def104]
tk9.0.2/generic/tkCanvas.c:2540: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2538|   
# 2539|       for (i = 0; i < 32; ++i) {
# 2540|-> 	if (mask & 1 << i)
# 2541|   	    break;
# 2542|       }

Error: CPPCHECK_WARNING (CWE-758): [#def105]
tk9.0.2/generic/tkCanvas.c:2551: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 2549|   
# 2550|   	for ( ; i < 32; ++i) {
# 2551|-> 	    if ((mask & 1 << i) == 0)
# 2552|   		break;
# 2553|   	    else

Error: CPPCHECK_WARNING (CWE-823): [#def106]
tk9.0.2/generic/tkImgGIF.c:2196: error[arrayIndexOutOfBounds]: Array 'statePtr->mapa[256][3]' accessed at index statePtr->mapa[256][0], which is out of bounds.
# 2194|   
# 2195|       for (; x <= MAXCOLORMAPSIZE; x++) {
# 2196|-> 	if ((statePtr->mapa[x][CM_RED] == red) &&
# 2197|   		(statePtr->mapa[x][CM_GREEN] == green) &&
# 2198|   		(statePtr->mapa[x][CM_BLUE] == blue)) {

Error: CPPCHECK_WARNING (CWE-476): [#def107]
tk9.0.2/generic/tkText.c:3197: warning[nullPointer]: Possible null pointer dereference: textPtr
# 3195|   
# 3196|       if (sharedTextPtr == NULL) {
# 3197|-> 	sharedTextPtr = textPtr->sharedTextPtr;
# 3198|       }
# 3199|   

Error: CPPCHECK_WARNING (CWE-476): [#def108]
tk9.0.2/generic/tkText.c:3786: warning[nullPointer]: Possible null pointer dereference: textPtr
# 3784|   
# 3785|       if (sharedTextPtr == NULL) {
# 3786|-> 	sharedTextPtr = textPtr->sharedTextPtr;
# 3787|       }
# 3788|   

Error: CPPCHECK_WARNING (CWE-909): [#def109]
tk9.0.2/generic/tkTextDisp.c:3341: error[uninitStructMember]: Uninitialized struct member: index.byteIndex
# 3339|   			 */
# 3340|   
# 3341|-> 			textPtr->dInfoPtr->metricIndex = index;
# 3342|   			textPtr->dInfoPtr->metricEpoch =
# 3343|   				textPtr->sharedTextPtr->stateEpoch;

Error: CPPCHECK_WARNING (CWE-909): [#def110]
tk9.0.2/generic/tkTextDisp.c:3341: error[uninitStructMember]: Uninitialized struct member: index.linePtr
# 3339|   			 */
# 3340|   
# 3341|-> 			textPtr->dInfoPtr->metricIndex = index;
# 3342|   			textPtr->dInfoPtr->metricEpoch =
# 3343|   				textPtr->sharedTextPtr->stateEpoch;

Error: CPPCHECK_WARNING (CWE-909): [#def111]
tk9.0.2/generic/tkTextDisp.c:3341: error[uninitStructMember]: Uninitialized struct member: index.textPtr
# 3339|   			 */
# 3340|   
# 3341|-> 			textPtr->dInfoPtr->metricIndex = index;
# 3342|   			textPtr->dInfoPtr->metricEpoch =
# 3343|   				textPtr->sharedTextPtr->stateEpoch;

Error: CPPCHECK_WARNING (CWE-909): [#def112]
tk9.0.2/generic/tkTextDisp.c:3341: error[uninitStructMember]: Uninitialized struct member: index.tree
# 3339|   			 */
# 3340|   
# 3341|-> 			textPtr->dInfoPtr->metricIndex = index;
# 3342|   			textPtr->dInfoPtr->metricEpoch =
# 3343|   				textPtr->sharedTextPtr->stateEpoch;

Error: CPPCHECK_WARNING (CWE-476): [#def113]
tk9.0.2/generic/tkTextIndex.c:753: warning[nullPointer]: Possible null pointer dereference: textPtr
#  751|   
#  752|       if (sharedPtr == NULL) {
#  753|-> 	sharedPtr = textPtr->sharedTextPtr;
#  754|       }
#  755|   

Error: CPPCHECK_WARNING (CWE-476): [#def114]
tk9.0.2/generic/tkUndo.c:396: warning[nullPointer]: Possible null pointer dereference: prevelem
#  394|   	}
#  395|   	CLANG_ASSERT(prevelem);
#  396|-> 	prevelem->next = NULL;
#  397|   	while (elem != NULL) {
#  398|   	    prevelem = elem;

Error: CPPCHECK_WARNING (CWE-476): [#def115]
tk9.0.2/generic/tkVisual.c:307: warning[nullPointer]: Possible null pointer dereference: bestPtr
#  305|       }
#  306|       CLANG_ASSERT(bestPtr);
#  307|->     *depthPtr = bestPtr->depth;
#  308|       visual = bestPtr->visual;
#  309|       XFree(visInfoList);

Error: CPPCHECK_WARNING (CWE-476): [#def116]
tk9.0.2/generic/tkVisual.c:308: warning[nullPointer]: Possible null pointer dereference: bestPtr
#  306|       CLANG_ASSERT(bestPtr);
#  307|       *depthPtr = bestPtr->depth;
#  308|->     visual = bestPtr->visual;
#  309|       XFree(visInfoList);
#  310|   

Error: CPPCHECK_WARNING (CWE-476): [#def117]
tk9.0.2/generic/tkWindow.c:759: warning[nullPointer]: Possible null pointer dereference: name
#  757|        */
#  758|   
#  759|->     if (isupper(UCHAR(name[0]))) {
#  760|   	Tcl_SetObjResult(interp, Tcl_ObjPrintf(
#  761|   		"window name starts with an upper-case letter: \"%s\"",

Error: CPPCHECK_WARNING (CWE-758): [#def118]
tk9.0.2/generic/ttk/ttkTreeview.c:1154: warning[objectIndex]: The address of variable 'oneCell' might be accessed at non-zero index.
# 1152|       cells = (TreeCell *) ckalloc(n * sizeof(TreeCell));
# 1153|       for (i = 0; i < n; ++i) {
# 1154|-> 	if (GetCellFromObj(interp, tv, elements[i], 0, NULL, &cells[i]) != TCL_OK) {
# 1155|   	    ckfree(cells);
# 1156|   	    return NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def119]
tk9.0.2/unix/../generic/nanosvgrast.h:244:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*r.curpage’
tk9.0.2/unix/../generic/tkImgSVGnano.c:566:1: enter_function: entry to ‘RasterizeSVG’
tk9.0.2/unix/../generic/tkImgSVGnano.c:586:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkImgSVGnano.c:594:10: branch_false: ...to here
tk9.0.2/unix/../generic/tkImgSVGnano.c:595:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkImgSVGnano.c:602:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkImgSVGnano.c:607:5: branch_false: ...to here
tk9.0.2/unix/../generic/tkImgSVGnano.c:607:5: call_function: calling ‘nsvgRasterize’ from ‘RasterizeSVG’
#  242|   		r->curpage = nsvg__nextPage(r, r->curpage);
#  243|   	}
#  244|-> 	buf = &r->curpage->mem[r->curpage->size];
#  245|   	r->curpage->size += size;
#  246|   	return buf;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
tk9.0.2/unix/../generic/tkCanvLine.c:734:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘coordPtr’
tk9.0.2/unix/../generic/tkCanvLine.c:1804:1: enter_function: entry to ‘ScaleLine’
tk9.0.2/unix/../generic/tkCanvLine.c:1821:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkCanvLine.c:1822:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkCanvLine.c:1825:9: release_memory: using NULL here
tk9.0.2/unix/../generic/tkCanvLine.c:1827:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkCanvLine.c:1834:17: branch_false: ...to here
tk9.0.2/unix/../generic/tkCanvLine.c:1834:47: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkCanvLine.c:1839:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkCanvLine.c:1842:5: call_function: calling ‘ComputeLineBbox’ from ‘ScaleLine’
#  732|   	    }
#  733|   	}
#  734|-> 	tsoffset->xoffset = (int) (coordPtr[0] + 0.5);
#  735|   	tsoffset->yoffset = (int) (coordPtr[1] + 0.5);
#  736|       } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def121]
tk9.0.2/unix/../generic/tkCanvPoly.c:1744:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rest’
tk9.0.2/unix/../generic/tkCanvPoly.c:1722:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkCanvPoly.c:1734:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkCanvPoly.c:1736:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkCanvPoly.c:1742:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkCanvPoly.c:1744:9: danger: dereference of NULL ‘rest’
# 1742|   	p = string+1;
# 1743|   	rest = strchr((char *)p, ',');
# 1744|-> 	*rest = '\0';
# 1745|   	if (Tcl_GetDouble(NULL, p, &x) != TCL_OK) {
# 1746|   	    *rest = ',';

Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
tk9.0.2/unix/../generic/tkConfig.c:1590:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1588:20: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1589:24: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1589:24: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1590:50: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1590:25: danger: dereference of NULL ‘internalPtr’
# 1588|   		if (optionPtr->specPtr->flags & TYPE_MASK) {
# 1589|   		    if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(char)) {
# 1590|-> 			*((char *)internalPtr) = *((char *)ptr);
# 1591|   		    } else if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(short)) {
# 1592|   			*((short *)internalPtr) = *((short *)ptr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
tk9.0.2/unix/../generic/tkConfig.c:1592:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1588:20: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1589:24: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1589:24: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1591:31: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1591:31: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1592:51: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1592:25: danger: dereference of NULL ‘internalPtr’
# 1590|   			*((char *)internalPtr) = *((char *)ptr);
# 1591|   		    } else if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(short)) {
# 1592|-> 			*((short *)internalPtr) = *((short *)ptr);
# 1593|   		    } else {
# 1594|   			Tcl_Panic("Invalid flags for %s", "TK_OPTION_BOOLEAN");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
tk9.0.2/unix/../generic/tkConfig.c:1597:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1588:20: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1597:45: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1597:21: danger: dereference of NULL ‘internalPtr’
# 1595|   		    }
# 1596|   		} else {
# 1597|-> 		    *((int *)internalPtr) = *((int *)ptr);
# 1598|   		}
# 1599|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def125]
tk9.0.2/unix/../generic/tkConfig.c:1604:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1601:20: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1602:24: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1602:24: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1604:54: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1604:29: danger: dereference of NULL ‘internalPtr’
# 1602|   		    if ((optionPtr->specPtr->flags & TYPE_MASK) == TYPE_MASK) {
# 1603|   			if (sizeof(long) > sizeof(int)) {
# 1604|-> 			    *((long *)internalPtr) = *((long *)ptr);
# 1605|   			} else {
# 1606|   			    *((long long *)internalPtr) = *((long long *)ptr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
tk9.0.2/unix/../generic/tkConfig.c:1612:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1601:20: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1612:45: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1612:21: danger: dereference of NULL ‘internalPtr’
# 1610|   		    }
# 1611|   		} else {
# 1612|-> 		    *((int *)internalPtr) = *((int *)ptr);
# 1613|   		}
# 1614|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
tk9.0.2/unix/../generic/tkConfig.c:1616:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1616:17: danger: dereference of NULL ‘internalPtr’
# 1614|   		break;
# 1615|   	    case TK_OPTION_INDEX:
# 1616|-> 		*((int *)internalPtr) = *((int *)ptr);
# 1617|   		break;
# 1618|   	    case TK_OPTION_DOUBLE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
tk9.0.2/unix/../generic/tkConfig.c:1619:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1619:17: danger: dereference of NULL ‘internalPtr’
# 1617|   		break;
# 1618|   	    case TK_OPTION_DOUBLE:
# 1619|-> 		*((double *)internalPtr) = *((double *)ptr);
# 1620|   		break;
# 1621|   	    case TK_OPTION_STRING:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def129]
tk9.0.2/unix/../generic/tkConfig.c:1622:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1622:17: danger: dereference of NULL ‘internalPtr’
# 1620|   		break;
# 1621|   	    case TK_OPTION_STRING:
# 1622|-> 		*((char **)internalPtr) = *((char **)ptr);
# 1623|   		break;
# 1624|   	    case TK_OPTION_STRING_TABLE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
tk9.0.2/unix/../generic/tkConfig.c:1627:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1625:20: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1626:24: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1626:24: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1627:50: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1627:25: danger: dereference of NULL ‘internalPtr’
# 1625|   		if (optionPtr->specPtr->flags & TYPE_MASK) {
# 1626|   		    if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(char)) {
# 1627|-> 			*((char *)internalPtr) = *((char *)ptr);
# 1628|   		    } else if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(short)) {
# 1629|   			*((short *)internalPtr) = *((short *)ptr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
tk9.0.2/unix/../generic/tkConfig.c:1629:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1625:20: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1626:24: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1626:24: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1628:31: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1628:31: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1629:51: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1629:25: danger: dereference of NULL ‘internalPtr’
# 1627|   			*((char *)internalPtr) = *((char *)ptr);
# 1628|   		    } else if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(short)) {
# 1629|-> 			*((short *)internalPtr) = *((short *)ptr);
# 1630|   		    } else {
# 1631|   			Tcl_Panic("Invalid flags for %s", "TK_OPTION_STRING_TABLE");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def132]
tk9.0.2/unix/../generic/tkConfig.c:1634:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1625:20: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1634:45: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1634:21: danger: dereference of NULL ‘internalPtr’
# 1632|   		    }
# 1633|   		} else {
# 1634|-> 		    *((int *)internalPtr) = *((int *)ptr);
# 1635|   		}
# 1636|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
tk9.0.2/unix/../generic/tkConfig.c:1638:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1638:17: danger: dereference of NULL ‘internalPtr’
# 1636|   		break;
# 1637|   	    case TK_OPTION_COLOR:
# 1638|-> 		*((XColor **)internalPtr) = *((XColor **)ptr);
# 1639|   		break;
# 1640|   	    case TK_OPTION_FONT:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
tk9.0.2/unix/../generic/tkConfig.c:1641:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1641:17: danger: dereference of NULL ‘internalPtr’
# 1639|   		break;
# 1640|   	    case TK_OPTION_FONT:
# 1641|-> 		*((Tk_Font *)internalPtr) = *((Tk_Font *)ptr);
# 1642|   		break;
# 1643|   	    case TK_OPTION_STYLE:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
tk9.0.2/unix/../generic/tkConfig.c:1644:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1644:17: danger: dereference of NULL ‘internalPtr’
# 1642|   		break;
# 1643|   	    case TK_OPTION_STYLE:
# 1644|-> 		*((Tk_Style *)internalPtr) = *((Tk_Style *)ptr);
# 1645|   		break;
# 1646|   	    case TK_OPTION_BITMAP:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
tk9.0.2/unix/../generic/tkConfig.c:1647:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1647:17: danger: dereference of NULL ‘internalPtr’
# 1645|   		break;
# 1646|   	    case TK_OPTION_BITMAP:
# 1647|-> 		*((Pixmap *)internalPtr) = *((Pixmap *)ptr);
# 1648|   		break;
# 1649|   	    case TK_OPTION_BORDER:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
tk9.0.2/unix/../generic/tkConfig.c:1650:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1650:17: danger: dereference of NULL ‘internalPtr’
# 1648|   		break;
# 1649|   	    case TK_OPTION_BORDER:
# 1650|-> 		*((Tk_3DBorder *)internalPtr) = *((Tk_3DBorder *)ptr);
# 1651|   		break;
# 1652|   	    case TK_OPTION_RELIEF:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
tk9.0.2/unix/../generic/tkConfig.c:1655:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1653:20: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1654:24: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1654:24: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1655:50: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1655:25: danger: dereference of NULL ‘internalPtr’
# 1653|   		if (optionPtr->specPtr->flags & TYPE_MASK) {
# 1654|   		    if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(char)) {
# 1655|-> 			*((char *)internalPtr) = *((char *)ptr);
# 1656|   		    } else if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(short)) {
# 1657|   			*((short *)internalPtr) = *((short *)ptr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def139]
tk9.0.2/unix/../generic/tkConfig.c:1657:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1653:20: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1654:24: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1654:24: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1656:31: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1656:31: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1657:51: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1657:25: danger: dereference of NULL ‘internalPtr’
# 1655|   			*((char *)internalPtr) = *((char *)ptr);
# 1656|   		    } else if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(short)) {
# 1657|-> 			*((short *)internalPtr) = *((short *)ptr);
# 1658|   		    } else {
# 1659|   			Tcl_Panic("Invalid flags for %s", "TK_OPTION_RELIEF");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def140]
tk9.0.2/unix/../generic/tkConfig.c:1662:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1653:20: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1662:45: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1662:21: danger: dereference of NULL ‘internalPtr’
# 1660|   		    }
# 1661|   		} else {
# 1662|-> 		    *((int *)internalPtr) = *((int *)ptr);
# 1663|   		}
# 1664|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
tk9.0.2/unix/../generic/tkConfig.c:1666:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1666:17: danger: dereference of NULL ‘internalPtr’
# 1664|   		break;
# 1665|   	    case TK_OPTION_CURSOR:
# 1666|-> 		*((Tk_Cursor *) internalPtr) = *((Tk_Cursor *) ptr);
# 1667|   		Tk_DefineCursor(savePtr->tkwin, *((Tk_Cursor *) internalPtr));
# 1668|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
tk9.0.2/unix/../generic/tkConfig.c:1672:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1670:20: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1671:24: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1671:24: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1672:50: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1672:25: danger: dereference of NULL ‘internalPtr’
# 1670|   		if (optionPtr->specPtr->flags & TYPE_MASK) {
# 1671|   		    if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(char)) {
# 1672|-> 			*((char *)internalPtr) = *((char *)ptr);
# 1673|   		    } else if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(short)) {
# 1674|   			*((short *)internalPtr) = *((short *)ptr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def143]
tk9.0.2/unix/../generic/tkConfig.c:1674:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1670:20: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1671:24: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1671:24: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1673:31: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1673:31: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1674:51: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1674:25: danger: dereference of NULL ‘internalPtr’
# 1672|   			*((char *)internalPtr) = *((char *)ptr);
# 1673|   		    } else if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(short)) {
# 1674|-> 			*((short *)internalPtr) = *((short *)ptr);
# 1675|   		    } else {
# 1676|   			Tcl_Panic("Invalid flags for %s", "TK_OPTION_JUSTIFY");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
tk9.0.2/unix/../generic/tkConfig.c:1679:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1670:20: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1679:45: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1679:21: danger: dereference of NULL ‘internalPtr’
# 1677|   		    }
# 1678|   		} else {
# 1679|-> 		    *((int *)internalPtr) = *((int *)ptr);
# 1680|   		}
# 1681|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
tk9.0.2/unix/../generic/tkConfig.c:1685:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1683:20: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1684:24: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1684:24: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1685:50: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1685:25: danger: dereference of NULL ‘internalPtr’
# 1683|   		if (optionPtr->specPtr->flags & TYPE_MASK) {
# 1684|   		    if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(char)) {
# 1685|-> 			*((char *)internalPtr) = *((char *)ptr);
# 1686|   		    } else if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(short)) {
# 1687|   			*((short *)internalPtr) = *((short *)ptr);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
tk9.0.2/unix/../generic/tkConfig.c:1687:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1683:20: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1684:24: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1684:24: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1686:31: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1686:31: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1687:51: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1687:25: danger: dereference of NULL ‘internalPtr’
# 1685|   			*((char *)internalPtr) = *((char *)ptr);
# 1686|   		    } else if ((optionPtr->specPtr->flags & TYPE_MASK) == TK_OPTION_VAR(short)) {
# 1687|-> 			*((short *)internalPtr) = *((short *)ptr);
# 1688|   		    } else {
# 1689|   			Tcl_Panic("Invalid flags for %s", "TK_OPTION_ANCHOR");

Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
tk9.0.2/unix/../generic/tkConfig.c:1692:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1683:20: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1692:45: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1692:21: danger: dereference of NULL ‘internalPtr’
# 1690|   		    }
# 1691|   		} else {
# 1692|-> 		    *((int *)internalPtr) = *((int *)ptr);
# 1693|   		}
# 1694|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
tk9.0.2/unix/../generic/tkConfig.c:1696:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1696:17: danger: dereference of NULL ‘internalPtr’
# 1694|   		break;
# 1695|   	    case TK_OPTION_PIXELS:
# 1696|-> 		*((int *)internalPtr) = *((int *)ptr);
# 1697|   		break;
# 1698|   	    case TK_OPTION_WINDOW:

Error: GCC_ANALYZER_WARNING (CWE-476): [#def149]
tk9.0.2/unix/../generic/tkConfig.c:1699:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1570:12: branch_false: following ‘false’ branch (when ‘newPtr’ is NULL)...
tk9.0.2/unix/../generic/tkConfig.c:1578:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1582:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1583:19: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1699:17: danger: dereference of NULL ‘internalPtr’
# 1697|   		break;
# 1698|   	    case TK_OPTION_WINDOW:
# 1699|-> 		*((Tk_Window *)internalPtr) = *((Tk_Window *)ptr);
# 1700|   		break;
# 1701|   	    case TK_OPTION_CUSTOM: {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def150]
tk9.0.2/unix/../generic/tkConfig.c:1862:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1524:1: enter_function: entry to ‘Tk_RestoreSavedOptions’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1557:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1562:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1568:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1568:13: call_function: calling ‘FreeResources’ from ‘Tk_RestoreSavedOptions’
# 1860|       case TK_OPTION_STRING:
# 1861|   	if (internalFormExists) {
# 1862|-> 	    if (*((char **)internalPtr) != NULL) {
# 1863|   		ckfree(*((char **)internalPtr));
# 1864|   		*((char **)internalPtr) = NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def151]
tk9.0.2/unix/../generic/tkConfig.c:1870:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1524:1: enter_function: entry to ‘Tk_RestoreSavedOptions’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1557:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1562:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1568:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1568:13: call_function: calling ‘FreeResources’ from ‘Tk_RestoreSavedOptions’
# 1868|       case TK_OPTION_COLOR:
# 1869|   	if (internalFormExists) {
# 1870|-> 	    if (*((XColor **)internalPtr) != NULL) {
# 1871|   		Tk_FreeColor(*((XColor **)internalPtr));
# 1872|   		*((XColor **)internalPtr) = NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
tk9.0.2/unix/../generic/tkConfig.c:1880:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1524:1: enter_function: entry to ‘Tk_RestoreSavedOptions’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1557:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1562:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1568:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1568:13: call_function: calling ‘FreeResources’ from ‘Tk_RestoreSavedOptions’
# 1878|       case TK_OPTION_FONT:
# 1879|   	if (internalFormExists) {
# 1880|-> 	    Tk_FreeFont(*((Tk_Font *)internalPtr));
# 1881|   	    *((Tk_Font *)internalPtr) = NULL;
# 1882|   	} else if (objPtr != NULL) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
tk9.0.2/unix/../generic/tkConfig.c:1888:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1524:1: enter_function: entry to ‘Tk_RestoreSavedOptions’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1557:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1562:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1568:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1568:13: call_function: calling ‘FreeResources’ from ‘Tk_RestoreSavedOptions’
# 1886|       case TK_OPTION_STYLE:
# 1887|   	if (internalFormExists) {
# 1888|-> 	    Tk_FreeStyle(*((Tk_Style *)internalPtr));
# 1889|   	    *((Tk_Style *)internalPtr) = NULL;
# 1890|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
tk9.0.2/unix/../generic/tkConfig.c:1894:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1524:1: enter_function: entry to ‘Tk_RestoreSavedOptions’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1557:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1562:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1568:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1568:13: call_function: calling ‘FreeResources’ from ‘Tk_RestoreSavedOptions’
# 1892|       case TK_OPTION_BITMAP:
# 1893|   	if (internalFormExists) {
# 1894|-> 	    if (*((Pixmap *)internalPtr) != None) {
# 1895|   		Tk_FreeBitmap(Tk_Display(tkwin), *((Pixmap *)internalPtr));
# 1896|   		*((Pixmap *)internalPtr) = None;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def155]
tk9.0.2/unix/../generic/tkConfig.c:1904:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1524:1: enter_function: entry to ‘Tk_RestoreSavedOptions’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1557:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1562:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1568:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1568:13: call_function: calling ‘FreeResources’ from ‘Tk_RestoreSavedOptions’
# 1902|       case TK_OPTION_BORDER:
# 1903|   	if (internalFormExists) {
# 1904|-> 	    if (*((Tk_3DBorder *)internalPtr) != NULL) {
# 1905|   		Tk_Free3DBorder(*((Tk_3DBorder *)internalPtr));
# 1906|   		*((Tk_3DBorder *)internalPtr) = NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def156]
tk9.0.2/unix/../generic/tkConfig.c:1914:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘internalPtr’
tk9.0.2/unix/../generic/tkConfig.c:1524:1: enter_function: entry to ‘Tk_RestoreSavedOptions’
tk9.0.2/unix/../generic/tkConfig.c:1543:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1548:14: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1548:37: branch_true: following ‘true’ branch (when ‘i >= 0’)...
tk9.0.2/unix/../generic/tkConfig.c:1549:9: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1557:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1562:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1562:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1567:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1567:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkConfig.c:1568:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkConfig.c:1568:13: call_function: calling ‘FreeResources’ from ‘Tk_RestoreSavedOptions’
# 1912|       case TK_OPTION_CURSOR:
# 1913|   	if (internalFormExists) {
# 1914|-> 	    if (*((Tk_Cursor *) internalPtr) != NULL) {
# 1915|   		Tk_FreeCursor(Tk_Display(tkwin), *((Tk_Cursor *) internalPtr));
# 1916|   		*((Tk_Cursor *) internalPtr) = NULL;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def157]
tk9.0.2/unix/../generic/tkConsole.c:751:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmd’
tk9.0.2/unix/../generic/tkConsole.c:706:8: branch_false: following ‘false’ branch (when ‘objc > 1’)...
tk9.0.2/unix/../generic/tkConsole.c:710:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkConsole.c:710:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkConsole.c:715:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkConsole.c:751:5: danger: dereference of NULL ‘cmd’
#  749|       }
#  750|   
#  751|->     Tcl_IncrRefCount(cmd);
#  752|       if (consoleInterp && !Tcl_InterpDeleted(consoleInterp)) {
#  753|   	Tcl_Preserve(consoleInterp);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def158]
tk9.0.2/unix/../generic/tkEntry.c:3586:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘before’
tk9.0.2/unix/../generic/tkEntry.c:2476:1: enter_function: entry to ‘EntrySetValue’
tk9.0.2/unix/../generic/tkEntry.c:2488:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkEntry.c:2497:29: branch_false: ...to here
tk9.0.2/unix/../generic/tkEntry.c:2504:16: call_function: calling ‘EntryValidateChange’ from ‘EntrySetValue’
# 3584|   
# 3585|       while (1) {
# 3586|-> 	if (*before == '\0') {
# 3587|   	    break;
# 3588|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def159]
tk9.0.2/unix/../generic/tkText.c:2878:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘textPtr’
tk9.0.2/unix/../generic/tkText.c:3020:1: enter_function: entry to ‘TextUndoRedoCallback’
tk9.0.2/unix/../generic/tkText.c:3034:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkText.c:3054:5: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:3093:12: call_function: calling ‘SharedTextObjCmd’ from ‘TextUndoRedoCallback’
# 2876|   
# 2877|       Tcl_ListObjAppendElement(NULL, seeInsertObj,
# 2878|-> 	    Tcl_NewStringObj(Tk_PathName(textPtr->tkwin), TCL_INDEX_NONE));
# 2879|       Tcl_ListObjAppendElement(NULL, seeInsertObj, Tcl_NewStringObj("see", 3));
# 2880|       Tcl_ListObjAppendElement(NULL, seeInsertObj,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
tk9.0.2/unix/../generic/tkText.c:3197:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘textPtr’
tk9.0.2/unix/../generic/tkText.c:1583:1: enter_function: entry to ‘SharedTextObjCmd’
tk9.0.2/unix/../generic/tkText.c:1600:8: branch_false: following ‘false’ branch (when ‘objc > 1’)...
tk9.0.2/unix/../generic/tkText.c:1605:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:1605:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkText.c:1610:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:1612:12: branch_false: following ‘false’ branch (when ‘objc != 2’)...
tk9.0.2/unix/../generic/tkText.c:1616:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:1616:12: branch_true: following ‘true’ branch (when ‘objc <= 4’)...
tk9.0.2/unix/../generic/tkText.c:1627:22: branch_true: ...to here
tk9.0.2/unix/../generic/tkText.c:1629:16: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkText.c:1632:16: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:1632:16: branch_false: following ‘false’ branch (when ‘objc != 4’)...
tk9.0.2/unix/../generic/tkText.c:1642:17: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:1642:17: call_function: calling ‘DeleteIndexRange’ from ‘SharedTextObjCmd’
# 3195|   
# 3196|       if (sharedTextPtr == NULL) {
# 3197|-> 	sharedTextPtr = textPtr->sharedTextPtr;
# 3198|       }
# 3199|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
tk9.0.2/unix/../generic/tkText.c:3673:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘textPtr’
tk9.0.2/unix/../generic/tkText.c:1583:1: enter_function: entry to ‘SharedTextObjCmd’
tk9.0.2/unix/../generic/tkText.c:1600:8: branch_false: following ‘false’ branch (when ‘objc > 1’)...
tk9.0.2/unix/../generic/tkText.c:1605:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:1605:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkText.c:1610:13: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:1612:12: branch_false: following ‘false’ branch (when ‘objc != 2’)...
tk9.0.2/unix/../generic/tkText.c:1616:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:1616:12: branch_true: following ‘true’ branch (when ‘objc <= 4’)...
tk9.0.2/unix/../generic/tkText.c:1627:22: branch_true: ...to here
tk9.0.2/unix/../generic/tkText.c:1629:16: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkText.c:1632:16: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:1632:16: branch_false: following ‘false’ branch (when ‘objc != 4’)...
tk9.0.2/unix/../generic/tkText.c:1642:17: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:1642:17: call_function: calling ‘DeleteIndexRange’ from ‘SharedTextObjCmd’
# 3671|        */
# 3672|   
# 3673|->     Tk_SendVirtualEvent(textPtr->tkwin, "Selection", NULL);
# 3674|   }
# 3675|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
tk9.0.2/unix/../generic/tkText.c:6042:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pattern’
tk9.0.2/unix/../generic/tkText.c:5837:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkText.c:5842:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkText.c:5874:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkText.c:5896:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:5914:22: branch_true: following ‘true’ branch (when ‘passes != 2’)...
tk9.0.2/unix/../generic/tkText.c:5916:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkText.c:5919:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkText.c:5934:20: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:5937:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkText.c:5947:24: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:5953:12: branch_false: following ‘false’ branch (when ‘alreadySearchOffset < 0’)...
tk9.0.2/unix/../generic/tkText.c:5966:24: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:6010:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkText.c:6012:39: branch_true: ...to here
tk9.0.2/unix/../generic/tkText.c:6020:20: branch_true: following ‘true’ branch (when ‘firstNewLine == -1’)...
tk9.0.2/unix/../generic/tkText.c:6021:25: branch_true: ...to here
tk9.0.2/unix/../generic/tkText.c:6021:24: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkText.c:6035:25: branch_false: ...to here
tk9.0.2/unix/../generic/tkText.c:6035:24: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkText.c:6042:52: branch_true: ...to here
tk9.0.2/unix/../generic/tkText.c:6042:36: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkText.c:6042:36: branch_true: ...to here
tk9.0.2/unix/../generic/tkText.c:6042:36: danger: dereference of NULL ‘pattern’
# 6040|   			 */
# 6041|   
# 6042|-> 			const char c = matchLength ? pattern[0] : '\0';
# 6043|   
# 6044|   			if (alreadySearchOffset >= 0) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
tk9.0.2/unix/../generic/tkTextBTree.c:2131:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
tk9.0.2/unix/../generic/tkTextBTree.c:2117:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:2117:8: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:2121:16: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:2124:16: branch_true: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:2131:17: danger: dereference of NULL ‘<unknown>’
# 2129|   
# 2130|   		linePtr = TkBTreeNextLine(NULL, linePtr);
# 2131|-> 		prevPtr = linePtr->segPtr;
# 2132|   	    }
# 2133|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
tk9.0.2/unix/../generic/tkTextBTree.c:3082:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*searchPtr.curIndex.linePtr’
tk9.0.2/unix/../generic/tkTextBTree.c:3055:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:3055:8: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3099:12: branch_false: following ‘false’ branch (when ‘prevPtr’ is NULL)...
tk9.0.2/unix/../generic/tkTextBTree.c:3114:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3115:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:3125:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3127:17: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:3131:12: branch_true: following ‘true’ branch (when ‘prevLinePtr’ is non-NULL)...
tk9.0.2/unix/../generic/tkTextBTree.c:3132:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3083:17: branch_false: following ‘false’ branch (when ‘segPtr’ is NULL)...
tk9.0.2/unix/../generic/tkTextBTree.c:3099:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3099:12: branch_false: following ‘false’ branch (when ‘prevPtr’ is NULL)...
tk9.0.2/unix/../generic/tkTextBTree.c:3114:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3115:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:3125:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3131:12: branch_false: following ‘false’ branch (when ‘prevLinePtr’ is NULL)...
tk9.0.2/unix/../generic/tkTextBTree.c:3136:24: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3136:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:3136:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3154:57: branch_true: following ‘true’ branch (when ‘summaryPtr’ is non-NULL)...
tk9.0.2/unix/../generic/tkTextBTree.c:3156:25: branch_true: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3220:17: branch_false: following ‘false’ branch (when ‘linePtr’ is NULL)...
tk9.0.2/unix/../generic/tkTextBTree.c:3224:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3226:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:3047:1: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3072:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:3082:39: branch_true: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3082:39: release_memory: ‘*searchPtr.curIndex.linePtr’ is NULL
tk9.0.2/unix/../generic/tkTextBTree.c:3082:30: danger: dereference of NULL ‘*searchPtr.curIndex.linePtr’
# 3080|   	}
# 3081|   
# 3082|-> 	for (prevPtr = NULL, segPtr = searchPtr->curIndex.linePtr->segPtr ;
# 3083|   		segPtr != NULL && segPtr != searchPtr->nextPtr;
# 3084|   		segPtr = segPtr->nextPtr) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
tk9.0.2/unix/../generic/tkTextBTree.c:3410:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
tk9.0.2/unix/../generic/tkTextBTree.c:3395:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:3396:14: branch_true: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3396:13: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:3400:18: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3410:13: danger: dereference of NULL ‘<unknown>’
# 3408|   
# 3409|   	    linePtr = TkBTreeNextLine(NULL, linePtr);
# 3410|-> 	    segPtr = linePtr->segPtr;
# 3411|   	}
# 3412|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
tk9.0.2/unix/../generic/tkTextBTree.c:3578:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
tk9.0.2/unix/../generic/tkTextBTree.c:3559:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:3560:14: branch_true: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:3578:13: danger: dereference of NULL ‘<unknown>’
# 3576|   
# 3577|   	    linePtr = TkBTreeNextLine(NULL, linePtr);
# 3578|-> 	    segPtr = linePtr->segPtr;
# 3579|   	}
# 3580|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
tk9.0.2/unix/../generic/tkTextBTree.c:4314:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘halfwayLinePtr’
tk9.0.2/unix/../generic/tkTextBTree.c:4122:13: branch_true: following ‘true’ branch (when ‘nodePtr’ is non-NULL)...
tk9.0.2/unix/../generic/tkTextBTree.c:4134:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4134:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:4134:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4211:16: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:4227:17: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4227:16: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:4237:17: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4270:24: branch_false: following ‘false’ branch (when ‘i > firstChildren’)...
tk9.0.2/unix/../generic/tkTextBTree.c:4297:16: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4297:16: branch_false: following ‘false’ branch (when ‘totalChildren > 12’)...
tk9.0.2/unix/../generic/tkTextBTree.c:4312:16: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4312:16: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:4314:46: branch_true: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4314:46: danger: dereference of NULL ‘halfwayLinePtr’
# 4312|   	    if (nodePtr->level == 0) {
# 4313|   		CLANG_ASSERT(halfwayLinePtr);
# 4314|-> 		otherPtr->children.linePtr = halfwayLinePtr->nextPtr;
# 4315|   		halfwayLinePtr->nextPtr = NULL;
# 4316|   	    } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
tk9.0.2/unix/../generic/tkTextBTree.c:4318:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘halfwayNodePtr’
tk9.0.2/unix/../generic/tkTextBTree.c:4122:13: branch_true: following ‘true’ branch (when ‘nodePtr’ is non-NULL)...
tk9.0.2/unix/../generic/tkTextBTree.c:4134:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4134:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:4134:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4211:16: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:4227:17: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4227:16: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:4237:17: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4286:24: branch_false: following ‘false’ branch (when ‘i > firstChildren’)...
tk9.0.2/unix/../generic/tkTextBTree.c:4297:16: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4297:16: branch_false: following ‘false’ branch (when ‘totalChildren > 12’)...
tk9.0.2/unix/../generic/tkTextBTree.c:4312:16: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4312:16: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextBTree.c:4318:46: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextBTree.c:4318:46: danger: dereference of NULL ‘halfwayNodePtr’
# 4316|   	    } else {
# 4317|   		CLANG_ASSERT(halfwayNodePtr);
# 4318|-> 		otherPtr->children.nodePtr = halfwayNodePtr->nextPtr;
# 4319|   		halfwayNodePtr->nextPtr = NULL;
# 4320|   	    }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
tk9.0.2/unix/../generic/tkTextTag.c:1027:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hPtr’
tk9.0.2/unix/../generic/tkTextTag.c:953:8: branch_true: following ‘true’ branch (when the strings are equal)...
tk9.0.2/unix/../generic/tkTextTag.c:954:13: branch_true: ...to here
tk9.0.2/unix/../generic/tkTextTag.c:954:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkTextTag.c:960:12: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextTag.c:1022:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
tk9.0.2/unix/../generic/tkTextTag.c:1027:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkTextTag.c:1027:9: danger: dereference of NULL ‘hPtr’
# 1025|       } else {
# 1026|   	CLANG_ASSERT(hPtr);
# 1027|-> 	Tcl_SetHashValue(hPtr, tagPtr);
# 1028|       }
# 1029|       tagPtr->optionTable =

Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
tk9.0.2/unix/../generic/tkUndo.c:396:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prevelem’
tk9.0.2/unix/../generic/tkUndo.c:388:16: branch_false: following ‘false’ branch (when ‘elem’ is NULL)...
tk9.0.2/unix/../generic/tkUndo.c:396:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkUndo.c:396:9: danger: dereference of NULL ‘prevelem’
#  394|   	}
#  395|   	CLANG_ASSERT(prevelem);
#  396|-> 	prevelem->next = NULL;
#  397|   	while (elem != NULL) {
#  398|   	    prevelem = elem;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
tk9.0.2/unix/../generic/tkVisual.c:307:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bestPtr’
tk9.0.2/unix/../generic/tkVisual.c:157:15: branch_false: following ‘false’ branch (when ‘c != 0’)...
tk9.0.2/unix/../generic/tkVisual.c:157:16: branch_false: ...to here
tk9.0.2/unix/../generic/tkVisual.c:175:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkVisual.c:181:9: branch_false: ...to here
tk9.0.2/unix/../generic/tkVisual.c:240:8: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkVisual.c:240:8: branch_false: ...to here
tk9.0.2/unix/../generic/tkVisual.c:263:17: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/tkVisual.c:307:17: branch_false: ...to here
tk9.0.2/unix/../generic/tkVisual.c:307:17: danger: dereference of NULL ‘bestPtr’
#  305|       }
#  306|       CLANG_ASSERT(bestPtr);
#  307|->     *depthPtr = bestPtr->depth;
#  308|       visual = bestPtr->visual;
#  309|       XFree(visInfoList);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def172]
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:500:9: warning[-Wanalyzer-null-argument]: use of NULL ‘upperBdColorPtr’ where non-null expected
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:435:8: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:435:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:435:12: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:437:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:435:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:438:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:435:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:450:16: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:469:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:473:22: branch_true: ...to here
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:481:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:484:9: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkClamTheme.c:500:9: danger: argument 1 (‘upperBdColorPtr’) NULL where non-null expected
#  498|   	assert(bgColorPtr);
#  499|   
#  500|-> 	memcpy(upperBdColorPtr, upperBdColorStr, 6);
#  501|   	memcpy(lowerBdColorPtr, lowerBdColorStr, 6);
#  502|   	memcpy(bgColorPtr, bgColorStr, 6);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def173]
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:673:9: warning[-Wanalyzer-null-argument]: use of NULL ‘shadeColorPtr’ where non-null expected
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:602:8: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:602:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:602:12: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:604:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:602:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:605:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:602:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:617:16: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:638:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:642:22: branch_true: ...to here
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:650:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:653:9: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkDefaultTheme.c:673:9: danger: argument 1 (‘shadeColorPtr’) NULL where non-null expected
#  671|   	assert(indicatorColorPtr);
#  672|   
#  673|-> 	memcpy(shadeColorPtr, shadeColorStr, 6);
#  674|   	memcpy(highlightColorPtr, indicatorColorStr, 6);
#  675|   	memcpy(borderColorPtr, borderColorStr, 6);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def174]
tk9.0.2/unix/../generic/ttk/ttkElements.c:853:13: warning[-Wanalyzer-null-argument]: use of NULL ‘bgColorPtr’ where non-null expected
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:8: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:791:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:792:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:803:16: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:824:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:828:22: branch_true: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:837:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:840:9: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:846:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:847:26: branch_true: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:853:13: danger: argument 1 (‘bgColorPtr’) NULL where non-null expected
#  851|   	    assert(fgColorPtr);
#  852|   
#  853|-> 	    memcpy(bgColorPtr, bgColorStr, 6);
#  854|   	    memcpy(fgColorPtr, fgColorStr, 6);
#  855|   	} else {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def175]
tk9.0.2/unix/../generic/ttk/ttkElements.c:854:13: warning[-Wanalyzer-null-argument]: use of NULL ‘fgColorPtr’ where non-null expected
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:8: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:791:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:792:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:803:16: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:824:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:828:22: branch_true: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:837:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:840:9: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:846:12: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:847:26: branch_true: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:854:13: danger: argument 1 (‘fgColorPtr’) NULL where non-null expected
#  852|   
#  853|   	    memcpy(bgColorPtr, bgColorStr, 6);
#  854|-> 	    memcpy(fgColorPtr, fgColorStr, 6);
#  855|   	} else {
#  856|   	    bgColorPtr =     strstr(svgDataCopy, "ffffff");

Error: GCC_ANALYZER_WARNING (CWE-688): [#def176]
tk9.0.2/unix/../generic/ttk/ttkElements.c:862:13: warning[-Wanalyzer-null-argument]: use of NULL ‘bgColorPtr’ where non-null expected
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:8: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:791:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:792:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:803:16: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:824:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:828:22: branch_true: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:837:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:840:9: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:846:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:856:30: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:862:13: danger: argument 1 (‘bgColorPtr’) NULL where non-null expected
#  860|   	    assert(borderColorPtr);
#  861|   
#  862|-> 	    memcpy(bgColorPtr, bgColorStr, 6);
#  863|   	    memcpy(borderColorPtr, borderColorStr, 6);
#  864|   	}

Error: GCC_ANALYZER_WARNING (CWE-688): [#def177]
tk9.0.2/unix/../generic/ttk/ttkElements.c:863:13: warning[-Wanalyzer-null-argument]: use of NULL ‘borderColorPtr’ where non-null expected
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:8: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:791:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:792:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:789:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:803:16: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:824:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:828:22: branch_true: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:837:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:840:9: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:846:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:856:30: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:863:13: danger: argument 1 (‘borderColorPtr’) NULL where non-null expected
#  861|   
#  862|   	    memcpy(bgColorPtr, bgColorStr, 6);
#  863|-> 	    memcpy(borderColorPtr, borderColorStr, 6);
#  864|   	}
#  865|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def178]
tk9.0.2/unix/../generic/ttk/ttkElements.c:1497:9: warning[-Wanalyzer-null-argument]: use of NULL ‘innerColorPtr’ where non-null expected
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:8: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1429:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1430:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1442:8: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1475:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1481:31: branch_true: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1482:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1485:9: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1497:9: danger: argument 1 (‘innerColorPtr’) NULL where non-null expected
# 1495|   	assert(outerColorPtr);
# 1496|   	assert(borderColorPtr);
# 1497|-> 	memcpy(innerColorPtr, innerColorStr, 6);
# 1498|   	memcpy(outerColorPtr, outerColorStr, 6);
# 1499|   	memcpy(borderColorPtr, borderColorStr, 6);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def179]
tk9.0.2/unix/../generic/ttk/ttkElements.c:1498:9: warning[-Wanalyzer-null-argument]: use of NULL ‘outerColorPtr’ where non-null expected
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:8: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1429:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1430:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1442:8: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1475:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1481:31: branch_true: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1482:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1485:9: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1498:9: danger: argument 1 (‘outerColorPtr’) NULL where non-null expected
# 1496|   	assert(borderColorPtr);
# 1497|   	memcpy(innerColorPtr, innerColorStr, 6);
# 1498|-> 	memcpy(outerColorPtr, outerColorStr, 6);
# 1499|   	memcpy(borderColorPtr, borderColorStr, 6);
# 1500|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def180]
tk9.0.2/unix/../generic/ttk/ttkElements.c:1499:9: warning[-Wanalyzer-null-argument]: use of NULL ‘borderColorPtr’ where non-null expected
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:8: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: following ‘false’ branch (when ‘<unknown> >= 0’)...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1429:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1430:12: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1427:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1442:8: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1475:8: branch_true: following ‘true’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1481:31: branch_true: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1482:12: branch_false: following ‘false’ branch...
tk9.0.2/unix/../generic/ttk/ttkElements.c:1485:9: branch_false: ...to here
tk9.0.2/unix/../generic/ttk/ttkElements.c:1499:9: danger: argument 1 (‘borderColorPtr’) NULL where non-null expected
# 1497|   	memcpy(innerColorPtr, innerColorStr, 6);
# 1498|   	memcpy(outerColorPtr, outerColorStr, 6);
# 1499|-> 	memcpy(borderColorPtr, borderColorStr, 6);
# 1500|   
# 1501|   	/*

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-128.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nametk-9.0.2-1.fc44
store-results-to/tmp/tmp6az7oqoj/tk-9.0.2-1.fc44.tar.xz
time-created2026-01-08 21:54:15
time-finished2026-01-08 21:56:42
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp6az7oqoj/tk-9.0.2-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp6az7oqoj/tk-9.0.2-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9