bash-5.2.37-1.fc42
List of Findings
Error: SHELLCHECK_WARNING (CWE-480): [#def1]
/usr/bin/bashbug-64:57:9: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-480): [#def2]
/usr/bin/bashbug-64:99:6: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
Error: SHELLCHECK_WARNING (CWE-456): [#def3]
/usr/bin/bashbug-64:146:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-456): [#def4]
/usr/bin/bashbug-64:149:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-398): [#def5]
/usr/bin/bashbug-64:158:40: warning[SC2172]: Trapping signals by number is not well defined. Prefer signal names.
Error: SHELLCHECK_WARNING (CWE-252): [#def6]
/usr/bin/cd:2:1: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-138): [#def7]
/usr/share/doc/bash/examples/functions/arrayops.bash:95:19: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING: [#def8]
/usr/share/doc/bash/examples/functions/arrayops.bash:95:19: warning[SC2294]: eval negates the benefit of arrays. Drop eval to preserve whitespace/symbols (or eval as string).
Error: SHELLCHECK_WARNING (CWE-88): [#def9]
/usr/share/doc/bash/examples/functions/arrayops.bash:110:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-457): [#def10]
/usr/share/doc/bash/examples/functions/arrayops.bash:110:32: warning[SC2154]: v is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-758): [#def11]
/usr/share/doc/bash/examples/scripts/cat.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-457): [#def12]
/usr/share/doc/bash/examples/shellmath/assert.sh:28:17: warning[SC2154]: __shellmath_returnCodes is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def13]
/usr/share/doc/bash/examples/shellmath/assert.sh:46:29: warning[SC2154]: __shellmath_true is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def14]
/usr/share/doc/bash/examples/shellmath/assert.sh:49:29: warning[SC2154]: __shellmath_false is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def15]
/usr/share/doc/bash/examples/shellmath/assert.sh:69:21: warning[SC2154]: __shellmath_SUCCESS is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def16]
/usr/share/doc/bash/examples/shellmath/assert.sh:72:21: warning[SC2154]: __shellmath_FAIL is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def17]
/usr/share/doc/bash/examples/shellmath/faster_e_demo.sh:22:15: warning[SC2154]: __shellmath_true is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def18]
/usr/share/doc/bash/examples/shellmath/faster_e_demo.sh:48:7: warning[SC2154]: term is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-140): [#def19]
/usr/share/doc/bash/examples/shellmath/runTests.sh:42:16: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
Error: SHELLCHECK_WARNING (CWE-149): [#def20]
/usr/share/doc/bash/examples/shellmath/runTests.sh:91:68: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-457): [#def21]
/usr/share/doc/bash/examples/shellmath/runTests.sh:115:48: warning[SC2154]: __shellmath_true is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def22]
/usr/share/doc/bash/examples/shellmath/slower_e_demo.sh:13:15: warning[SC2154]: __shellmath_true is referenced but not assigned.
Error: COMPILER_WARNING (CWE-563): [#def23]
bash-5.2.37-build/bash-5.2/array.c:66:14: warning[-Wunused-variable]: ‘spacesep’ defined but not used
Error: CPPCHECK_WARNING (CWE-457): [#def24]
bash-5.2.37-build/bash-5.2/array.c:870: error[uninitvar]: Uninitialized variable: t
Error: GCC_ANALYZER_WARNING (CWE-457): [#def25]
bash-5.2.37-build/bash-5.2/array.c: scope_hint: In function ‘array_from_argv’
bash-5.2.37-build/bash-5.2/array.c:870:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘t’
Error: COMPILER_WARNING (CWE-457): [#def26]
bash-5.2.37-build/bash-5.2/array.c: scope_hint: In function ‘array_from_argv’
bash-5.2.37-build/bash-5.2/array.c:870:9: warning[-Wmaybe-uninitialized]: ‘t’ may be used uninitialized
bash-5.2.37-build/bash-5.2/array.c:865:10: note: ‘t’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def27]
bash-5.2.37-build/bash-5.2/arrayfunc.c: scope_hint: In function ‘assign_array_element_internal’
bash-5.2.37-build/bash-5.2/arrayfunc.c:410:9: warning[-Wunused-variable]: unused variable ‘newval’
Error: COMPILER_WARNING (CWE-457): [#def28]
bash-5.2.37-build/bash-5.2/arrayfunc.c:435:36: warning[-Wmaybe-uninitialized]: ‘nkey’ may be used uninitialized
bash-5.2.37-build/bash-5.2/arrayfunc.c: scope_hint: In function ‘assign_array_element’
bash-5.2.37-build/bash-5.2/arrayfunc.c:408:16: note: ‘nkey’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def29]
bash-5.2.37-build/bash-5.2/arrayfunc.c: scope_hint: In function ‘array_value_internal’
bash-5.2.37-build/bash-5.2/arrayfunc.c:1487:21: warning[-Wunused-but-set-variable]: variable ‘subtype’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def30]
bash-5.2.37-build/bash-5.2/arrayfunc.c: scope_hint: In function ‘array_value_internal’
bash-5.2.37-build/bash-5.2/arrayfunc.c:1619:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ind’
bash-5.2.37-build/bash-5.2/arrayfunc.c:1589:16: note: in expansion of macro ‘assoc_p’
bash-5.2.37-build/bash-5.2/arrayfunc.c:1608:23: note: in expansion of macro ‘value_cell’
bash-5.2.37-build/bash-5.2/arrayfunc.c:1613:16: note: in expansion of macro ‘invisible_p’
Error: COMPILER_WARNING (CWE-457): [#def31]
bash-5.2.37-build/bash-5.2/arrayfunc.c: scope_hint: In function ‘array_value_internal’
bash-5.2.37-build/bash-5.2/arrayfunc.c:1619:48: warning[-Wmaybe-uninitialized]: ‘ind’ may be used uninitialized
bash-5.2.37-build/bash-5.2/arrayfunc.c:1488:14: note: ‘ind’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def32]
bash-5.2.37-build/bash-5.2/arrayfunc.c:1631:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ind’
bash-5.2.37-build/bash-5.2/arrayfunc.c:1589:16: note: in expansion of macro ‘assoc_p’
bash-5.2.37-build/bash-5.2/arrayfunc.c:1608:23: note: in expansion of macro ‘value_cell’
bash-5.2.37-build/bash-5.2/arrayfunc.c:1613:16: note: in expansion of macro ‘invisible_p’
bash-5.2.37-build/bash-5.2/arrayfunc.c:1620:16: note: in expansion of macro ‘assoc_p’
Error: COMPILER_WARNING (CWE-563): [#def33]
bash-5.2.37-build/bash-5.2/arrayfunc.c: scope_hint: In function ‘array_keys’
bash-5.2.37-build/bash-5.2/arrayfunc.c:1676:22: warning[-Wunused-variable]: unused variable ‘temp’
Error: COMPILER_WARNING (CWE-457): [#def34]
bash-5.2.37-build/bash-5.2/assoc.h:31:37: warning[-Wmaybe-uninitialized]: ‘h’ may be used uninitialized
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘parameter_brace_substring’
bash-5.2.37-build/bash-5.2/subst.c:8129:14: note: ‘h’ was declared here
Error: COMPILER_WARNING (CWE-569): [#def35]
bash-5.2.37-build/bash-5.2/bashhist.c: scope_hint: In function ‘hc_erasedups’
bash-5.2.37-build/bash-5.2/bashhist.c:731:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-704): [#def36]
bash-5.2.37-build/bash-5.2/bashhist.c: scope_hint: In function ‘bash_syslog_history’
bash-5.2.37-build/bash-5.2/bashhist.c:851:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-1164): [#def37]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/bashline.c:214:12: warning[-Wunused-function]: ‘set_saved_history’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-569): [#def38]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘snarf_hosts_from_file’
bash-5.2.37-build/bash-5.2/bashline.c:811:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: GCC_ANALYZER_WARNING (CWE-835): [#def39]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘snarf_hosts_from_file’
bash-5.2.37-build/bash-5.2/bashline.c:842:22: warning[-Wanalyzer-infinite-loop]: infinite loop
bash-5.2.37-build/bash-5.2/bashline.c:842:29: note: in expansion of macro ‘cr_whitespace’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def40]
bash-5.2.37-build/bash-5.2/bashline.c:853:33: warning[-Wanalyzer-infinite-loop]: infinite loop
bash-5.2.37-build/bash-5.2/bashline.c:853:40: note: in expansion of macro ‘cr_whitespace’
Error: GCC_ANALYZER_WARNING (CWE-674): [#def41]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘bash_backward_kill_shellword’
bash-5.2.37-build/bash-5.2/bashline.c:1245:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
Error: GCC_ANALYZER_WARNING (CWE-674): [#def42]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘bash_kill_shellword’
bash-5.2.37-build/bash-5.2/bashline.c:1267:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
Error: COMPILER_WARNING (CWE-563): [#def43]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘bash_spell_correct_shellword’
bash-5.2.37-build/bash-5.2/bashline.c:1346:7: warning[-Wunused-but-set-variable]: variable ‘opoint’ set but not used
Error: CPPCHECK_WARNING (CWE-457): [#def44]
bash-5.2.37-build/bash-5.2/bashline.c:1687: error[uninitvar]: Uninitialized variable: e1
Error: COMPILER_WARNING (CWE-569): [#def45]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘attempt_shell_completion’
bash-5.2.37-build/bash-5.2/bashline.c:1704:14: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-457): [#def46]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘attempt_shell_completion’
bash-5.2.37-build/bash-5.2/bashline.c:1719:28: warning[-Wmaybe-uninitialized]: ‘e1’ may be used uninitialized
bash-5.2.37-build/bash-5.2/bashline.c:1669:21: note: ‘e1’ was declared here
Error: COMPILER_WARNING (CWE-569): [#def47]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘command_word_completion_function’
bash-5.2.37-build/bash-5.2/bashline.c:2209:14: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def48]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘bash_servicename_completion_function’
bash-5.2.37-build/bash-5.2/bashline.c:2609:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def49]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘bash_groupname_completion_function’
bash-5.2.37-build/bash-5.2/bashline.c:2665:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def50]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘history_and_alias_expand_line’
bash-5.2.37-build/bash-5.2/bashline.c:2847:20: warning[-Wunused-variable]: unused variable ‘t’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def51]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘_ignore_completion_names’
bash-5.2.37-build/bash-5.2/bashline.c:3027:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘oldnames’
Error: COMPILER_WARNING (CWE-457): [#def52]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘_ignore_completion_names’
bash-5.2.37-build/bash-5.2/bashline.c:3027:17: warning[-Wmaybe-uninitialized]: ‘oldnames’ may be used uninitialized
bash-5.2.37-build/bash-5.2/bashline.c:2990:10: note: ‘oldnames’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def53]
bash-5.2.37-build/bash-5.2/bashline.c:3043:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘oldnames’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def54]
bash-5.2.37-build/bash-5.2/bashline.c:3053:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘oldnames’
Error: COMPILER_WARNING (CWE-569): [#def55]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘bash_filename_stat_hook’
bash-5.2.37-build/bash-5.2/bashline.c:3385:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def56]
bash-5.2.37-build/bash-5.2/bashline.c:3387:12: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def57]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘bash_directory_completion_hook’
bash-5.2.37-build/bash-5.2/bashline.c:3540:18: warning[-Wunused-variable]: unused variable ‘l1’
Error: COMPILER_WARNING (CWE-569): [#def58]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘bash_check_expchar’
bash-5.2.37-build/bash-5.2/bashline.c:4172:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def59]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘set_filename_quote_chars’
bash-5.2.37-build/bash-5.2/bashline.c:4231:23: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-1164): [#def60]
bash-5.2.37-build/bash-5.2/bashline.c:4386:1: warning[-Wunused-function]: ‘putx’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def61]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘bash_execute_unix_command’
bash-5.2.37-build/bash-5.2/bashline.c:4447:27: warning[-Wunused-variable]: unused variable ‘old_ch’
Error: COMPILER_WARNING (CWE-1164): [#def62]
bash-5.2.37-build/bash-5.2/bashline.c:4584:1: warning[-Wunused-function]: ‘get_cmd_xmap_from_edit_mode’ defined but not used
Error: COMPILER_WARNING (CWE-569): [#def63]
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘isolate_sequence’
bash-5.2.37-build/bash-5.2/bashline.c:4649:19: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-457): [#def64]
bash-5.2.37-build/bash-5.2/braces.c:371:13: warning[-Wmaybe-uninitialized]: ‘tr’ may be used uninitialized
bash-5.2.37-build/bash-5.2/braces.c: scope_hint: In function ‘brace_expand’
bash-5.2.37-build/bash-5.2/braces.c:479:16: note: ‘tr’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
bash-5.2.37-build/bash-5.2/braces.c: scope_hint: In function ‘mkseq’
bash-5.2.37-build/bash-5.2/braces.c:425:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
Error: COMPILER_WARNING (CWE-563): [#def66]
bash-5.2.37-build/bash-5.2/braces.c: scope_hint: In function ‘mkseq’
bash-5.2.37-build/bash-5.2/braces.c:428:15: warning[-Wunused-but-set-variable]: variable ‘len’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def67]
bash-5.2.37-build/bash-5.2/braces.c:435:15: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def68]
bash-5.2.37-build/bash-5.2/braces.c: scope_hint: In function ‘brace_gobbler’
bash-5.2.37-build/bash-5.2/braces.c:615:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-1164): [#def69]
bash-5.2.37-build/bash-5.2/builtins/cd.def: scope_hint: At top level
bash-5.2.37-build/bash-5.2/builtins/cd.def:198:1: warning[-Wunused-function]: ‘cdxattr’ defined but not used
Error: COMPILER_WARNING (CWE-569): [#def70]
bash-5.2.37-build/bash-5.2/builtins/cd.def: scope_hint: In function ‘cd_builtin’
bash-5.2.37-build/bash-5.2/builtins/cd.def:370:14: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def71]
bash-5.2.37-build/bash-5.2/builtins/cd.def: scope_hint: In function ‘change_to_directory’
bash-5.2.37-build/bash-5.2/builtins/cd.def:555:20: warning[-Wunused-variable]: unused variable ‘ndir’
Error: COMPILER_WARNING (CWE-563): [#def72]
bash-5.2.37-build/bash-5.2/builtins/common.c: scope_hint: In function ‘builtin_arrayref_flags’
bash-5.2.37-build/bash-5.2/builtins/common.c:1088:9: warning[-Wunused-variable]: unused variable ‘t’
Error: COMPILER_WARNING (CWE-457): [#def73]
bash-5.2.37-build/bash-5.2/builtins/declare.def:387:7: warning[-Wmaybe-uninitialized]: ‘optchar’ may be used uninitialized
bash-5.2.37-build/bash-5.2/builtins/declare.def:376:13: note: ‘optchar’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def74]
bash-5.2.37-build/bash-5.2/builtins/declare.def:401:11: warning[-Wunused-but-set-variable]: variable ‘var_exists’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def75]
bash-5.2.37-build/bash-5.2/builtins/declare.def: scope_hint: In function ‘declare_internal’
bash-5.2.37-build/bash-5.2/builtins/declare.def:566:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def76]
bash-5.2.37-build/bash-5.2/builtins/echo.def: scope_hint: In function ‘echo_builtin’
bash-5.2.37-build/bash-5.2/builtins/echo.def:141:14: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-457): [#def77]
bash-5.2.37-build/bash-5.2/builtins/enable.def: scope_hint: In function ‘enable_builtin’
bash-5.2.37-build/bash-5.2/builtins/enable.def:192:16: warning[-Wmaybe-uninitialized]: ‘filename’ may be used uninitialized
bash-5.2.37-build/bash-5.2/builtins/enable.def:116:9: note: ‘filename’ was declared here
Error: COMPILER_WARNING (CWE-569): [#def78]
bash-5.2.37-build/bash-5.2/builtins/evalstring.c: scope_hint: In function ‘parse_and_execute’
bash-5.2.37-build/bash-5.2/builtins/evalstring.c:443:20: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def79]
bash-5.2.37-build/bash-5.2/builtins/evalstring.c: scope_hint: In function ‘open_redir_file’
bash-5.2.37-build/bash-5.2/builtins/evalstring.c:735:11: warning[-Wunused-variable]: unused variable ‘rval’
Error: COMPILER_WARNING (CWE-569): [#def80]
bash-5.2.37-build/bash-5.2/builtins/getopt.c: scope_hint: In function ‘sh_getopt’
bash-5.2.37-build/bash-5.2/builtins/getopt.c:182:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def81]
bash-5.2.37-build/bash-5.2/builtins/help.def: scope_hint: In function ‘help_builtin’
bash-5.2.37-build/bash-5.2/builtins/help.def:145:23: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: GCC_ANALYZER_WARNING (CWE-775): [#def82]
bash-5.2.37-build/bash-5.2/builtins/help.def: scope_hint: In function ‘show_longdoc’
bash-5.2.37-build/bash-5.2/builtins/help.def:245:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_helpfile(*doc)’
Error: COMPILER_WARNING (CWE-563): [#def83]
bash-5.2.37-build/bash-5.2/builtins/help.def: scope_hint: In function ‘show_desc’
bash-5.2.37-build/bash-5.2/builtins/help.def:260:19: warning[-Wunused-but-set-variable]: variable ‘r’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def84]
bash-5.2.37-build/bash-5.2/builtins/help.def: scope_hint: In function ‘show_desc’
bash-5.2.37-build/bash-5.2/builtins/help.def:270:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_helpfile(*doc)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def85]
bash-5.2.37-build/bash-5.2/builtins/help.def: scope_hint: In function ‘show_manpage’
bash-5.2.37-build/bash-5.2/builtins/help.def:309:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_helpfile(*doc)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
bash-5.2.37-build/bash-5.2/builtins/help.def:336:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘doc’
Error: COMPILER_WARNING (CWE-563): [#def87]
bash-5.2.37-build/bash-5.2/builtins/help.def:518:10: warning[-Wunused-variable]: unused variable ‘j’
Error: COMPILER_WARNING (CWE-563): [#def88]
bash-5.2.37-build/bash-5.2/builtins/help.def: scope_hint: In function ‘show_builtin_command_help’
bash-5.2.37-build/bash-5.2/builtins/help.def:520:9: warning[-Wunused-variable]: unused variable ‘t’
Error: COMPILER_WARNING (CWE-457): [#def89]
bash-5.2.37-build/bash-5.2/builtins/history.def: scope_hint: In function ‘history_builtin’
bash-5.2.37-build/bash-5.2/builtins/history.def:185:59: warning[-Wmaybe-uninitialized]: ‘delete_arg’ may be used uninitialized
bash-5.2.37-build/bash-5.2/builtins/history.def:112:20: note: ‘delete_arg’ was declared here
Error: CPPCHECK_WARNING (CWE-457): [#def90]
bash-5.2.37-build/bash-5.2/builtins/let.def:108: warning[uninitvar]: Uninitialized variable: ret
Error: GCC_ANALYZER_WARNING (CWE-131): [#def91]
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c: scope_hint: In function ‘array_add’
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:452:18: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:1112:15: note: in expansion of macro ‘savestring’
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:1112:15: note: in expansion of macro ‘savestring’
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:1113:19: note: in expansion of macro ‘savestring’
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:1113:19: note: in expansion of macro ‘savestring’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:457:1: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:1112:15: note: in expansion of macro ‘savestring’
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:1112:15: note: in expansion of macro ‘savestring’
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:1113:19: note: in expansion of macro ‘savestring’
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:1113:19: note: in expansion of macro ‘savestring’
Error: COMPILER_WARNING (CWE-569): [#def93]
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c: scope_hint: In function ‘extract_info’
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:603:15: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def94]
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c: scope_hint: In function ‘free_defs’
bash-5.2.37-build/bash-5.2/builtins/mkbuiltins.c:719:19: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: GCC_ANALYZER_WARNING (CWE-479): [#def95]
bash-5.2.37-build/bash-5.2/builtins/psize.c: scope_hint: In function ‘sigpipe’
bash-5.2.37-build/bash-5.2/builtins/psize.c:54:3: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘fprintf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def96]
bash-5.2.37-build/bash-5.2/builtins/psize.c:55:3: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
bash-5.2.37-build/bash-5.2/builtins/psize.c:55:3: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
Error: COMPILER_WARNING (CWE-563): [#def97]
bash-5.2.37-build/bash-5.2/builtins/read.def:144:20: warning[-Wunused-variable]: ‘old_alrm’ defined but not used
Error: CPPCHECK_WARNING (CWE-476): [#def98]
bash-5.2.37-build/bash-5.2/builtins/read.def:795: error[nullPointer]: Null pointer dereference
Error: GCC_ANALYZER_WARNING (CWE-457): [#def99]
bash-5.2.37-build/bash-5.2/builtins/read.def: scope_hint: In function ‘read_builtin’
bash-5.2.37-build/bash-5.2/builtins/read.def:917:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘saw_escape’
Error: CPPCHECK_WARNING (CWE-457): [#def100]
bash-5.2.37-build/bash-5.2/builtins/set.def:573: warning[uninitvar]: Uninitialized variable: tflag
Error: COMPILER_WARNING (CWE-569): [#def101]
bash-5.2.37-build/bash-5.2/builtins/set.def: scope_hint: In function ‘parse_shellopts’
bash-5.2.37-build/bash-5.2/builtins/set.def:617:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def102]
bash-5.2.37-build/bash-5.2/builtins/set.def: scope_hint: In function ‘set_builtin’
bash-5.2.37-build/bash-5.2/builtins/set.def:742:18: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def103]
bash-5.2.37-build/bash-5.2/builtins/set.def: scope_hint: In function ‘unset_builtin’
bash-5.2.37-build/bash-5.2/builtins/set.def:946:15: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def104]
bash-5.2.37-build/bash-5.2/builtins/set.def:990:23: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-457): [#def105]
bash-5.2.37-build/bash-5.2/builtins/set.def:1013:10: warning[-Wmaybe-uninitialized]: ‘tem’ may be used uninitialized
bash-5.2.37-build/bash-5.2/builtins/set.def:882:11: note: ‘tem’ was declared here
Error: COMPILER_WARNING (CWE-569): [#def106]
bash-5.2.37-build/bash-5.2/builtins/setattr.def: scope_hint: In function ‘set_or_show_attributes’
bash-5.2.37-build/bash-5.2/builtins/setattr.def:320:23: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def107]
bash-5.2.37-build/bash-5.2/builtins/setattr.def:337:23: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def108]
bash-5.2.37-build/bash-5.2/builtins/setattr.def: scope_hint: In function ‘show_all_var_attributes’
bash-5.2.37-build/bash-5.2/builtins/setattr.def:364:28: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def109]
bash-5.2.37-build/bash-5.2/builtins/setattr.def:371:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def110]
bash-5.2.37-build/bash-5.2/builtins/setattr.def: scope_hint: In function ‘show_local_var_attributes’
bash-5.2.37-build/bash-5.2/builtins/setattr.def:392:28: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def111]
bash-5.2.37-build/bash-5.2/builtins/setattr.def:399:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def112]
bash-5.2.37-build/bash-5.2/builtins/shopt.def: scope_hint: In function ‘toggle_shopts’
bash-5.2.37-build/bash-5.2/builtins/shopt.def:482:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: GCC_ANALYZER_WARNING (CWE-457): [#def113]
bash-5.2.37-build/bash-5.2/builtins/shopt.def: scope_hint: In function ‘set_compatibility_level’
bash-5.2.37-build/bash-5.2/builtins/shopt.def:712:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘oldval’
Error: COMPILER_WARNING (CWE-457): [#def114]
bash-5.2.37-build/bash-5.2/builtins/shopt.def: scope_hint: In function ‘set_compatibility_level’
bash-5.2.37-build/bash-5.2/builtins/shopt.def:712:11: warning[-Wmaybe-uninitialized]: ‘oldval’ may be used uninitialized
bash-5.2.37-build/bash-5.2/builtins/shopt.def:677:12: note: ‘oldval’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def115]
bash-5.2.37-build/bash-5.2/builtins/shopt.def: scope_hint: In function ‘set_bashopts’
bash-5.2.37-build/bash-5.2/builtins/shopt.def:854:24: warning[-Wunused-variable]: unused variable ‘ip’
Error: CPPCHECK_WARNING (CWE-457): [#def116]
bash-5.2.37-build/bash-5.2/builtins/shopt.def:871: warning[uninitvar]: Uninitialized variable: tflag
Error: COMPILER_WARNING (CWE-569): [#def117]
bash-5.2.37-build/bash-5.2/builtins/shopt.def: scope_hint: In function ‘parse_bashopts’
bash-5.2.37-build/bash-5.2/builtins/shopt.def:915:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def118]
bash-5.2.37-build/bash-5.2/builtins/type.def: scope_hint: In function ‘describe_command’
bash-5.2.37-build/bash-5.2/builtins/type.def:338:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: GCC_ANALYZER_WARNING (CWE-688): [#def119]
bash-5.2.37-build/bash-5.2/builtins/type.def: scope_hint: In function ‘describe_command’
bash-5.2.37-build/bash-5.2/builtins/type.def:410:9: warning[-Wanalyzer-null-argument]: use of NULL ‘full_path’ where non-null expected
bash-5.2.37-build/bash-5.2/shell.h:29: included_from: Included from here.
bash-5.2.37-build/bash-5.2/builtins/type.def:66: included_from: Included from here.
bash-5.2.37-build/bash-5.2/builtins/type.def:374:11: note: in expansion of macro ‘STREQ’
<built-in>: note: argument 1 of ‘__builtin_puts’ must be non-null
Error: COMPILER_WARNING (CWE-1164): [#def120]
bash-5.2.37-build/bash-5.2/builtins/ulimit.def:783:1: warning[-Wunused-function]: ‘set_all_limits’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def121]
bash-5.2.37-build/bash-5.2/builtins/wait.def: scope_hint: In function ‘wait_builtin’
bash-5.2.37-build/bash-5.2/builtins/wait.def:117:14: warning[-Wunused-but-set-variable]: variable ‘pidvar’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def122]
bash-5.2.37-build/bash-5.2/builtins/wait.def: scope_hint: In function ‘set_waitlist’
bash-5.2.37-build/bash-5.2/builtins/wait.def:338:12: warning[-Wunused-variable]: unused variable ‘r’
Error: COMPILER_WARNING (CWE-569): [#def123]
bash-5.2.37-build/bash-5.2/eval.c: scope_hint: In function ‘reader_loop’
bash-5.2.37-build/bash-5.2/eval.c:148:20: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-252): [#def124]
bash-5.2.37-build/bash-5.2/eval.c: scope_hint: In function ‘alrm_catcher’
bash-5.2.37-build/bash-5.2/eval.c:245:3: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def125]
bash-5.2.37-build/bash-5.2/execute_cmd.c:281:12: warning[-Wunused-variable]: ‘connection_count’ defined but not used
Error: COMPILER_WARNING (CWE-457): [#def126]
bash-5.2.37-build/bash-5.2/execute_cmd.c: scope_hint: In function ‘execute_command_internal’
bash-5.2.37-build/bash-5.2/execute_cmd.c:1128:9: warning[-Wmaybe-uninitialized]: ‘ofifo_list’ may be used uninitialized
bash-5.2.37-build/bash-5.2/execute_cmd.c:592:18: note: ‘ofifo_list’ was declared here
Error: CPPCHECK_WARNING (CWE-457): [#def127]
bash-5.2.37-build/bash-5.2/execute_cmd.c:1405: error[uninitvar]: Uninitialized variable: save_top_level
Error: COMPILER_WARNING (CWE-1164): [#def128]
bash-5.2.37-build/bash-5.2/execute_cmd.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/execute_cmd.c:1787:13: warning[-Wunused-function]: ‘cpl_prune’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def129]
bash-5.2.37-build/bash-5.2/execute_cmd.c:1818:1: warning[-Wunused-function]: ‘cpl_add’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def130]
bash-5.2.37-build/bash-5.2/execute_cmd.c:1841:1: warning[-Wunused-function]: ‘cpl_delete’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def131]
bash-5.2.37-build/bash-5.2/execute_cmd.c:1874:1: warning[-Wunused-function]: ‘cpl_reap’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def132]
bash-5.2.37-build/bash-5.2/execute_cmd.c:1915:1: warning[-Wunused-function]: ‘cpl_flush’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def133]
bash-5.2.37-build/bash-5.2/execute_cmd.c:1933:1: warning[-Wunused-function]: ‘cpl_closeall’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def134]
bash-5.2.37-build/bash-5.2/execute_cmd.c:1942:1: warning[-Wunused-function]: ‘cpl_fdchk’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def135]
bash-5.2.37-build/bash-5.2/execute_cmd.c:1954:1: warning[-Wunused-function]: ‘cpl_search’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def136]
bash-5.2.37-build/bash-5.2/execute_cmd.c:1968:1: warning[-Wunused-function]: ‘cpl_searchbyname’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def137]
bash-5.2.37-build/bash-5.2/execute_cmd.c:1980:1: warning[-Wunused-function]: ‘cpl_firstactive’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def138]
bash-5.2.37-build/bash-5.2/execute_cmd.c:2075:1: warning[-Wunused-function]: ‘coproc_free’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def139]
bash-5.2.37-build/bash-5.2/execute_cmd.c:3204:12: warning[-Wunused-variable]: ‘LINES’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def140]
bash-5.2.37-build/bash-5.2/execute_cmd.c: scope_hint: In function ‘select_query’
bash-5.2.37-build/bash-5.2/execute_cmd.c:3341:23: warning[-Wunused-variable]: unused variable ‘t’
Error: COMPILER_WARNING (CWE-563): [#def141]
bash-5.2.37-build/bash-5.2/expr.c: scope_hint: In function ‘exppower’
bash-5.2.37-build/bash-5.2/expr.c:963:33: warning[-Wunused-variable]: unused variable ‘c’
Error: COMPILER_WARNING (CWE-1164): [#def142]
bash-5.2.37-build/bash-5.2/expr.c:1124:1: warning[-Wunused-function]: ‘alloc_lvalue’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def143]
bash-5.2.37-build/bash-5.2/expr.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/expr.c:1134:1: warning[-Wunused-function]: ‘free_lvalue’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def144]
bash-5.2.37-build/bash-5.2/expr.c: scope_hint: In function ‘readtok’
bash-5.2.37-build/bash-5.2/expr.c:1316:17: warning[-Wunused-variable]: unused variable ‘lval’
Error: COMPILER_WARNING (CWE-563): [#def145]
bash-5.2.37-build/bash-5.2/expr.c: scope_hint: In function ‘strlong’
bash-5.2.37-build/bash-5.2/expr.c:1552:17: warning[-Wunused-variable]: unused variable ‘pval’
Error: COMPILER_WARNING (CWE-569): [#def146]
bash-5.2.37-build/bash-5.2/findcmd.c: scope_hint: In function ‘_find_user_command_internal’
bash-5.2.37-build/bash-5.2/findcmd.c:269:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: CPPCHECK_WARNING (CWE-476): [#def147]
bash-5.2.37-build/bash-5.2/findcmd.c:492: warning[nullPointer]: Possible null pointer dereference: match_list
Error: COMPILER_WARNING (CWE-665): [#def148]
bash-5.2.37-build/bash-5.2/general.c:91:1: warning[-Wmissing-braces]: missing braces around initializer
Error: COMPILER_WARNING (CWE-569): [#def149]
bash-5.2.37-build/bash-5.2/general.c: scope_hint: In function ‘assignment’
bash-5.2.37-build/bash-5.2/general.c:459:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: GCC_ANALYZER_WARNING (CWE-688): [#def150]
bash-5.2.37-build/bash-5.2/shell.h:29: included_from: Included from here.
bash-5.2.37-build/bash-5.2/expr.c:84: included_from: Included from here.
bash-5.2.37-build/bash-5.2/expr.c: scope_hint: In function ‘readtok’
bash-5.2.37-build/bash-5.2/general.h:69:54: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
bash-5.2.37-build/bash-5.2/expr.c:1369:16: note: in expansion of macro ‘savestring’
bash-5.2.37-build/bash-5.2/expr.c: scope_hint: In function ‘readtok’
bash-5.2.37-build/bash-5.2/expr.c: scope_hint: In function ‘readtok’
bash-5.2.37-build/bash-5.2/expr.c: scope_hint: In function ‘readtok’
bash-5.2.37-build/bash-5.2/expr.c: scope_hint: In function ‘readtok’
bash-5.2.37-build/bash-5.2/expr.c:93:27: note: in expansion of macro ‘whitespace’
bash-5.2.37-build/bash-5.2/expr.c:1321:30: note: in expansion of macro ‘cr_whitespace’
bash-5.2.37-build/bash-5.2/general.h:172:27: note: in definition of macro ‘FREE’
bash-5.2.37-build/bash-5.2/expr.c:1368:7: note: in expansion of macro ‘FREE’
bash-5.2.37-build/bash-5.2/expr.c:1369:16: note: in expansion of macro ‘savestring’
bash-5.2.37-build/bash-5.2/expr.c:1369:16: note: in expansion of macro ‘savestring’
bash-5.2.37-build/bash-5.2/expr.c:1373:7: note: in expansion of macro ‘SAVETOK’
bash-5.2.37-build/bash-5.2/expr.c:1373:7: note: in expansion of macro ‘SAVETOK’
bash-5.2.37-build/bash-5.2/expr.c:1369:16: note: in expansion of macro ‘savestring’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def151]
bash-5.2.37-build/bash-5.2/shell.h:29: included_from: Included from here.
bash-5.2.37-build/bash-5.2/bashline.c:47: included_from: Included from here.
bash-5.2.37-build/bash-5.2/bashline.c: scope_hint: In function ‘bash_directory_expansion’
bash-5.2.37-build/bash-5.2/general.h:69:54: warning[-Wanalyzer-null-argument]: use of NULL ‘dh2’ where non-null expected
bash-5.2.37-build/bash-5.2/bashline.c:3263:7: note: in expansion of macro ‘savestring’
bash-5.2.37-build/bash-5.2/bashline.c:3263:7: note: in expansion of macro ‘savestring’
bash-5.2.37-build/bash-5.2/bashline.c:3263:7: note: in expansion of macro ‘savestring’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def152]
bash-5.2.37-build/bash-5.2/shell.h:29: included_from: Included from here.
bash-5.2.37-build/bash-5.2/make_cmd.c:37: included_from: Included from here.
bash-5.2.37-build/bash-5.2/make_cmd.c: scope_hint: In function ‘make_here_document’
bash-5.2.37-build/bash-5.2/general.h:152:30: warning[-Wanalyzer-null-argument]: use of NULL ‘document’ where non-null expected
bash-5.2.37-build/bash-5.2/make_cmd.c:665:7: note: in expansion of macro ‘FASTCOPY’
bash-5.2.37-build/bash-5.2/make_cmd.c:665:7: note: in expansion of macro ‘FASTCOPY’
bash-5.2.37-build/bash-5.2/general.h:152:49: note: in definition of macro ‘FASTCOPY’
bash-5.2.37-build/bash-5.2/make_cmd.c:665:7: note: in expansion of macro ‘FASTCOPY’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: COMPILER_WARNING: [#def153]
bash-5.2.37-build/bash-5.2/general.h:168:41: warning[-Wuse-after-free]: pointer ‘nestret_426’ may be used after ‘free’
bash-5.2.37-build/bash-5.2/parse.y:3902:19: note: call to ‘free’ here
Error: COMPILER_WARNING: [#def154]
bash-5.2.37-build/bash-5.2/general.h:168:41: warning[-Wuse-after-free]: pointer ‘ttok_1105’ may be used after ‘free’
bash-5.2.37-build/bash-5.2/parse.y:5099:19: note: call to ‘free’ here
Error: COMPILER_WARNING: [#def155]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘parse_matched_pair’
bash-5.2.37-build/bash-5.2/general.h:168:58: warning[-Wuse-after-free]: pointer ‘nestret_426’ may be used after ‘free’
bash-5.2.37-build/bash-5.2/parse.y:3902:19: note: call to ‘free’ here
Error: COMPILER_WARNING: [#def156]
bash-5.2.37-build/bash-5.2/shell.h:29: included_from: Included from here.
bash-5.2.37-build/bash-5.2/parse.y:47: included_from: Included from here.
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘read_token_word’
bash-5.2.37-build/bash-5.2/general.h:168:58: warning[-Wuse-after-free]: pointer ‘ttok_1105’ may be used after ‘free’
bash-5.2.37-build/bash-5.2/parse.y:5099:19: note: call to ‘free’ here
Error: COMPILER_WARNING (CWE-457): [#def157]
bash-5.2.37-build/bash-5.2/shell.h:29: included_from: Included from here.
bash-5.2.37-build/bash-5.2/subst.c:46: included_from: Included from here.
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘parameter_brace_expand_length’
bash-5.2.37-build/bash-5.2/general.h:171:78: warning[-Wmaybe-uninitialized]: ‘t’ may be used uninitialized
bash-5.2.37-build/bash-5.2/subst.c:7995:9: note: ‘t’ was declared here
Error: COMPILER_WARNING (CWE-1164): [#def158]
bash-5.2.37-build/bash-5.2/hashlib.c:169:1: warning[-Wunused-function]: ‘hash_shrink’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def159]
bash-5.2.37-build/bash-5.2/jobs.c: scope_hint: In function ‘procsub_waitall’
bash-5.2.37-build/bash-5.2/jobs.c:1103:7: warning[-Wunused-but-set-variable]: variable ‘r’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def160]
bash-5.2.37-build/bash-5.2/jobs.c:1136:20: warning[-Wunused-but-set-variable]: variable ‘oend’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def161]
bash-5.2.37-build/bash-5.2/jobs.c: scope_hint: In function ‘procsub_prune’
bash-5.2.37-build/bash-5.2/jobs.c:1137:7: warning[-Wunused-but-set-variable]: variable ‘onproc’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def162]
bash-5.2.37-build/bash-5.2/jobs.c: scope_hint: In function ‘cleanup_dead_jobs’
bash-5.2.37-build/bash-5.2/jobs.c:1214:12: warning[-Wunused-variable]: unused variable ‘discard’
Error: COMPILER_WARNING (CWE-569): [#def163]
bash-5.2.37-build/bash-5.2/jobs.c: scope_hint: In function ‘nohup_job’
bash-5.2.37-build/bash-5.2/jobs.c:1457:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def164]
bash-5.2.37-build/bash-5.2/jobs.c:2126:23: warning[-Wunused-variable]: unused variable ‘termset’
Error: COMPILER_WARNING (CWE-563): [#def165]
bash-5.2.37-build/bash-5.2/jobs.c: scope_hint: In function ‘make_child’
bash-5.2.37-build/bash-5.2/jobs.c:2126:32: warning[-Wunused-variable]: unused variable ‘chldset’
Error: COMPILER_WARNING (CWE-457): [#def166]
bash-5.2.37-build/bash-5.2/jobs.c: scope_hint: In function ‘make_child’
bash-5.2.37-build/bash-5.2/jobs.c:2186:7: warning[-Wmaybe-uninitialized]: ‘oterm’ may be used uninitialized
bash-5.2.37-build/bash-5.2/jobs.c:2128:15: note: ‘oterm’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
bash-5.2.37-build/bash-5.2/jobs.c:2575:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
bash-5.2.37-build/bash-5.2/jobs.c: scope_hint: In function ‘notify_of_job_status.part.0’
bash-5.2.37-build/bash-5.2/jobs.c: scope_hint: In function ‘notify_of_job_status.part.0’
Error: COMPILER_WARNING (CWE-563): [#def168]
bash-5.2.37-build/bash-5.2/jobs.c: scope_hint: In function ‘wait_for_background_pids’
bash-5.2.37-build/bash-5.2/jobs.c:2652:20: warning[-Wunused-but-set-variable]: variable ‘check_async’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def169]
bash-5.2.37-build/bash-5.2/jobs.c: scope_hint: In function ‘sigchld_handler’
bash-5.2.37-build/bash-5.2/jobs.c:3749:7: warning[-Wunused-but-set-variable]: variable ‘n’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def170]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:204:27: warning[-Wunused-but-set-variable]: variable ‘nullpat’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def171]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c: scope_hint: In function ‘extglob_skipname’
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:237:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-457): [#def172]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:257:12: warning[-Wmaybe-uninitialized]: ‘r’ may be used uninitialized
bash-5.2.37-build/bash-5.2/lib/glob/glob.c: scope_hint: In function ‘skipname.isra.0’
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:204:10: note: ‘r’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def173]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c: scope_hint: In function ‘skipname’
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:275:7: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-563): [#def174]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c: scope_hint: In function ‘wskipname’
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:317:7: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-563): [#def175]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:355:24: warning[-Wunused-but-set-variable]: variable ‘nullpat’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def176]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c: scope_hint: In function ‘wextglob_skipname’
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:385:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def177]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:503:7: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-563): [#def178]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c: scope_hint: In function ‘wdequote_pathname’
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:503:10: warning[-Wunused-variable]: unused variable ‘j’
Error: COMPILER_WARNING (CWE-563): [#def179]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c: scope_hint: In function ‘finddirs’
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:606:14: warning[-Wunused-variable]: unused variable ‘n’
Error: COMPILER_WARNING (CWE-563): [#def180]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c: scope_hint: In function ‘glob_filename’
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:1339:19: warning[-Wunused-variable]: unused variable ‘dlen’
Error: CPPCHECK_WARNING (CWE-758): [#def181]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:1425: warning[objectIndex]: The address of variable 'glob_error_return' might be accessed at non-zero index.
Error: CPPCHECK_WARNING (CWE-758): [#def182]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:1432: warning[objectIndex]: The address of variable 'glob_error_return' might be accessed at non-zero index.
Error: CPPCHECK_WARNING (CWE-758): [#def183]
bash-5.2.37-build/bash-5.2/lib/glob/glob.c:1433: warning[objectIndex]: The address of variable 'glob_error_return' might be accessed at non-zero index.
Error: COMPILER_WARNING (CWE-563): [#def184]
bash-5.2.37-build/bash-5.2/lib/glob/gm_loop.c:79:25: warning[-Wunused-variable]: unused variable ‘t’
Error: COMPILER_WARNING (CWE-569): [#def185]
bash-5.2.37-build/bash-5.2/lib/glob/gmisc.c:57: included_from: Included from here.
bash-5.2.37-build/bash-5.2/lib/glob/gm_loop.c: scope_hint: In function ‘umatchlen’
bash-5.2.37-build/bash-5.2/lib/glob/gm_loop.c:85:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def186]
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c:340: included_from: Included from here.
bash-5.2.37-build/bash-5.2/lib/glob/sm_loop.c: scope_hint: In function ‘brackmatch’
bash-5.2.37-build/bash-5.2/lib/glob/sm_loop.c:434:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def187]
bash-5.2.37-build/bash-5.2/lib/glob/sm_loop.c: scope_hint: In function ‘glob_patscan’
bash-5.2.37-build/bash-5.2/lib/glob/sm_loop.c:713:20: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def188]
bash-5.2.37-build/bash-5.2/lib/glob/sm_loop.c: scope_hint: In function ‘extmatch’
bash-5.2.37-build/bash-5.2/lib/glob/sm_loop.c:924:19: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def189]
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c: scope_hint: In function ‘charcmp’
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c:108:7: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-563): [#def190]
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c: scope_hint: In function ‘charcmp_wc’
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c:396:7: warning[-Wunused-variable]: unused variable ‘r’
Error: COMPILER_WARNING (CWE-569): [#def191]
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c: scope_hint: In function ‘posix_cclass_only’
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c:535:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def192]
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c:610:10: warning[-Wunused-variable]: unused variable ‘plen’
Error: COMPILER_WARNING (CWE-563): [#def193]
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c:610:16: warning[-Wunused-variable]: unused variable ‘slen’
Error: COMPILER_WARNING (CWE-563): [#def194]
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c:610:22: warning[-Wunused-variable]: unused variable ‘mplen’
Error: COMPILER_WARNING (CWE-563): [#def195]
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c: scope_hint: In function ‘xstrmatch’
bash-5.2.37-build/bash-5.2/lib/glob/smatch.c:610:29: warning[-Wunused-variable]: unused variable ‘mslen’
Error: CPPCHECK_WARNING (CWE-456): [#def196]
bash-5.2.37-build/bash-5.2/lib/glob/xmbsrtowcs.c:94: error[uninitdata]: Memory is allocated but not initialized: wsbuf
Error: GCC_ANALYZER_WARNING (CWE-476): [#def197]
bash-5.2.37-build/bash-5.2/lib/glob/xmbsrtowcs.c: scope_hint: In function ‘xdupmbstowcs2’
bash-5.2.37-build/bash-5.2/lib/glob/xmbsrtowcs.c:226:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wsbuf’
Error: COMPILER_WARNING (CWE-563): [#def198]
bash-5.2.37-build/bash-5.2/lib/glob/xmbsrtowcs.c:429:13: warning[-Wunused-variable]: unused variable ‘prev_state’
Error: COMPILER_WARNING (CWE-1164): [#def199]
bash-5.2.37-build/bash-5.2/lib/glob/xmbsrtowcs.c: scope_hint: In function ‘xwcsrtombs’
bash-5.2.37-build/bash-5.2/lib/glob/xmbsrtowcs.c:456:1: warning[-Wunused-label]: label ‘handle_byte’ defined but not used
Error: COMPILER_WARNING (CWE-569): [#def200]
bash-5.2.37-build/bash-5.2/lib/readline/bind.c: scope_hint: In function ‘_rl_skip_to_delim’
bash-5.2.37-build/bash-5.2/lib/readline/bind.c:1581:29: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def201]
bash-5.2.37-build/bash-5.2/lib/readline/bind.c: scope_hint: In function ‘rl_parse_and_bind’
bash-5.2.37-build/bash-5.2/lib/readline/bind.c:1675:11: warning[-Wunused-variable]: unused variable ‘s’
Error: COMPILER_WARNING (CWE-569): [#def202]
bash-5.2.37-build/bash-5.2/lib/readline/bind.c: scope_hint: In function ‘rl_function_dumper’
bash-5.2.37-build/bash-5.2/lib/readline/bind.c:2805:15: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-457): [#def203]
bash-5.2.37-build/bash-5.2/lib/readline/complete.c: scope_hint: In function ‘print_filename’
bash-5.2.37-build/bash-5.2/lib/readline/complete.c:1043:22: warning[-Wmaybe-uninitialized]: ‘printed_len’ may be used uninitialized
bash-5.2.37-build/bash-5.2/lib/readline/complete.c:936:7: note: ‘printed_len’ was declared here
Error: COMPILER_WARNING (CWE-569): [#def204]
bash-5.2.37-build/bash-5.2/lib/readline/complete.c: scope_hint: In function ‘_rl_find_completion_word’
bash-5.2.37-build/bash-5.2/lib/readline/complete.c:1151:14: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: CPPCHECK_WARNING (CWE-562): [#def205]
bash-5.2.37-build/bash-5.2/lib/readline/complete.c:1280: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: COMPILER_WARNING (CWE-563): [#def206]
bash-5.2.37-build/bash-5.2/lib/readline/complete.c: scope_hint: In function ‘compute_lcd_of_matches’
bash-5.2.37-build/bash-5.2/lib/readline/complete.c:1323:7: warning[-Wunused-variable]: unused variable ‘v’
Error: COMPILER_WARNING (CWE-457): [#def207]
bash-5.2.37-build/bash-5.2/lib/readline/complete.c: scope_hint: In function ‘rl_complete_internal’
bash-5.2.37-build/bash-5.2/lib/readline/complete.c:2104:14: warning[-Wmaybe-uninitialized]: ‘tlen’ may be used uninitialized
bash-5.2.37-build/bash-5.2/lib/readline/complete.c:2007:7: note: ‘tlen’ was declared here
Error: COMPILER_WARNING (CWE-569): [#def208]
bash-5.2.37-build/bash-5.2/lib/readline/complete.c: scope_hint: In function ‘rl_completion_matches’
bash-5.2.37-build/bash-5.2/lib/readline/complete.c:2235:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def209]
bash-5.2.37-build/bash-5.2/lib/readline/complete.c: scope_hint: In function ‘rl_username_completion_function’
bash-5.2.37-build/bash-5.2/lib/readline/complete.c:2307:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def210]
bash-5.2.37-build/bash-5.2/lib/readline/complete.c: scope_hint: In function ‘rl_menu_complete’
bash-5.2.37-build/bash-5.2/lib/readline/complete.c:2844:25: warning[-Wunused-variable]: unused variable ‘cstate’
Error: COMPILER_WARNING (CWE-563): [#def211]
bash-5.2.37-build/bash-5.2/lib/readline/display.c:767:29: warning[-Wunused-variable]: unused variable ‘n0’
Error: COMPILER_WARNING (CWE-563): [#def212]
bash-5.2.37-build/bash-5.2/lib/readline/display.c:767:33: warning[-Wunused-but-set-variable]: variable ‘num’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def213]
bash-5.2.37-build/bash-5.2/lib/readline/display.c: scope_hint: In function ‘rl_redisplay’
bash-5.2.37-build/bash-5.2/lib/readline/display.c:767:38: warning[-Wunused-but-set-variable]: variable ‘prompt_lines_estimate’ set but not used
Error: COMPILER_WARNING (CWE-457): [#def214]
bash-5.2.37-build/bash-5.2/lib/readline/display.c: scope_hint: In function ‘rl_redisplay’
bash-5.2.37-build/bash-5.2/lib/readline/display.c:1147:42: warning[-Wmaybe-uninitialized]: ‘wc_width’ may be used uninitialized
bash-5.2.37-build/bash-5.2/lib/readline/display.c:775:7: note: ‘wc_width’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def215]
bash-5.2.37-build/bash-5.2/lib/readline/display.c:1655:39: warning[-Wunused-variable]: unused variable ‘twidth’
Error: COMPILER_WARNING (CWE-563): [#def216]
bash-5.2.37-build/bash-5.2/lib/readline/display.c:1786:19: warning[-Wunused-variable]: unused variable ‘count’
Error: COMPILER_WARNING (CWE-563): [#def217]
bash-5.2.37-build/bash-5.2/lib/readline/display.c: scope_hint: In function ‘update_line’
bash-5.2.37-build/bash-5.2/lib/readline/display.c:1787:21: warning[-Wunused-variable]: unused variable ‘optr’
Error: COMPILER_WARNING (CWE-563): [#def218]
bash-5.2.37-build/bash-5.2/lib/readline/display.c: scope_hint: In function ‘rl_forced_update_display’
bash-5.2.37-build/bash-5.2/lib/readline/display.c:2683:18: warning[-Wunused-variable]: unused variable ‘temp’
Error: COMPILER_WARNING (CWE-1164): [#def219]
bash-5.2.37-build/bash-5.2/lib/readline/display.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/lib/readline/display.c:3236:1: warning[-Wunused-function]: ‘insert_some_chars’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-688): [#def220]
bash-5.2.37-build/bash-5.2/lib/readline/funmap.c: scope_hint: In function ‘rl_funmap_names’
bash-5.2.37-build/bash-5.2/lib/readline/funmap.c:271:3: warning[-Wanalyzer-null-argument]: use of NULL ‘result’ where non-null expected
bash-5.2.37-build/bash-5.2/lib/readline/funmap.c:33: included_from: Included from here.
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
Error: COMPILER_WARNING (CWE-569): [#def221]
bash-5.2.37-build/bash-5.2/lib/readline/histexpand.c: scope_hint: In function ‘get_history_event’
bash-5.2.37-build/bash-5.2/lib/readline/histexpand.c:213:25: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def222]
bash-5.2.37-build/bash-5.2/lib/readline/histexpand.c: scope_hint: In function ‘history_expand_internal’
bash-5.2.37-build/bash-5.2/lib/readline/histexpand.c:682:48: warning[-Wunused-but-set-variable]: variable ‘ws’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-688): [#def223]
bash-5.2.37-build/bash-5.2/lib/readline/histexpand.c: scope_hint: In function ‘history_arg_extract’
bash-5.2.37-build/bash-5.2/lib/readline/histexpand.c:1452:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
bash-5.2.37-build/bash-5.2/lib/readline/histexpand.c: scope_hint: In function ‘history_arg_extract’
bash-5.2.37-build/bash-5.2/lib/readline/histexpand.c:46: included_from: Included from here.
bash-5.2.37-build/bash-5.2/lib/readline/histexpand.c:1484:7: note: in expansion of macro ‘member’
bash-5.2.37-build/bash-5.2/lib/readline/histexpand.c:1484:7: note: in expansion of macro ‘member’
bash-5.2.37-build/bash-5.2/lib/readline/histexpand.c: scope_hint: In function ‘history_arg_extract’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: COMPILER_WARNING (CWE-1164): [#def224]
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c:187:1: warning[-Wunused-function]: ‘history_backupfile’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def225]
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c: scope_hint: In function ‘history_backupfile’
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c:193:15: warning[-Wunused-variable]: unused variable ‘fs’
Error: COMPILER_WARNING (CWE-563): [#def226]
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c: scope_hint: In function ‘history_tempfile’
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c:221:15: warning[-Wunused-variable]: unused variable ‘fs’
Error: COMPILER_WARNING (CWE-1164): [#def227]
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c:473:1: warning[-Wunused-function]: ‘histfile_backup’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def228]
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c: scope_hint: In function ‘history_truncate_file’
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c:521:49: warning[-Wunused-but-set-variable]: variable ‘r’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def229]
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c: scope_hint: In function ‘history_truncate_file’
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c:646:46: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘orig_lines’
Error: COMPILER_WARNING (CWE-457): [#def230]
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c: scope_hint: In function ‘history_truncate_file’
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c:646:46: warning[-Wmaybe-uninitialized]: ‘orig_lines’ may be used uninitialized
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c:521:29: note: ‘orig_lines’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def231]
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c: scope_hint: In function ‘history_do_write’
bash-5.2.37-build/bash-5.2/lib/readline/histfile.c:683:22: warning[-Wunused-variable]: unused variable ‘nfinfo’
Error: COMPILER_WARNING (CWE-563): [#def232]
bash-5.2.37-build/bash-5.2/lib/readline/history.c: scope_hint: In function ‘add_history’
bash-5.2.37-build/bash-5.2/lib/readline/history.c:286:20: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-563): [#def233]
bash-5.2.37-build/bash-5.2/lib/readline/history.c: scope_hint: In function ‘remove_history’
bash-5.2.37-build/bash-5.2/lib/readline/history.c:489:16: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-569): [#def234]
bash-5.2.37-build/bash-5.2/lib/readline/histsearch.c: scope_hint: In function ‘_hs_history_patsearch’
bash-5.2.37-build/bash-5.2/lib/readline/histsearch.c:212:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def235]
bash-5.2.37-build/bash-5.2/lib/readline/input.c: scope_hint: In function ‘rl_read_key’
bash-5.2.37-build/bash-5.2/lib/readline/input.c:766:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def236]
bash-5.2.37-build/bash-5.2/lib/readline/input.c:811:12: warning[-Wunused-variable]: unused variable ‘empty_set’
Error: COMPILER_WARNING (CWE-1164): [#def237]
bash-5.2.37-build/bash-5.2/lib/readline/input.c: scope_hint: In function ‘rl_getc’
bash-5.2.37-build/bash-5.2/lib/readline/input.c:882:1: warning[-Wunused-label]: label ‘handle_error’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def238]
bash-5.2.37-build/bash-5.2/lib/readline/isearch.c: scope_hint: In function ‘_rl_isearch_dispatch’
bash-5.2.37-build/bash-5.2/lib/readline/isearch.c:343:37: warning[-Wunused-variable]: unused variable ‘incr’
Error: COMPILER_WARNING (CWE-563): [#def239]
bash-5.2.37-build/bash-5.2/lib/readline/isearch.c: scope_hint: In function ‘rl_search_history’
bash-5.2.37-build/bash-5.2/lib/readline/isearch.c:848:7: warning[-Wunused-but-set-variable]: variable ‘c’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def240]
bash-5.2.37-build/bash-5.2/lib/readline/isearch.c: scope_hint: In function ‘_rl_isearch_callback’
bash-5.2.37-build/bash-5.2/lib/readline/isearch.c:885:7: warning[-Wunused-but-set-variable]: variable ‘c’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-674): [#def241]
bash-5.2.37-build/bash-5.2/lib/readline/kill.c: scope_hint: In function ‘rl_backward_kill_word’
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:202:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
Error: GCC_ANALYZER_WARNING (CWE-674): [#def242]
bash-5.2.37-build/bash-5.2/lib/readline/kill.c: scope_hint: In function ‘rl_kill_word’
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:225:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
Error: GCC_ANALYZER_WARNING (CWE-674): [#def243]
bash-5.2.37-build/bash-5.2/lib/readline/kill.c: scope_hint: In function ‘rl_copy_backward_word’
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:494:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
Error: GCC_ANALYZER_WARNING (CWE-674): [#def244]
bash-5.2.37-build/bash-5.2/lib/readline/kill.c: scope_hint: In function ‘rl_copy_forward_word’
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:503:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
Error: COMPILER_WARNING (CWE-563): [#def245]
bash-5.2.37-build/bash-5.2/lib/readline/kill.c: scope_hint: In function ‘rl_vi_yank_pop’
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:562:13: warning[-Wunused-variable]: unused variable ‘origpoint’
Error: COMPILER_WARNING (CWE-563): [#def246]
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:759:15: warning[-Wunused-variable]: unused variable ‘c’
Error: COMPILER_WARNING (CWE-563): [#def247]
bash-5.2.37-build/bash-5.2/lib/readline/kill.c: scope_hint: In function ‘rl_bracketed_paste_begin’
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:760:15: warning[-Wunused-variable]: unused variable ‘cap’
Error: COMPILER_WARNING (CWE-563): [#def248]
bash-5.2.37-build/bash-5.2/lib/readline/kill.c: scope_hint: In function ‘_rl_read_bracketed_paste_prefix’
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:777:17: warning[-Wunused-variable]: unused variable ‘j’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def249]
bash-5.2.37-build/bash-5.2/lib/readline/kill.c: scope_hint: In function ‘_rl_read_bracketed_paste_prefix’
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:800:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘key’
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:46: included_from: Included from here.
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:784:11: note: in expansion of macro ‘RL_ISSTATE’
Error: COMPILER_WARNING (CWE-457): [#def250]
bash-5.2.37-build/bash-5.2/lib/readline/kill.c: scope_hint: In function ‘_rl_read_bracketed_paste_prefix’
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:800:29: warning[-Wmaybe-uninitialized]: ‘key’ may be used uninitialized
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:777:7: note: ‘key’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def251]
bash-5.2.37-build/bash-5.2/lib/readline/kill.c: scope_hint: In function ‘_rl_bracketed_read_mbstring’
bash-5.2.37-build/bash-5.2/lib/readline/kill.c:849:10: warning[-Wunused-variable]: unused variable ‘r’
Error: COMPILER_WARNING (CWE-1164): [#def252]
bash-5.2.37-build/bash-5.2/lib/readline/mbutil.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/lib/readline/mbutil.c:87:1: warning[-Wunused-function]: ‘_rl_utf8_mblen’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def253]
bash-5.2.37-build/bash-5.2/lib/readline/mbutil.c: scope_hint: In function ‘_rl_find_prev_utf8char’
bash-5.2.37-build/bash-5.2/lib/readline/mbutil.c:247:9: warning[-Wunused-variable]: unused variable ‘s’
Error: COMPILER_WARNING (CWE-563): [#def254]
bash-5.2.37-build/bash-5.2/lib/readline/misc.c: scope_hint: In function ‘_rl_free_saved_history_line’
bash-5.2.37-build/bash-5.2/lib/readline/misc.c:385:14: warning[-Wunused-variable]: unused variable ‘orig’
Error: COMPILER_WARNING (CWE-569): [#def255]
bash-5.2.37-build/bash-5.2/lib/readline/misc.c: scope_hint: In function ‘_rl_revert_previous_lines’
bash-5.2.37-build/bash-5.2/lib/readline/misc.c:460:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def256]
bash-5.2.37-build/bash-5.2/lib/readline/misc.c: scope_hint: In function ‘rl_clear_history’
bash-5.2.37-build/bash-5.2/lib/readline/misc.c:520:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def257]
bash-5.2.37-build/bash-5.2/lib/readline/nls.c: scope_hint: In function ‘utf8locale’
bash-5.2.37-build/bash-5.2/lib/readline/nls.c:110:10: warning[-Wunused-variable]: unused variable ‘len’
Error: COMPILER_WARNING (CWE-1164): [#def258]
bash-5.2.37-build/bash-5.2/lib/readline/nls.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/lib/readline/nls.c:286:1: warning[-Wunused-function]: ‘find_codeset’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def259]
bash-5.2.37-build/bash-5.2/lib/readline/parens.c: scope_hint: In function ‘rl_insert_close’
bash-5.2.37-build/bash-5.2/lib/readline/parens.c:118:36: warning[-Wunused-but-set-variable]: variable ‘ready’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def260]
bash-5.2.37-build/bash-5.2/lib/readline/readline.c:76: included_from: Included from here.
bash-5.2.37-build/bash-5.2/lib/readline/parse-colors.h:44:14: warning[-Wunused-variable]: ‘color_buf’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def261]
bash-5.2.37-build/bash-5.2/lib/readline/readline.c:567:21: warning[-Wunused-variable]: unused variable ‘eof_found’
Error: COMPILER_WARNING (CWE-563): [#def262]
bash-5.2.37-build/bash-5.2/lib/readline/readline.c: scope_hint: In function ‘readline_internal_char’
bash-5.2.37-build/bash-5.2/lib/readline/readline.c:568:20: warning[-Wunused-but-set-variable]: variable ‘r’ set but not used
Error: COMPILER_WARNING (CWE-1164): [#def263]
bash-5.2.37-build/bash-5.2/lib/readline/readline.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/lib/readline/readline.c:1343:1: warning[-Wunused-function]: ‘reset_default_bindings’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def264]
bash-5.2.37-build/bash-5.2/lib/readline/search.c:533:7: warning[-Wunused-but-set-variable]: variable ‘had_saved_line’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def265]
bash-5.2.37-build/bash-5.2/lib/readline/search.c: scope_hint: In function ‘rl_history_search_internal’
bash-5.2.37-build/bash-5.2/lib/readline/search.c:534:9: warning[-Wunused-variable]: unused variable ‘t’
Error: COMPILER_WARNING (CWE-563): [#def266]
bash-5.2.37-build/bash-5.2/lib/readline/shell.c:125:13: warning[-Wunused-variable]: ‘putenv_buf1’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def267]
bash-5.2.37-build/bash-5.2/lib/readline/shell.c:126:13: warning[-Wunused-variable]: ‘putenv_buf2’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def268]
bash-5.2.37-build/bash-5.2/lib/readline/signals.c: scope_hint: In function ‘rl_set_signals’
bash-5.2.37-build/bash-5.2/lib/readline/signals.c:414:25: warning[-Wunused-variable]: unused variable ‘oset’
Error: COMPILER_WARNING (CWE-563): [#def269]
bash-5.2.37-build/bash-5.2/lib/readline/signals.c:625:17: warning[-Wunused-variable]: ‘sigint_set’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def270]
bash-5.2.37-build/bash-5.2/lib/readline/signals.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/lib/readline/signals.c:625:29: warning[-Wunused-variable]: ‘sigint_oset’ defined but not used
Error: COMPILER_WARNING: [#def271]
bash-5.2.37-build/bash-5.2/lib/readline/text.c: scope_hint: In function ‘rl_insert_text’
bash-5.2.37-build/bash-5.2/lib/readline/text.c:101:3: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length
bash-5.2.37-build/bash-5.2/lib/readline/text.c:91:29: note: length computed here
Error: GCC_ANALYZER_WARNING (CWE-674): [#def272]
bash-5.2.37-build/bash-5.2/lib/readline/text.c: scope_hint: In function ‘rl_forward_byte’
bash-5.2.37-build/bash-5.2/lib/readline/text.c:397:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
Error: COMPILER_WARNING (CWE-569): [#def273]
bash-5.2.37-build/bash-5.2/lib/readline/tilde.c: scope_hint: In function ‘tilde_expand’
bash-5.2.37-build/bash-5.2/lib/readline/tilde.c:195:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def274]
bash-5.2.37-build/bash-5.2/lib/readline/undo.c: scope_hint: In function ‘rl_free_undo_list’
bash-5.2.37-build/bash-5.2/lib/readline/undo.c:119:14: warning[-Wunused-variable]: unused variable ‘release’
Error: CPPCHECK_WARNING (CWE-457): [#def275]
bash-5.2.37-build/bash-5.2/lib/readline/undo.c:154: warning[uninitvar]: Uninitialized variable: roving
Error: COMPILER_WARNING (CWE-563): [#def276]
bash-5.2.37-build/bash-5.2/lib/readline/vi_mode.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/lib/readline/vi_mode.c:104:12: warning[-Wunused-variable]: ‘vi_continued_command’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def277]
bash-5.2.37-build/bash-5.2/lib/readline/vi_mode.c: scope_hint: In function ‘rl_vi_fword’
bash-5.2.37-build/bash-5.2/lib/readline/vi_mode.c:622:7: warning[-Wunused-but-set-variable]: variable ‘opoint’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def278]
bash-5.2.37-build/bash-5.2/lib/readline/vi_mode.c: scope_hint: In function ‘rl_vi_domove’
bash-5.2.37-build/bash-5.2/lib/readline/vi_mode.c:1343:7: warning[-Wunused-variable]: unused variable ‘r’
Error: COMPILER_WARNING: [#def279]
bash-5.2.37-build/bash-5.2/lib/readline/vi_mode.c: scope_hint: In function ‘rl_vi_change_char’
bash-5.2.37-build/bash-5.2/lib/readline/vi_mode.c:2069:7: warning[-Wstringop-truncation]: ‘strncpy’ output may be truncated copying 16 bytes from a string of length 16
Error: COMPILER_WARNING (CWE-563): [#def280]
bash-5.2.37-build/bash-5.2/lib/sh/casemod.c: scope_hint: In function ‘sh_modcase’
bash-5.2.37-build/bash-5.2/lib/sh/casemod.c:107:15: warning[-Wunused-variable]: unused variable ‘c’
Error: COMPILER_WARNING (CWE-1164): [#def281]
bash-5.2.37-build/bash-5.2/lib/sh/eaccess.c:176:1: warning[-Wunused-function]: ‘sh_euidaccess’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def282]
bash-5.2.37-build/bash-5.2/lib/sh/fnxform.c:49:14: warning[-Wunused-variable]: ‘outbuf’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def283]
bash-5.2.37-build/bash-5.2/lib/sh/fnxform.c:50:15: warning[-Wunused-variable]: ‘outlen’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def284]
bash-5.2.37-build/bash-5.2/lib/sh/fnxform.c:80:1: warning[-Wunused-function]: ‘init_tofs’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def285]
bash-5.2.37-build/bash-5.2/lib/sh/fnxform.c:89:1: warning[-Wunused-function]: ‘init_fromfs’ defined but not used
Error: COMPILER_WARNING: [#def286]
bash-5.2.37-build/bash-5.2/lib/sh/getenv.c: scope_hint: In function ‘getenv’
bash-5.2.37-build/bash-5.2/lib/sh/getenv.c:55:6: warning[-Wnonnull-compare]: ‘nonnull’ argument ‘name’ compared to NULL
Error: COMPILER_WARNING: [#def287]
bash-5.2.37-build/bash-5.2/lib/sh/getenv.c: scope_hint: In function ‘putenv’
bash-5.2.37-build/bash-5.2/lib/sh/getenv.c:112:6: warning[-Wnonnull-compare]: ‘nonnull’ argument ‘str’ compared to NULL
Error: COMPILER_WARNING: [#def288]
bash-5.2.37-build/bash-5.2/lib/sh/getenv.c: scope_hint: In function ‘unsetenv’
bash-5.2.37-build/bash-5.2/lib/sh/getenv.c:214:6: warning[-Wnonnull-compare]: ‘nonnull’ argument ‘name’ compared to NULL
Error: COMPILER_WARNING (CWE-569): [#def289]
bash-5.2.37-build/bash-5.2/lib/sh/makepath.c: scope_hint: In function ‘sh_makepath’
bash-5.2.37-build/bash-5.2/lib/sh/makepath.c:123:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: CPPCHECK_WARNING (CWE-457): [#def290]
bash-5.2.37-build/bash-5.2/lib/sh/netopen.c:267: warning[uninitvar]: Uninitialized variable: s
Error: COMPILER_WARNING (CWE-569): [#def291]
bash-5.2.37-build/bash-5.2/lib/sh/pathcanon.c: scope_hint: In function ‘sh_canonpath’
bash-5.2.37-build/bash-5.2/lib/sh/pathcanon.c:117:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-704): [#def292]
bash-5.2.37-build/bash-5.2/lib/sh/random.c: scope_hint: In function ‘genseed’
bash-5.2.37-build/bash-5.2/lib/sh/random.c:93:8: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-1164): [#def293]
bash-5.2.37-build/bash-5.2/lib/sh/random.c:141:1: warning[-Wunused-function]: ‘brand32’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def294]
bash-5.2.37-build/bash-5.2/lib/sh/random.c: scope_hint: In function ‘brand32’
bash-5.2.37-build/bash-5.2/lib/sh/random.c:143:14: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-1164): [#def295]
bash-5.2.37-build/bash-5.2/lib/sh/random.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/lib/sh/random.c:166:1: warning[-Wunused-function]: ‘perturb_rand32’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def296]
bash-5.2.37-build/bash-5.2/lib/sh/setlinebuf.c:33:14: warning[-Wunused-variable]: ‘stdoutbuf’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def297]
bash-5.2.37-build/bash-5.2/lib/sh/setlinebuf.c:34:14: warning[-Wunused-variable]: ‘stderrbuf’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def298]
bash-5.2.37-build/bash-5.2/lib/sh/spell.c: scope_hint: In function ‘spname’
bash-5.2.37-build/bash-5.2/lib/sh/spell.c:80:44: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘newname[1]’
Error: COMPILER_WARNING (CWE-569): [#def299]
bash-5.2.37-build/bash-5.2/lib/sh/spell.c: scope_hint: In function ‘spname’
bash-5.2.37-build/bash-5.2/lib/sh/spell.c:98:22: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: GCC_ANALYZER_WARNING (CWE-457): [#def300]
bash-5.2.37-build/bash-5.2/lib/sh/spell.c: scope_hint: In function ‘mindist’
bash-5.2.37-build/bash-5.2/lib/sh/spell.c:143:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*best’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def301]
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c: scope_hint: In function ‘strlist_copy’
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c:134:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c:35:27: note: in definition of macro ‘STRDUP’
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c:134:24: note: in expansion of macro ‘STRDUP’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def302]
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c: scope_hint: In function ‘strlist_merge’
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c:158:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c:35:27: note: in definition of macro ‘STRDUP’
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c:158:19: note: in expansion of macro ‘STRDUP’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def303]
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c:160:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c:35:27: note: in definition of macro ‘STRDUP’
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c:160:19: note: in expansion of macro ‘STRDUP’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def304]
bash-5.2.37-build/bash-5.2/lib/sh/stringlist.c:162:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: COMPILER_WARNING (CWE-563): [#def305]
bash-5.2.37-build/bash-5.2/lib/sh/strtrans.c: scope_hint: In function ‘ansicstr’
bash-5.2.37-build/bash-5.2/lib/sh/strtrans.c:59:7: warning[-Wunused-variable]: unused variable ‘b’
Error: COMPILER_WARNING (CWE-569): [#def306]
bash-5.2.37-build/bash-5.2/lib/sh/strtrans.c: scope_hint: In function ‘ansic_quote’
bash-5.2.37-build/bash-5.2/lib/sh/strtrans.c:253:17: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def307]
bash-5.2.37-build/bash-5.2/lib/sh/strtrans.c: scope_hint: In function ‘ansic_wshouldquote’
bash-5.2.37-build/bash-5.2/lib/sh/strtrans.c:337:21: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def308]
bash-5.2.37-build/bash-5.2/lib/sh/strtrans.c: scope_hint: In function ‘ansic_shouldquote’
bash-5.2.37-build/bash-5.2/lib/sh/strtrans.c:360:20: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def309]
bash-5.2.37-build/bash-5.2/lib/sh/strvis.c: scope_hint: In function ‘sh_strvis’
bash-5.2.37-build/bash-5.2/lib/sh/strvis.c:126:17: warning[-Wunused-variable]: unused variable ‘c’
Error: COMPILER_WARNING (CWE-563): [#def310]
bash-5.2.37-build/bash-5.2/lib/sh/timers.c: scope_hint: In function ‘shtimer_select’
bash-5.2.37-build/bash-5.2/lib/sh/timers.c:185:26: warning[-Wunused-variable]: unused variable ‘prevmask’
Error: COMPILER_WARNING (CWE-563): [#def311]
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c:61:12: warning[-Wunused-variable]: ‘ntmpfiles’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def312]
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c:63:22: warning[-Wunused-variable]: ‘filenum’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def313]
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c:118:1: warning[-Wunused-function]: ‘sh_seedrand’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def314]
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c:140:15: warning[-Wunused-variable]: unused variable ‘sb’
Error: COMPILER_WARNING (CWE-563): [#def315]
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c:141:7: warning[-Wunused-variable]: unused variable ‘r’
Error: COMPILER_WARNING (CWE-563): [#def316]
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c:141:10: warning[-Wunused-but-set-variable]: variable ‘tdlen’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def317]
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c: scope_hint: In function ‘sh_mktmpname’
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c:142:14: warning[-Wunused-variable]: unused variable ‘seeded’
Error: COMPILER_WARNING (CWE-563): [#def318]
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c: scope_hint: In function ‘sh_mktmpfd’
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c:196:11: warning[-Wunused-but-set-variable]: variable ‘tdlen’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def319]
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c:271:7: warning[-Wunused-variable]: unused variable ‘fd’
Error: COMPILER_WARNING (CWE-563): [#def320]
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c: scope_hint: In function ‘sh_mktmpdir’
bash-5.2.37-build/bash-5.2/lib/sh/tmpfile.c:271:11: warning[-Wunused-but-set-variable]: variable ‘tdlen’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def321]
bash-5.2.37-build/bash-5.2/lib/sh/ufuncs.c: scope_hint: In function ‘fsleep’
bash-5.2.37-build/bash-5.2/lib/sh/ufuncs.c:92:26: warning[-Wunused-variable]: unused variable ‘prevmask’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def322]
bash-5.2.37-build/bash-5.2/lib/sh/zgetline.c: scope_hint: In function ‘zgetline’
bash-5.2.37-build/bash-5.2/lib/sh/zgetline.c:115:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘line’
Error: COMPILER_WARNING (CWE-569): [#def323]
bash-5.2.37-build/bash-5.2/lib/tilde/tilde.c: scope_hint: In function ‘tilde_expand’
bash-5.2.37-build/bash-5.2/lib/tilde/tilde.c:195:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def324]
bash-5.2.37-build/bash-5.2/locale.c: scope_hint: In function ‘reset_locale_vars’
bash-5.2.37-build/bash-5.2/locale.c:363:9: warning[-Wunused-but-set-variable]: variable ‘t’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def325]
bash-5.2.37-build/bash-5.2/locale.c: scope_hint: In function ‘locale_isutf8’
bash-5.2.37-build/bash-5.2/locale.c:599:14: warning[-Wunused-variable]: unused variable ‘encoding’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def326]
bash-5.2.37-build/bash-5.2/shell.h:29: included_from: Included from here.
bash-5.2.37-build/bash-5.2/mailcheck.c:36: included_from: Included from here.
bash-5.2.37-build/bash-5.2/mailcheck.c: scope_hint: In function ‘find_mail_file’
bash-5.2.37-build/bash-5.2/mailcheck.c:121:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mailfiles’
bash-5.2.37-build/bash-5.2/general.h:166:23: note: in definition of macro ‘STREQ’
bash-5.2.37-build/bash-5.2/general.h:166:23: note: in definition of macro ‘STREQ’
bash-5.2.37-build/bash-5.2/general.h:166:23: note: in definition of macro ‘STREQ’
Error: COMPILER_WARNING (CWE-569): [#def327]
bash-5.2.37-build/bash-5.2/mailcheck.c: scope_hint: In function ‘remember_mail_dates’
bash-5.2.37-build/bash-5.2/mailcheck.c:394:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def328]
bash-5.2.37-build/bash-5.2/mailcheck.c: scope_hint: In function ‘check_mail’
bash-5.2.37-build/bash-5.2/mailcheck.c:468:15: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def329]
bash-5.2.37-build/bash-5.2/make_cmd.c: scope_hint: In function ‘make_here_document’
bash-5.2.37-build/bash-5.2/make_cmd.c:616:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def330]
bash-5.2.37-build/bash-5.2/parse.y:315:12: warning[-Wunused-variable]: ‘global_extglob’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def331]
bash-5.2.37-build/bash-5.2/parse.y:334:14: warning[-Wunused-variable]: ‘yyoutstream’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def332]
bash-5.2.37-build/bash-5.2/parse.y:335:14: warning[-Wunused-variable]: ‘yyerrstream’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def333]
bash-5.2.37-build/bash-5.2/parse.y:2175:7: warning[-Wunused-variable]: unused variable ‘n’
Error: COMPILER_WARNING (CWE-563): [#def334]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘read_secondary_line’
bash-5.2.37-build/bash-5.2/parse.y:2175:10: warning[-Wunused-variable]: unused variable ‘c’
Error: COMPILER_WARNING (CWE-563): [#def335]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘parse_matched_pair’
bash-5.2.37-build/bash-5.2/parse.y:3680:18: warning[-Wunused-but-set-variable]: variable ‘prevch’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def336]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘parse_comsub’
bash-5.2.37-build/bash-5.2/parse.y:4089:7: warning[-Wunused-but-set-variable]: variable ‘start_lineno’ set but not used
Error: COMPILER_WARNING (CWE-457): [#def337]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘parse_comsub.constprop.0’
bash-5.2.37-build/bash-5.2/parse.y:4165:19: warning[-Wmaybe-uninitialized]: ‘local_extglob’ may be used uninitialized
bash-5.2.37-build/bash-5.2/parse.y:4089:21: note: ‘local_extglob’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def338]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘xparse_dolparen’
bash-5.2.37-build/bash-5.2/parse.y:4256:7: warning[-Wunused-but-set-variable]: variable ‘orig_ind’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def339]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘parse_string_to_command’
bash-5.2.37-build/bash-5.2/parse.y:4395:9: warning[-Wunused-variable]: unused variable ‘ret’
Error: COMPILER_WARNING (CWE-563): [#def340]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘parse_dparen’
bash-5.2.37-build/bash-5.2/parse.y:4461:15: warning[-Wunused-but-set-variable]: variable ‘sline’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def341]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘parse_arith_cmd’
bash-5.2.37-build/bash-5.2/parse.y:4524:7: warning[-Wunused-but-set-variable]: variable ‘exp_lineno’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def342]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘cond_error’
bash-5.2.37-build/bash-5.2/parse.y:4579:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def343]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘cond_term’
bash-5.2.37-build/bash-5.2/parse.y:4661:15: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def344]
bash-5.2.37-build/bash-5.2/parse.y:4693:15: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def345]
bash-5.2.37-build/bash-5.2/parse.y:4744:15: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def346]
bash-5.2.37-build/bash-5.2/parse.y:4775:15: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def347]
bash-5.2.37-build/bash-5.2/parse.y:4793:16: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def348]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘decode_prompt_string’
bash-5.2.37-build/bash-5.2/parse.y:5722:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def349]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘error_token_from_token’
bash-5.2.37-build/bash-5.2/parse.y:6138:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def350]
bash-5.2.37-build/bash-5.2/parse.y:6141:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-1164): [#def351]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: At top level
bash-5.2.37-build/bash-5.2/parse.y:6314:1: warning[-Wunused-function]: ‘discard_parser_constructs’ defined but not used
Error: COMPILER_WARNING (CWE-569): [#def352]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘parse_string_to_word_list’
bash-5.2.37-build/bash-5.2/parse.y:6417:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def353]
bash-5.2.37-build/bash-5.2/parse.y: scope_hint: In function ‘restore_parser_state’
bash-5.2.37-build/bash-5.2/parse.y:6663:7: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-569): [#def354]
bash-5.2.37-build/bash-5.2/pathexp.c: scope_hint: In function ‘unquoted_glob_pattern_p’
bash-5.2.37-build/bash-5.2/pathexp.c:73:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def355]
bash-5.2.37-build/bash-5.2/pathexp.c: scope_hint: In function ‘shell_glob_filename’
bash-5.2.37-build/bash-5.2/pathexp.c:412:15: warning[-Wunused-variable]: unused variable ‘quoted_pattern’
Error: COMPILER_WARNING (CWE-569): [#def356]
bash-5.2.37-build/bash-5.2/pathexp.c: scope_hint: In function ‘setup_ignore_patterns’
bash-5.2.37-build/bash-5.2/pathexp.c:620:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING: [#def357]
bash-5.2.37-build/bash-5.2/print_cmd.c: scope_hint: In function ‘make_command_string_internal’
bash-5.2.37-build/bash-5.2/print_cmd.c:189:14: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING (CWE-1164): [#def358]
bash-5.2.37-build/bash-5.2/print_cmd.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/print_cmd.c:1006:1: warning[-Wunused-function]: ‘print_heredocs’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def359]
bash-5.2.37-build/bash-5.2/print_cmd.c: scope_hint: In function ‘print_redirection_list’
bash-5.2.37-build/bash-5.2/print_cmd.c:1065:9: warning[-Wunused-variable]: unused variable ‘rw’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def360]
bash-5.2.37-build/bash-5.2/redir.c: scope_hint: In function ‘do_redirection_internal’
bash-5.2.37-build/bash-5.2/redir.c:365:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘here_document_to_fd(redirectee, ri)’
Error: COMPILER_WARNING (CWE-1164): [#def361]
bash-5.2.37-build/bash-5.2/redir.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/redir.c:767:1: warning[-Wunused-function]: ‘undoablefd’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def362]
bash-5.2.37-build/bash-5.2/redir.c:872:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘new_redirect’
Error: COMPILER_WARNING (CWE-457): [#def363]
bash-5.2.37-build/bash-5.2/redir.c: scope_hint: In function ‘do_redirection_internal.constprop.0’
bash-5.2.37-build/bash-5.2/redir.c:872:23: warning[-Wmaybe-uninitialized]: ‘new_redirect’ may be used uninitialized
bash-5.2.37-build/bash-5.2/redir.c:797:13: note: ‘new_redirect’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def364]
bash-5.2.37-build/bash-5.2/redir.c:917:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘oflags’
Error: COMPILER_WARNING (CWE-457): [#def365]
bash-5.2.37-build/bash-5.2/redir.c:917:27: warning[-Wmaybe-uninitialized]: ‘oflags’ may be used uninitialized
bash-5.2.37-build/bash-5.2/redir.c:793:36: note: ‘oflags’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def366]
bash-5.2.37-build/bash-5.2/redir.c:997:39: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(redir_open(redirection_expand(redirectee), *redirect.flags, 438, ri), redirector)’
bash-5.2.37-build/bash-5.2/redir.c: scope_hint: In function ‘do_redirection_internal’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def367]
bash-5.2.37-build/bash-5.2/redir.c:1101:41: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(here_document_to_fd(redirectee, ri), redirector)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def368]
bash-5.2.37-build/bash-5.2/redir.c:1177:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(redir_fd, redirector)’
Error: COMPILER_WARNING (CWE-569): [#def369]
bash-5.2.37-build/bash-5.2/redir.c: scope_hint: In function ‘redir_varvalue’
bash-5.2.37-build/bash-5.2/redir.c:1485:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def370]
bash-5.2.37-build/bash-5.2/redir.c:1500:19: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def371]
bash-5.2.37-build/bash-5.2/shell.c: scope_hint: In function ‘parse_shell_options’
bash-5.2.37-build/bash-5.2/shell.c:928:14: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def372]
bash-5.2.37-build/bash-5.2/shell.c: scope_hint: In function ‘disable_priv_mode’
bash-5.2.37-build/bash-5.2/shell.c:1351:7: warning[-Wunused-but-set-variable]: variable ‘e’ set but not used
Error: CPPCHECK_WARNING (CWE-476): [#def373]
bash-5.2.37-build/bash-5.2/sig.c:667: error[nullPointer]: Null pointer dereference: (volatile unsigned long*)((void*)0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def374]
bash-5.2.37-build/bash-5.2/sig.c: scope_hint: In function ‘kill_shell’
bash-5.2.37-build/bash-5.2/sig.c:667:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def375]
bash-5.2.37-build/bash-5.2/stringlib.c: scope_hint: In function ‘strsub’
bash-5.2.37-build/bash-5.2/stringlib.c:163:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘temp’
Error: COMPILER_WARNING (CWE-563): [#def376]
bash-5.2.37-build/bash-5.2/subst.c:222:53: warning[-Wunused-variable]: ‘expand_param_unset’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def377]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/subst.c:236:14: warning[-Wunused-function]: ‘quoted_substring’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def378]
bash-5.2.37-build/bash-5.2/subst.c:237:12: warning[-Wunused-function]: ‘quoted_strlen’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def379]
bash-5.2.37-build/bash-5.2/subst.c:238:14: warning[-Wunused-function]: ‘quoted_strchr’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def380]
bash-5.2.37-build/bash-5.2/subst.c:251:19: warning[-Wunused-function]: ‘list_dequote_escapes’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def381]
bash-5.2.37-build/bash-5.2/subst.c:256:12: warning[-Wunused-function]: ‘unquoted_substring’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def382]
bash-5.2.37-build/bash-5.2/subst.c:257:12: warning[-Wunused-function]: ‘unquoted_member’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def383]
bash-5.2.37-build/bash-5.2/subst.c:277:23: warning[-Wunused-function]: ‘mb_getcharlens’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def384]
bash-5.2.37-build/bash-5.2/subst.c:292:14: warning[-Wunused-function]: ‘variable_remove_pattern’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-1164): [#def385]
bash-5.2.37-build/bash-5.2/subst.c:349:14: warning[-Wunused-function]: ‘pos_params_casemod’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-569): [#def386]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘string_extract’
bash-5.2.37-build/bash-5.2/subst.c:810:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def387]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘string_extract_double_quoted’
bash-5.2.37-build/bash-5.2/subst.c:884:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def388]
bash-5.2.37-build/bash-5.2/subst.c:1030:9: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def389]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘skip_double_quoted’
bash-5.2.37-build/bash-5.2/subst.c:1036:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def390]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘string_extract_verbatim’
bash-5.2.37-build/bash-5.2/subst.c:1204:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def391]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘extract_delimited_string’
bash-5.2.37-build/bash-5.2/subst.c:1367:9: warning[-Wunused-but-set-variable]: variable ‘t’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def392]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘extract_heredoc_dolbrace_string’
bash-5.2.37-build/bash-5.2/subst.c:1554:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING: [#def393]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘extract_dollar_brace_string’
bash-5.2.37-build/bash-5.2/subst.c:1638:11: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length
bash-5.2.37-build/bash-5.2/subst.c:1634:18: note: length computed here
Error: COMPILER_WARNING (CWE-563): [#def394]
bash-5.2.37-build/bash-5.2/subst.c:1820:18: warning[-Wunused-but-set-variable]: variable ‘t’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def395]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘extract_dollar_brace_string’
bash-5.2.37-build/bash-5.2/subst.c:1841:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def396]
bash-5.2.37-build/bash-5.2/subst.c:2069:9: warning[-Wunused-but-set-variable]: variable ‘temp’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def397]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘skip_matched_pair’
bash-5.2.37-build/bash-5.2/subst.c:2083:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def398]
bash-5.2.37-build/bash-5.2/subst.c:2191:9: warning[-Wunused-but-set-variable]: variable ‘temp’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def399]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘skip_to_delim’
bash-5.2.37-build/bash-5.2/subst.c:2208:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def400]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘skip_to_histexp’
bash-5.2.37-build/bash-5.2/subst.c:2383:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def401]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘do_assignment_internal’
bash-5.2.37-build/bash-5.2/subst.c:3613:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def402]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘expand_string_dollar_quote’
bash-5.2.37-build/bash-5.2/subst.c:4192:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: CPPCHECK_WARNING (CWE-562): [#def403]
bash-5.2.37-build/bash-5.2/subst.c:4783: error[returnDanglingLifetime]: Returning pointer to local variable 'result' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def404]
bash-5.2.37-build/bash-5.2/subst.c:4915: error[returnDanglingLifetime]: Returning pointer to local variable 'result' that will be invalid when returning.
Error: COMPILER_WARNING (CWE-457): [#def405]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘read_comsub’
bash-5.2.37-build/bash-5.2/subst.c:6828:11: warning[-Wmaybe-uninitialized]: ‘bufp’ may be used uninitialized
bash-5.2.37-build/bash-5.2/subst.c:6793:40: note: ‘bufp’ was declared here
Error: COMPILER_WARNING (CWE-569): [#def406]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘parameter_brace_expand_word’
bash-5.2.37-build/bash-5.2/subst.c:7519:12: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def407]
bash-5.2.37-build/bash-5.2/subst.c:7552:12: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-457): [#def408]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘parameter_brace_find_indir’
bash-5.2.37-build/bash-5.2/subst.c:7613:33: warning[-Wmaybe-uninitialized]: ‘oldex’ may be used uninitialized
bash-5.2.37-build/bash-5.2/subst.c:7594:15: note: ‘oldex’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def409]
bash-5.2.37-build/bash-5.2/subst.c:7662:31: warning[-Wmaybe-uninitialized]: ‘v’ may be used uninitialized
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘param_expand’
bash-5.2.37-build/bash-5.2/subst.c:7640:14: note: ‘v’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def410]
bash-5.2.37-build/bash-5.2/subst.c:8190:48: warning[-Wmaybe-uninitialized]: ‘a’ may be used uninitialized
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘parameter_brace_substring’
bash-5.2.37-build/bash-5.2/subst.c:8128:9: note: ‘a’ was declared here
Error: COMPILER_WARNING (CWE-569): [#def411]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘shouldexp_replacement’
bash-5.2.37-build/bash-5.2/subst.c:8908:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def412]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘pat_subst’
bash-5.2.37-build/bash-5.2/subst.c:9041:18: warning[-Wunused-variable]: unused variable ‘clen’
Error: COMPILER_WARNING (CWE-569): [#def413]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘parameter_brace_expand’
bash-5.2.37-build/bash-5.2/subst.c:9633:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def414]
bash-5.2.37-build/bash-5.2/subst.c:9643:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def415]
bash-5.2.37-build/bash-5.2/subst.c:10986:7: warning[-Wunused-but-set-variable]: variable ‘local_expanded’ set but not used
Error: COMPILER_WARNING (CWE-1164): [#def416]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘expand_word_internal’
bash-5.2.37-build/bash-5.2/subst.c:11660:1: warning[-Wunused-label]: label ‘add_quoted_character’ defined but not used
Error: COMPILER_WARNING (CWE-569): [#def417]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘string_quote_removal’
bash-5.2.37-build/bash-5.2/subst.c:11918:29: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def418]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘glob_expand_word_list’
bash-5.2.37-build/bash-5.2/subst.c:12322:7: warning[-Wunused-variable]: unused variable ‘x’
Error: COMPILER_WARNING (CWE-569): [#def419]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘brace_expand_word_list’
bash-5.2.37-build/bash-5.2/subst.c:12462:28: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def420]
bash-5.2.37-build/bash-5.2/subst.c:12667:28: warning[-Wunused-but-set-variable]: variable ‘inheriting’ set but not used
Error: COMPILER_WARNING (CWE-823): [#def421]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘expand_declaration_argument’
bash-5.2.37-build/bash-5.2/subst.c:12723:33: warning[-Wchar-subscripts]: array subscript has type ‘char’
Error: COMPILER_WARNING (CWE-563): [#def422]
bash-5.2.37-build/bash-5.2/subst.c: scope_hint: In function ‘expand_word_list_internal’
bash-5.2.37-build/bash-5.2/subst.c:12979:25: warning[-Wunused-variable]: unused variable ‘temp_list’
Error: COMPILER_WARNING (CWE-569): [#def423]
bash-5.2.37-build/bash-5.2/support/bashversion.c: scope_hint: In function ‘main’
bash-5.2.37-build/bash-5.2/support/bashversion.c:70:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def424]
bash-5.2.37-build/bash-5.2/support/man2html.c:104:13: warning[-Wunused-variable]: ‘location_base’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def425]
bash-5.2.37-build/bash-5.2/support/man2html.c:148:1: warning[-Wunused-function]: ‘strgrow’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def426]
bash-5.2.37-build/bash-5.2/support/man2html.c:190:1: warning[-Wunused-function]: ‘strduplicate’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def427]
bash-5.2.37-build/bash-5.2/support/man2html.c:210:1: warning[-Wunused-function]: ‘strmaxcat’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def428]
bash-5.2.37-build/bash-5.2/support/man2html.c:240:1: warning[-Wunused-function]: ‘escape_input’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def429]
bash-5.2.37-build/bash-5.2/support/man2html.c:298:14: warning[-Wunused-variable]: ‘fname’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def430]
bash-5.2.37-build/bash-5.2/support/man2html.c:299:14: warning[-Wunused-variable]: ‘idxfile’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def431]
bash-5.2.37-build/bash-5.2/support/man2html.c:428:13: warning[-Wunused-variable]: ‘eqndelimopen’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def432]
bash-5.2.37-build/bash-5.2/support/man2html.c:428:31: warning[-Wunused-variable]: ‘eqndelimclose’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def433]
bash-5.2.37-build/bash-5.2/support/man2html.c: scope_hint: In function ‘read_man_page’
bash-5.2.37-build/bash-5.2/support/man2html.c:508:17: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-563): [#def434]
bash-5.2.37-build/bash-5.2/support/man2html.c:937:12: warning[-Wunused-variable]: ‘asint’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def435]
bash-5.2.37-build/bash-5.2/support/man2html.c:1439:17: warning[-Wunused-variable]: unused variable ‘t’
Error: COMPILER_WARNING (CWE-563): [#def436]
bash-5.2.37-build/bash-5.2/support/man2html.c: scope_hint: In function ‘scan_table’
bash-5.2.37-build/bash-5.2/support/man2html.c:1444:44: warning[-Wunused-variable]: unused variable ‘ftable’
Error: COMPILER_WARNING (CWE-563): [#def437]
bash-5.2.37-build/bash-5.2/support/man2html.c: scope_hint: In function ‘scan_expression’
bash-5.2.37-build/bash-5.2/support/man2html.c:1774:36: warning[-Wunused-variable]: unused variable ‘j’
Error: COMPILER_WARNING (CWE-569): [#def438]
bash-5.2.37-build/bash-5.2/support/man2html.c: scope_hint: In function ‘skip_till_newline’
bash-5.2.37-build/bash-5.2/support/man2html.c:2151:19: warning[-Wparentheses]: suggest parentheses around ‘&&’ within ‘||’
Error: COMPILER_WARNING (CWE-563): [#def439]
bash-5.2.37-build/bash-5.2/support/man2html.c: scope_hint: In function ‘scan_request’
bash-5.2.37-build/bash-5.2/support/man2html.c:2243:41: warning[-Wunused-variable]: unused variable ‘oldcurpos’
Error: COMPILER_WARNING (CWE-563): [#def440]
bash-5.2.37-build/bash-5.2/support/man2html.c:2540:41: warning[-Wunused-variable]: unused variable ‘f’
Error: CPPCHECK_WARNING (CWE-786): [#def441]
bash-5.2.37-build/bash-5.2/support/man2html.c:2699: error[negativeIndex]: Array 'wordlist[100]' accessed at index wordlist[*][-1], which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def442]
bash-5.2.37-build/bash-5.2/support/man2html.c:2899: error[negativeIndex]: Array 'wordlist[100]' accessed at index wordlist[*][-1], which is out of bounds.
Error: CPPCHECK_WARNING (CWE-786): [#def443]
bash-5.2.37-build/bash-5.2/support/man2html.c:2938: error[negativeIndex]: Array 'wordlist[100]' accessed at index wordlist[*][-1], which is out of bounds.
Error: CPPCHECK_WARNING (CWE-457): [#def444]
bash-5.2.37-build/bash-5.2/support/man2html.c:3099: warning[uninitvar]: Uninitialized variable: list_options
Error: CPPCHECK_WARNING (CWE-457): [#def445]
bash-5.2.37-build/bash-5.2/support/man2html.c:3232: warning[uninitvar]: Uninitialized variable: bd_options
Error: CPPCHECK_WARNING (CWE-786): [#def446]
bash-5.2.37-build/bash-5.2/support/man2html.c:3679: error[negativeIndex]: Array 'wordlist[100]' accessed at index wordlist[*][-1], which is out of bounds.
Error: COMPILER_WARNING (CWE-569): [#def447]
bash-5.2.37-build/bash-5.2/support/man2html.c:3693:45: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-1164): [#def448]
bash-5.2.37-build/bash-5.2/support/man2html.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/support/man2html.c:3748:1: warning[-Wunused-function]: ‘flush’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def449]
bash-5.2.37-build/bash-5.2/support/man2html.c:3763:17: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-563): [#def450]
bash-5.2.37-build/bash-5.2/support/man2html.c: scope_hint: In function ‘scan_troff’
bash-5.2.37-build/bash-5.2/support/man2html.c:3822:33: warning[-Wunused-variable]: unused variable ‘mx’
Error: COMPILER_WARNING (CWE-563): [#def451]
bash-5.2.37-build/bash-5.2/support/man2html.c:3992:17: warning[-Wunused-variable]: unused variable ‘f’
Error: COMPILER_WARNING (CWE-563): [#def452]
bash-5.2.37-build/bash-5.2/support/man2html.c:3994:17: warning[-Wunused-variable]: unused variable ‘l’
Error: COMPILER_WARNING (CWE-563): [#def453]
bash-5.2.37-build/bash-5.2/support/man2html.c: scope_hint: In function ‘main’
bash-5.2.37-build/bash-5.2/support/man2html.c:3996:21: warning[-Wunused-variable]: unused variable ‘fullname’
Error: CPPCHECK_WARNING (CWE-457): [#def454]
bash-5.2.37-build/bash-5.2/trap.c:443: error[legacyUninitvar]: Uninitialized variable: save_return_catch
Error: COMPILER_WARNING: [#def455]
bash-5.2.37-build/bash-5.2/trap.c: scope_hint: In function ‘restore_default_signal’
bash-5.2.37-build/bash-5.2/trap.c:918:15: warning[-Warray-bounds=]: array subscript 68 is above array bounds of ‘int[68]’
bash-5.2.37-build/bash-5.2/trap.c:75:12: note: while referencing ‘sigmodes’
Error: CPPCHECK_WARNING (CWE-457): [#def456]
bash-5.2.37-build/bash-5.2/trap.c:1113: error[uninitvar]: Uninitialized variable: save_return_catch
Error: COMPILER_WARNING (CWE-569): [#def457]
bash-5.2.37-build/bash-5.2/unwind_prot.c: scope_hint: In function ‘unwind_frame_discard_internal’
bash-5.2.37-build/bash-5.2/unwind_prot.c:272:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def458]
bash-5.2.37-build/bash-5.2/unwind_prot.c: scope_hint: In function ‘unwind_frame_run_internal’
bash-5.2.37-build/bash-5.2/unwind_prot.c:307:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def459]
bash-5.2.37-build/bash-5.2/variables.c:188:21: warning[-Wunused-variable]: ‘last_context_searched’ defined but not used
Error: COMPILER_WARNING (CWE-569): [#def460]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘initialize_shell_variables’
bash-5.2.37-build/bash-5.2/variables.c:425:15: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def461]
bash-5.2.37-build/bash-5.2/variables.c:432:19: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def462]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘set_machine_vars’
bash-5.2.37-build/bash-5.2/variables.c:723:14: warning[-Wunused-but-set-variable]: variable ‘temp_var’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def463]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘var_lookup’
bash-5.2.37-build/bash-5.2/variables.c:2012:9: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def464]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘nameref_transform_name’
bash-5.2.37-build/bash-5.2/variables.c:2322:9: warning[-Wunused-variable]: unused variable ‘newname’
Error: COMPILER_WARNING (CWE-1164): [#def465]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: At top level
bash-5.2.37-build/bash-5.2/variables.c:2554:1: warning[-Wunused-function]: ‘var_sametype’ defined but not used
Error: COMPILER_WARNING (CWE-569): [#def466]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘delete_var’
bash-5.2.37-build/bash-5.2/variables.c:3958:9: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def467]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘makunbound’
bash-5.2.37-build/bash-5.2/variables.c:3987:9: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def468]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘push_posix_temp_var’
bash-5.2.37-build/bash-5.2/variables.c:4556:15: warning[-Wunused-but-set-variable]: variable ‘binding_table’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def469]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘mk_env_string’
bash-5.2.37-build/bash-5.2/variables.c:4760:15: warning[-Wunused-variable]: unused variable ‘isarray’
Error: COMPILER_WARNING (CWE-569): [#def470]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘make_env_array_from_var_list’
bash-5.2.37-build/bash-5.2/variables.c:4896:31: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def471]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘pop_var_context’
bash-5.2.37-build/bash-5.2/variables.c:5420:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-563): [#def472]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘pop_scope’
bash-5.2.37-build/bash-5.2/variables.c:5520:7: warning[-Wunused-but-set-variable]: variable ‘is_bltinenv’ set but not used
Error: COMPILER_WARNING (CWE-569): [#def473]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘sv_history_control’
bash-5.2.37-build/bash-5.2/variables.c:6179:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def474]
bash-5.2.37-build/bash-5.2/variables.c: scope_hint: In function ‘sv_histtimefmt’
bash-5.2.37-build/bash-5.2/variables.c:6228:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: GCC_ANALYZER_WARNING (CWE-476): [#def475]
bash-5.2.37-build/bash-5.2/shell.h:31: included_from: Included from here.
bash-5.2.37-build/bash-5.2/arrayfunc.c:32: included_from: Included from here.
bash-5.2.37-build/bash-5.2/arrayfunc.c: scope_hint: In function ‘assign_compound_array_list’
bash-5.2.37-build/bash-5.2/variables.h:144:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
bash-5.2.37-build/bash-5.2/arrayfunc.c:734:7: note: in expansion of macro ‘assoc_p’
bash-5.2.37-build/bash-5.2/arrayfunc.c:734:7: note: in expansion of macro ‘assoc_p’
bash-5.2.37-build/bash-5.2/arrayfunc.c:734:7: note: in expansion of macro ‘assoc_p’
Error: COMPILER_WARNING: [#def476]
bash-5.2.37-build/bash-5.2/xmalloc.c:135:20: warning[-Walloc-size-larger-than=]: argument 2 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
/usr/include/stdlib.h: scope_hint: In function ‘shell_getc’
/usr/include/stdlib.h:683:14: note: in a call to allocation function ‘realloc’ declared here
Error: COMPILER_WARNING: [#def477]
bash-5.2.37-build/bash-5.2/xmalloc.c:135:47: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
/usr/include/stdlib.h: scope_hint: In function ‘shell_getc’
/usr/include/stdlib.h:672:14: note: in a call to allocation function ‘malloc’ declared here
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-66.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | bash-5.2.37-1.fc42 |
store-results-to | /tmp/tmp9vp47ivr/bash-5.2.37-1.fc42.tar.xz |
time-created | 2024-11-12 23:14:57 |
time-finished | 2024-11-12 23:18:26 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp9vp47ivr/bash-5.2.37-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp9vp47ivr/bash-5.2.37-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |