tmux-3.5a-2.fc42
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
tmux-3.5a-build/tmux-3.5a/arguments.c: scope_hint: In function ‘args_make_commands_now’
tmux-3.5a-build/tmux-3.5a/arguments.c:750:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘error’
Error: COMPILER_WARNING (CWE-252): [#def2]
tmux-3.5a-build/tmux-3.5a/client.c: scope_hint: In function ‘client_dispatch_attached’
tmux-3.5a-build/tmux-3.5a/client.c:805:17: warning[-Wunused-result]: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-681): [#def3]
tmux-3.5a-build/tmux-3.5a/cmd-capture-pane.c: scope_hint: In function ‘cmd_capture_pane_pending’
tmux-3.5a-build/tmux-3.5a/cmd-capture-pane.c:87:14: warning[-Wpointer-sign]: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness
Error: CPPCHECK_WARNING (CWE-562): [#def4]
tmux-3.5a-build/tmux-3.5a/cmd-find.c:979: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def5]
tmux-3.5a-build/tmux-3.5a/cmd-parse.y: scope_hint: In function ‘yylex_token_escape’
tmux-3.5a-build/tmux-3.5a/cmd-parse.y:1510:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tmp’
tmux-3.5a-build/tmux-3.5a/cmd-parse.y:23: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def6]
tmux-3.5a-build/tmux-3.5a/cmd-pipe-pane.c: scope_hint: In function ‘cmd_pipe_pane_exec’
tmux-3.5a-build/tmux-3.5a/cmd-pipe-pane.c:141:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pipe_fd[1], 0)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def7]
tmux-3.5a-build/tmux-3.5a/cmd-pipe-pane.c:141:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def8]
tmux-3.5a-build/tmux-3.5a/cmd-pipe-pane.c:144:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1)’
Error: GCC_ANALYZER_WARNING: [#def9]
tmux-3.5a-build/tmux-3.5a/cmd-pipe-pane.c:144:29: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘open("/dev/null", 1)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def10]
tmux-3.5a-build/tmux-3.5a/cmd-pipe-pane.c:148:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(pipe_fd[1], 1)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def11]
tmux-3.5a-build/tmux-3.5a/cmd-pipe-pane.c:148:29: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1)’
Error: GCC_ANALYZER_WARNING: [#def12]
tmux-3.5a-build/tmux-3.5a/cmd-pipe-pane.c:153:29: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘open("/dev/null", 1)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def13]
tmux-3.5a-build/tmux-3.5a/cmd-pipe-pane.c:156:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1)’
Error: GCC_ANALYZER_WARNING: [#def14]
tmux-3.5a-build/tmux-3.5a/cmd-pipe-pane.c:156:21: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘open("/dev/null", 1)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
tmux-3.5a-build/tmux-3.5a/cmd-rotate-window.c: scope_hint: In function ‘cmd_rotate_window_exec’
tmux-3.5a-build/tmux-3.5a/cmd-rotate-window.c:74:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wp’
tmux-3.5a-build/tmux-3.5a/compat.h:142: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/tmux.h:35: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/cmd-rotate-window.c:21: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/cmd-rotate-window.c:58:22: note: in expansion of macro ‘TAILQ_LAST’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
tmux-3.5a-build/tmux-3.5a/cmd-rotate-window.c:99:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wp’
tmux-3.5a-build/tmux-3.5a/cmd-rotate-window.c:85:17: note: in expansion of macro ‘TAILQ_INSERT_TAIL’
tmux-3.5a-build/tmux-3.5a/cmd-rotate-window.c:90:17: note: in expansion of macro ‘TAILQ_FOREACH_REVERSE’
Error: COMPILER_WARNING (CWE-457): [#def17]
tmux-3.5a-build/tmux-3.5a/cmd-run-shell.c: scope_hint: In function ‘cmd_run_shell_exec’
tmux-3.5a-build/tmux-3.5a/cmd-run-shell.c:169:33: warning[-Wmaybe-uninitialized]: ‘d’ may be used uninitialized
tmux-3.5a-build/tmux-3.5a/cmd-run-shell.c:118:42: note: ‘d’ was declared here
Error: COMPILER_WARNING (CWE-681): [#def18]
tmux-3.5a-build/tmux-3.5a/compat/getpeereid.c: scope_hint: In function ‘getpeereid’
tmux-3.5a-build/tmux-3.5a/compat/getpeereid.c:36:57: warning[-Wpointer-sign]: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness
tmux-3.5a-build/tmux-3.5a/compat/getpeereid.c:18: included_from: Included from here.
/usr/include/sys/socket.h:257:46: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’
Error: COMPILER_WARNING: [#def19]
tmux-3.5a-build/tmux-3.5a/compat/vis.c: scope_hint: In function ‘stravis’
tmux-3.5a-build/tmux-3.5a/compat/vis.c:222:23: warning[-Wuse-after-free]: pointer ‘buf_15’ may be used after ‘realloc’
tmux-3.5a-build/tmux-3.5a/compat/vis.c:220:17: note: call to ‘realloc’ here
Error: COMPILER_WARNING (CWE-252): [#def20]
tmux-3.5a-build/tmux-3.5a/environ.c: scope_hint: In function ‘environ_log’
tmux-3.5a-build/tmux-3.5a/environ.c:234:9: warning[-Wunused-result]: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-681): [#def21]
tmux-3.5a-build/tmux-3.5a/grid.c: scope_hint: In function ‘grid_string_cells’
tmux-3.5a-build/tmux-3.5a/grid.c:1080:22: warning[-Wpointer-sign]: pointer targets in assignment from ‘u_char *’ {aka ‘unsigned char *’} to ‘const char *’ differ in signedness
Error: GCC_ANALYZER_WARNING (CWE-457): [#def22]
tmux-3.5a-build/tmux-3.5a/image-sixel.c: scope_hint: In function ‘sixel_print’
tmux-3.5a-build/tmux-3.5a/image-sixel.c:549:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘data’
Error: COMPILER_WARNING (CWE-457): [#def23]
tmux-3.5a-build/tmux-3.5a/image-sixel.c: scope_hint: In function ‘sixel_print’
tmux-3.5a-build/tmux-3.5a/image-sixel.c:549:25: warning[-Wmaybe-uninitialized]: ‘data’ may be used uninitialized
tmux-3.5a-build/tmux-3.5a/image-sixel.c:480:59: note: ‘data’ was declared here
Error: COMPILER_WARNING (CWE-681): [#def24]
tmux-3.5a-build/tmux-3.5a/input-keys.c: scope_hint: In function ‘input_key_vt10x’
tmux-3.5a-build/tmux-3.5a/input-keys.c:497:50: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘input_key_write’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input-keys.c:408:72: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def25]
tmux-3.5a-build/tmux-3.5a/input-keys.c:530:40: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘input_key_write’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input-keys.c:408:72: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def26]
tmux-3.5a-build/tmux-3.5a/input-keys.c: scope_hint: In function ‘input_key’
tmux-3.5a-build/tmux-3.5a/input-keys.c:581:48: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘input_key_write’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input-keys.c:408:72: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def27]
tmux-3.5a-build/tmux-3.5a/input-keys.c:615:56: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘input_key_write’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input-keys.c:408:72: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def28]
tmux-3.5a-build/tmux-3.5a/input-keys.c:620:58: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘input_key_write’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input-keys.c:408:72: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def29]
tmux-3.5a-build/tmux-3.5a/input-keys.c: scope_hint: In function ‘input_key_get_mouse’
tmux-3.5a-build/tmux-3.5a/input-keys.c:744:69: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_key_split2’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input-keys.c:345:35: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
Error: COMPILER_WARNING (CWE-681): [#def30]
tmux-3.5a-build/tmux-3.5a/input-keys.c:745:66: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_key_split2’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input-keys.c:345:35: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
Error: COMPILER_WARNING (CWE-681): [#def31]
tmux-3.5a-build/tmux-3.5a/input-keys.c:746:66: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_key_split2’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input-keys.c:345:35: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
Error: COMPILER_WARNING (CWE-681): [#def32]
tmux-3.5a-build/tmux-3.5a/input.c: scope_hint: In function ‘input_table_compare’
tmux-3.5a-build/tmux-3.5a/input.c:741:28: warning[-Wpointer-sign]: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:26: included_from: Included from here.
/usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const u_char *’ {aka ‘const unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def33]
tmux-3.5a-build/tmux-3.5a/input.c: scope_hint: In function ‘input_split’
tmux-3.5a-build/tmux-3.5a/input.c:1028:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘u_char *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness
Error: COMPILER_WARNING (CWE-681): [#def34]
tmux-3.5a-build/tmux-3.5a/input.c: scope_hint: In function ‘input_dcs_dispatch’
tmux-3.5a-build/tmux-3.5a/input.c:2336:34: warning[-Wpointer-sign]: pointer targets in passing argument 1 of ‘sixel_parse’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:29: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/tmux.h:3485:33: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def35]
tmux-3.5a-build/tmux-3.5a/input.c:2347:41: warning[-Wpointer-sign]: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness
/usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def36]
tmux-3.5a-build/tmux-3.5a/input.c: scope_hint: In function ‘input_exit_osc’
tmux-3.5a-build/tmux-3.5a/input.c:2396:47: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘screen_set_title’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tmux.h:3061:44: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def37]
tmux-3.5a-build/tmux-3.5a/input.c:2403:35: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_osc_4’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:138:49: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def38]
tmux-3.5a-build/tmux-3.5a/input.c:2406:34: warning[-Wpointer-sign]: pointer targets in passing argument 1 of ‘utf8_isvalid’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tmux.h:3376:31: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def39]
tmux-3.5a-build/tmux-3.5a/input.c:2407:50: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘screen_set_path’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tmux.h:3062:43: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def40]
tmux-3.5a-build/tmux-3.5a/input.c:2415:35: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_osc_8’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:139:49: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def41]
tmux-3.5a-build/tmux-3.5a/input.c:2418:36: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_osc_10’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:140:50: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def42]
tmux-3.5a-build/tmux-3.5a/input.c:2421:36: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_osc_11’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:141:50: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def43]
tmux-3.5a-build/tmux-3.5a/input.c:2424:36: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_osc_12’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:142:50: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def44]
tmux-3.5a-build/tmux-3.5a/input.c:2427:36: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_osc_52’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:143:50: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def45]
tmux-3.5a-build/tmux-3.5a/input.c:2430:37: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_osc_104’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:144:51: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def46]
tmux-3.5a-build/tmux-3.5a/input.c:2433:37: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_osc_110’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:145:51: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def47]
tmux-3.5a-build/tmux-3.5a/input.c:2436:37: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_osc_111’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:146:51: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def48]
tmux-3.5a-build/tmux-3.5a/input.c:2439:37: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_osc_112’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:147:51: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def49]
tmux-3.5a-build/tmux-3.5a/input.c:2442:37: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘input_osc_133’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:148:51: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def50]
tmux-3.5a-build/tmux-3.5a/input.c: scope_hint: In function ‘input_exit_apc’
tmux-3.5a-build/tmux-3.5a/input.c:2472:43: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘screen_set_title’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tmux.h:3061:44: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def51]
tmux-3.5a-build/tmux-3.5a/input.c: scope_hint: In function ‘input_exit_rename’
tmux-3.5a-build/tmux-3.5a/input.c:2506:31: warning[-Wpointer-sign]: pointer targets in passing argument 1 of ‘utf8_isvalid’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tmux.h:3376:31: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def52]
tmux-3.5a-build/tmux-3.5a/input.c:2518:40: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘window_set_name’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tmux.h:3159:51: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def53]
tmux-3.5a-build/tmux-3.5a/input.c: scope_hint: In function ‘input_osc_52’
tmux-3.5a-build/tmux-3.5a/input.c:2962:25: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘paste_add’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tmux.h:2197:42: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def54]
tmux-3.5a-build/tmux-3.5a/input.c: scope_hint: In function ‘input_reply_clipboard’
tmux-3.5a-build/tmux-3.5a/input.c:3014:40: warning[-Wpointer-sign]: pointer targets in passing argument 1 of ‘__b64_ntop’ differ in signedness
tmux-3.5a-build/tmux-3.5a/input.c:24: included_from: Included from here.
/usr/include/resolv.h:245:27: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def55]
tmux-3.5a-build/tmux-3.5a/job.c: scope_hint: In function ‘job_run’
tmux-3.5a-build/tmux-3.5a/job.c:151:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(out[1], 0)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def56]
tmux-3.5a-build/tmux-3.5a/job.c:153:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(out[1], 1)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
tmux-3.5a-build/tmux-3.5a/job.c:162:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 2)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def58]
tmux-3.5a-build/tmux-3.5a/job.c:162:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def59]
tmux-3.5a-build/tmux-3.5a/job.c:164:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
tmux-3.5a-build/tmux-3.5a/regsub.c: scope_hint: In function ‘regsub’
tmux-3.5a-build/tmux-3.5a/regsub.c:116:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: COMPILER_WARNING (CWE-681): [#def61]
tmux-3.5a-build/tmux-3.5a/screen-write.c: scope_hint: In function ‘screen_write_strlen’
tmux-3.5a-build/tmux-3.5a/screen-write.c:365:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness
Error: COMPILER_WARNING (CWE-681): [#def62]
tmux-3.5a-build/tmux-3.5a/screen-write.c:370:39: warning[-Wpointer-sign]: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
tmux-3.5a-build/tmux-3.5a/screen-write.c:22: included_from: Included from here.
/usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def63]
tmux-3.5a-build/tmux-3.5a/screen-write.c: scope_hint: In function ‘screen_write_vnputs’
tmux-3.5a-build/tmux-3.5a/screen-write.c:518:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘char *’ to ‘u_char *’ {aka ‘unsigned char *’} differ in signedness
Error: COMPILER_WARNING (CWE-681): [#def64]
tmux-3.5a-build/tmux-3.5a/screen-write.c:523:39: warning[-Wpointer-sign]: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: CPPCHECK_WARNING (CWE-457): [#def65]
tmux-3.5a-build/tmux-3.5a/screen-write.c:1860: warning[uninitvar]: Uninitialized variable: gc.data.width
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
tmux-3.5a-build/tmux-3.5a/server-client.c: scope_hint: In function ‘server_client_reset_state’
tmux-3.5a-build/tmux-3.5a/server-client.c:2448:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
Error: COMPILER_WARNING (CWE-681): [#def67]
tmux-3.5a-build/tmux-3.5a/server-client.c: scope_hint: In function ‘server_client_print’
tmux-3.5a-build/tmux-3.5a/server-client.c:3343:21: warning[-Wpointer-sign]: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness
Error: COMPILER_WARNING (CWE-681): [#def68]
tmux-3.5a-build/tmux-3.5a/server-client.c:3383:30: warning[-Wpointer-sign]: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
tmux-3.5a-build/tmux-3.5a/spawn.c: scope_hint: In function ‘spawn_window’
tmux-3.5a-build/tmux-3.5a/spawn.c:181:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘w’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
tmux-3.5a-build/tmux-3.5a/status.c: scope_hint: In function ‘status_prompt_add_list’
tmux-3.5a-build/tmux-3.5a/status.c:1612:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
tmux-3.5a-build/tmux-3.5a/status.c: scope_hint: In function ‘status_prompt_complete_window_menu’
tmux-3.5a-build/tmux-3.5a/status.c:1828:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
tmux-3.5a-build/tmux-3.5a/compat.h:148: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/tmux.h:35: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/status.c:30: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/status.c:1813:9: note: in expansion of macro ‘RB_FOREACH’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
tmux-3.5a-build/tmux-3.5a/status.c: scope_hint: In function ‘status_prompt_complete’
tmux-3.5a-build/tmux-3.5a/status.c:1983:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: COMPILER_WARNING (CWE-681): [#def73]
tmux-3.5a-build/tmux-3.5a/tty-keys.c: scope_hint: In function ‘tty_keys_next’
tmux-3.5a-build/tmux-3.5a/tty-keys.c:672:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘unsigned char *’ to ‘const char *’ differ in signedness
Error: COMPILER_WARNING (CWE-681): [#def74]
tmux-3.5a-build/tmux-3.5a/tty-keys.c: scope_hint: In function ‘tty_keys_clipboard’
tmux-3.5a-build/tmux-3.5a/tty-keys.c:1269:38: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘__b64_pton’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tty-keys.c:26: included_from: Included from here.
/usr/include/resolv.h:247:41: note: expected ‘unsigned char *’ but argument is of type ‘char *’
Error: COMPILER_WARNING (CWE-252): [#def75]
tmux-3.5a-build/tmux-3.5a/tty.c: scope_hint: In function ‘tty_add’
tmux-3.5a-build/tmux-3.5a/tty.c:600:17: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-681): [#def76]
tmux-3.5a-build/tmux-3.5a/tty.c: scope_hint: In function ‘tty_putc’
tmux-3.5a-build/tmux-3.5a/tty.c:628:38: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘tty_add’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tty.c:586:38: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def77]
tmux-3.5a-build/tmux-3.5a/tty.c:630:30: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘tty_add’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tty.c:586:38: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def78]
tmux-3.5a-build/tmux-3.5a/tty.c: scope_hint: In function ‘tty_check_codeset’
tmux-3.5a-build/tmux-3.5a/tty.c:1369:46: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘tty_acs_reverse_get’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tty.c:34: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/tmux.h:2493:52: note: expected ‘const char *’ but argument is of type ‘const u_char *’ {aka ‘const unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def79]
tmux-3.5a-build/tmux-3.5a/tty.c: scope_hint: In function ‘tty_set_selection’
tmux-3.5a-build/tmux-3.5a/tty.c:2236:18: warning[-Wpointer-sign]: pointer targets in passing argument 1 of ‘__b64_ntop’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tty.c:27: included_from: Included from here.
/usr/include/resolv.h:245:27: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-681): [#def80]
tmux-3.5a-build/tmux-3.5a/utf8.c: scope_hint: In function ‘utf8_towc’
tmux-3.5a-build/tmux-3.5a/utf8.c:439:30: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘mbtowc’ differ in signedness
tmux-3.5a-build/tmux-3.5a/utf8.c:23: included_from: Included from here.
/usr/include/stdlib.h:1066:43: note: expected ‘const char * restrict’ but argument is of type ‘const u_char *’ {aka ‘const unsigned char *’}
Error: COMPILER_WARNING (CWE-681): [#def81]
tmux-3.5a-build/tmux-3.5a/utf8.c: scope_hint: In function ‘utf8_fromwc’
tmux-3.5a-build/tmux-3.5a/utf8.c:462:25: warning[-Wpointer-sign]: pointer targets in passing argument 1 of ‘wctomb’ differ in signedness
/usr/include/features.h:511: included_from: Included from here.
/usr/include/sys/types.h:25: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/utf8.c:19: included_from: Included from here.
/usr/include/bits/stdlib.h:91:16: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’}
Error: COMPILER_WARNING (CWE-252): [#def82]
tmux-3.5a-build/tmux-3.5a/utf8.c:466:17: warning[-Wunused-result]: ignoring return value of ‘wctomb’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def83]
tmux-3.5a-build/tmux-3.5a/window-client.c: scope_hint: In function ‘window_client_build’
tmux-3.5a-build/tmux-3.5a/window-client.c:193:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
tmux-3.5a-build/tmux-3.5a/window-client.c:22: included_from: Included from here.
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
Error: COMPILER_WARNING (CWE-252): [#def84]
tmux-3.5a-build/tmux-3.5a/window-copy.c: scope_hint: In function ‘window_copy_vadd’
tmux-3.5a-build/tmux-3.5a/window-copy.c:553:17: warning[-Wunused-result]: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-681): [#def85]
tmux-3.5a-build/tmux-3.5a/window-copy.c: scope_hint: In function ‘window_copy_vadd’
tmux-3.5a-build/tmux-3.5a/window-copy.c:557:27: warning[-Wpointer-sign]: pointer targets in passing argument 5 of ‘input_parse_screen’ differ in signedness
tmux-3.5a-build/tmux-3.5a/window-copy.c:27: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/tmux.h:2861:48: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
Error: COMPILER_WARNING (CWE-681): [#def86]
tmux-3.5a-build/tmux-3.5a/window-copy.c: scope_hint: In function ‘window_copy_cellstring’
tmux-3.5a-build/tmux-3.5a/window-copy.c:3354:25: warning[-Wpointer-sign]: pointer targets in returning ‘u_char *’ {aka ‘unsigned char *’} from a function with return type ‘const char *’ differ in signedness
Error: GCC_ANALYZER_WARNING (CWE-688): [#def87]
tmux-3.5a-build/tmux-3.5a/window-copy.c: scope_hint: In function ‘window_copy_stringify’
tmux-3.5a-build/tmux-3.5a/window-copy.c:3449:25: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: COMPILER_WARNING (CWE-681): [#def88]
tmux-3.5a-build/tmux-3.5a/window-copy.c: scope_hint: In function ‘window_copy_append_selection’
tmux-3.5a-build/tmux-3.5a/window-copy.c:4810:53: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘screen_write_setselection’ differ in signedness
tmux-3.5a-build/tmux-3.5a/tmux.h:3037:14: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
Error: CPPCHECK_WARNING (CWE-476): [#def89]
tmux-3.5a-build/tmux-3.5a/window-tree.c:440: warning[nullPointer]: Possible null pointer dereference: l
Error: GCC_ANALYZER_WARNING (CWE-688): [#def90]
tmux-3.5a-build/tmux-3.5a/window-tree.c: scope_hint: In function ‘window_tree_build_session’
tmux-3.5a-build/tmux-3.5a/window-tree.c:440:9: warning[-Wanalyzer-null-argument]: use of NULL ‘l’ where non-null expected
tmux-3.5a-build/tmux-3.5a/compat.h:148: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/tmux.h:35: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/window-tree.c:25: included_from: Included from here.
tmux-3.5a-build/tmux-3.5a/window-tree.c:435:9: note: in expansion of macro ‘RB_FOREACH’
tmux-3.5a-build/tmux-3.5a/window-tree.c:22: included_from: Included from here.
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
Error: CPPCHECK_WARNING (CWE-476): [#def91]
tmux-3.5a-build/tmux-3.5a/window-tree.c:486: warning[nullPointer]: Possible null pointer dereference: l
Error: GCC_ANALYZER_WARNING (CWE-688): [#def92]
tmux-3.5a-build/tmux-3.5a/window-tree.c: scope_hint: In function ‘window_tree_build’
tmux-3.5a-build/tmux-3.5a/window-tree.c:486:9: warning[-Wanalyzer-null-argument]: use of NULL ‘l’ where non-null expected
tmux-3.5a-build/tmux-3.5a/window-tree.c:475:9: note: in expansion of macro ‘RB_FOREACH’
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
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-82.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | tmux-3.5a-2.fc42 |
store-results-to | /tmp/tmpk4ermvz4/tmux-3.5a-2.fc42.tar.xz |
time-created | 2024-11-13 03:21:33 |
time-finished | 2024-11-13 03:23:47 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpk4ermvz4/tmux-3.5a-2.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpk4ermvz4/tmux-3.5a-2.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |