2025-05-09 22:16 ftp://ftp.de.debian.org/debian/pool/main/c/conmon/conmon_2.1.12.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 108 112 elapsed-time: 0.4 0.4 head-timing-info: old-timing-info: head results: conmon-2.1.12/src/cli.c:132:29: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] conmon-2.1.12/src/close_fds.c:54:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/close_fds.c:84:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/close_fds.c:44:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] conmon-2.1.12/src/close_fds.c:44:36: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] conmon-2.1.12/src/close_fds.c:98:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] conmon-2.1.12/src/close_fds.c:98:36: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] conmon-2.1.12/src/cmsg.c:77:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/cmsg.c:123:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/cmsg.c:111:7: style: Variable 'fdptr' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/conmon.c:428:17: debug: Scope::checkVariable found variable 'value' with varid 0. [varid0] conmon-2.1.12/src/ctr_exit.c:30:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_exit.c:44:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_exit.c:78:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_exit.c:89:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_CONTINUE [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_exit.c:95:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_exit.c:119:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_exit.c:138:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_exit.c:227:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:175:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:222:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_SEQPACKET [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:236:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:274:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_PATH [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:337:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:364:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:376:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:402:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:415:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:494:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RD [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:527:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:547:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:562:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:579:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conmon.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conmon.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conmon.c:353:7: style: Local variable 'ret' shadows outer variable [shadowVariable] conmon-2.1.12/src/conmon.c:138:6: note: Shadowed declaration conmon-2.1.12/src/conmon.c:353:7: note: Shadow variable conmon-2.1.12/src/conmon.c:144:23: style: Variable 'seccomp_listener' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/conmon.c:202:23: style: Variable 'attach_symlink_dir_path' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/conmon.c:510:24: style: Variable 'ctr_exit_file_path' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/conmon.c:520:24: style: Variable 'exit_file_path' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/conmon.c:48:30: style: Variable 'dummyfd' is assigned a value that is never used. [unreadVariable] conmon-2.1.12/src/conmon.c:79:21: style: Variable 'dev_null_r_cleanup' is assigned a value that is never used. [unreadVariable] conmon-2.1.12/src/conmon.c:83:21: style: Variable 'dev_null_w_cleanup' is assigned a value that is never used. [unreadVariable] conmon-2.1.12/src/conmon.c:205:11: style: Variable 'dummyfd' is assigned a value that is never used. [unreadVariable] conmon-2.1.12/src/ctr_logging.c:110:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_logging.c:190:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_logging.c:239:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_logging.c:331:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_logging.c:386:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_logging.c:470:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_logging.c:505:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_logging.c:522:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_logging.c:552:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_logging.c:611:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_logging.c:637:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_stdio.c:22:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_stdio.c:134:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctr_stdio.c:160:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctrl.c:28:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctrl.c:110:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctrl.c:141:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctrl.c:179:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctrl.c:232:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCSWINSZ [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctrl.c:241:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctrl.c:252:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/ctrl.c:263:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/conn_sock.c:169:24: style: Local variable 'bname' shadows outer variable [shadowVariable] conmon-2.1.12/src/conn_sock.c:163:8: note: Shadowed declaration conmon-2.1.12/src/conn_sock.c:169:24: note: Shadow variable conmon-2.1.12/src/conn_sock.c:169:9: style: Variable 'dname' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/conn_sock.c:169:24: style: Variable 'bname' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/conn_sock.c:232:32: style: Parameter 'socket_path' can be declared as pointer to const [constParameterPointer] conmon-2.1.12/src/conn_sock.c:355:42: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] conmon-2.1.12/src/ctrl.c:32:30: error: Null pointer dereference [nullPointer] conmon-2.1.12/src/ctrl.c:106:47: style: Parameter 'line' can be declared as pointer to const. However it seems that 'process_winsz_ctrl_line' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] conmon-2.1.12/src/ctrl.c:98:35: note: You might need to cast the function pointer here conmon-2.1.12/src/ctrl.c:106:47: note: Parameter 'line' can be declared as pointer to const conmon-2.1.12/src/ctrl.c:133:50: style: Parameter 'line' can be declared as pointer to const. However it seems that 'process_terminal_ctrl_line' is a callback function, if 'line' is declared with const you might also need to cast function pointer(s). [constParameterCallback] conmon-2.1.12/src/ctrl.c:124:35: note: You might need to cast the function pointer here conmon-2.1.12/src/ctrl.c:133:50: note: Parameter 'line' can be declared as pointer to const conmon-2.1.12/src/ctrl.c:148:24: style: Variable 'hw_str' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/ctrl.c:258:56: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] conmon-2.1.12/src/ctr_logging.c:186:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] conmon-2.1.12/src/ctr_logging.c:187:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] conmon-2.1.12/src/ctr_logging.c:330:11: style: Condition 'err<0' is always true [knownConditionTrueFalse] conmon-2.1.12/src/ctr_logging.c:329:29: note: Calling function 'sd_journal_sendv' returns -1 conmon-2.1.12/src/ctr_logging.c:329:29: note: Assignment 'err=sd_journal_sendv(bufv.iov,bufv.iovcnt)', assigned value is -1 conmon-2.1.12/src/ctr_logging.c:330:11: note: Condition 'err<0' is always true conmon-2.1.12/src/ctr_logging.c:254:56: style:inconclusive: Function 'write_journald' argument 3 names different: declaration 'num_read' definition 'buflen'. [funcArgNamesDifferent] conmon-2.1.12/src/ctr_logging.c:84:56: note: Function 'write_journald' argument 3 names different: declaration 'num_read' definition 'buflen'. conmon-2.1.12/src/ctr_logging.c:254:56: note: Function 'write_journald' argument 3 names different: declaration 'num_read' definition 'buflen'. conmon-2.1.12/src/ctr_logging.c:105:135: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] conmon-2.1.12/src/ctr_logging.c:607:23: style: Variable 'k8s_log_path_tmp' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/ctr_logging.c:351:30: style: Variable 'bytes_to_be_written' is assigned a value that is never used. [unreadVariable] conmon-2.1.12/src/parent_pipe_fd.c:19:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/parent_pipe_fd.c:55:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/parent_pipe_fd.c:15:8: style: Variable 'pipe_str' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/parent_pipe_fd.c:45:23: style: Variable 'json' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/parent_pipe_fd.c:47:24: style: Variable 'escaped_message' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/runtime_args.c:97:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/seccomp_notify.c:306:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/runtime_args.c:16:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] conmon-2.1.12/src/runtime_args.c:20:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] conmon-2.1.12/src/runtime_args.c:25:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] conmon-2.1.12/src/runtime_args.c:30:118: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] conmon-2.1.12/src/runtime_args.c:38:100: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] conmon-2.1.12/src/runtime_args.c:40:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] conmon-2.1.12/src/runtime_args.c:42:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] conmon-2.1.12/src/runtime_args.c:59:103: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] conmon-2.1.12/src/runtime_args.c:72:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] conmon-2.1.12/src/runtime_args.c:77:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] conmon-2.1.12/src/runtime_args.c:81:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] conmon-2.1.12/src/runtime_args.c:89:35: style:inconclusive: Function 'print_argv' argument 1 names different: declaration 'argv' definition 'runtime_argv'. [funcArgNamesDifferent] conmon-2.1.12/src/runtime_args.c:10:35: note: Function 'print_argv' argument 1 names different: declaration 'argv' definition 'runtime_argv'. conmon-2.1.12/src/runtime_args.c:89:35: note: Function 'print_argv' argument 1 names different: declaration 'argv' definition 'runtime_argv'. conmon-2.1.12/src/runtime_args.c:104:8: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] conmon-2.1.12/src/utils.c:48:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/utils.c:60:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/utils.c:69:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/utils.c:81:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] conmon-2.1.12/src/utils.c:22:76: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] diff: head conmon-2.1.12/src/close_fds.c:44:36: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head conmon-2.1.12/src/close_fds.c:98:36: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head conmon-2.1.12/src/conmon.c:510:24: style: Variable 'ctr_exit_file_path' can be declared as pointer to const [constVariablePointer] head conmon-2.1.12/src/conmon.c:520:24: style: Variable 'exit_file_path' can be declared as pointer to const [constVariablePointer] 2.17.0 conmon-2.1.12/src/conn_sock.c:202:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: csname [nullPointerOutOfMemory] conmon-2.1.12/src/conn_sock.c:192:28: note: Assuming allocation function fails conmon-2.1.12/src/conn_sock.c:192:28: note: Assignment 'csname=g_build_filename(tmpdir,"conmon-term.XXXXXX",NULL)', assigned value is 0 conmon-2.1.12/src/conn_sock.c:198:16: note: Assuming condition is false conmon-2.1.12/src/conn_sock.c:202:14: note: Null pointer dereference 2.17.0 conmon-2.1.12/src/conn_sock.c:293:13: warning: If memory allocation fails, then there is a possible null pointer dereference: sock_fullpath [nullPointerOutOfMemory] conmon-2.1.12/src/conn_sock.c:282:40: note: Assuming allocation function fails conmon-2.1.12/src/conn_sock.c:282:40: note: Assignment 'sock_fullpath=g_build_filename(parent_dir,socket_relative_name,NULL)', assigned value is 0 conmon-2.1.12/src/conn_sock.c:290:16: note: Assuming condition is false conmon-2.1.12/src/conn_sock.c:293:13: note: Null pointer dereference 2.17.0 conmon-2.1.12/src/conn_sock.c:330:13: warning: If memory allocation fails, then there is a possible null pointer dereference: base_path [nullPointerOutOfMemory] conmon-2.1.12/src/conn_sock.c:319:36: note: Assuming allocation function fails conmon-2.1.12/src/conn_sock.c:319:36: note: Assignment 'base_path=g_build_filename(opt_socket_path,opt_cuuid,NULL)', assigned value is 0 conmon-2.1.12/src/conn_sock.c:330:13: note: Null pointer dereference 2.17.0 conmon-2.1.12/src/ctr_exit.c:227:13: warning: If memory allocation fails, then there is a possible null pointer dereference: base_path [nullPointerOutOfMemory] conmon-2.1.12/src/ctr_exit.c:226:51: note: Assuming allocation function fails conmon-2.1.12/src/ctr_exit.c:226:51: note: Assignment 'base_path=g_build_filename(opt_socket_path,opt_cuuid,NULL)', assigned value is 0 conmon-2.1.12/src/ctr_exit.c:227:13: note: Null pointer dereference 2.17.0 conmon-2.1.12/src/ctr_logging.c:166:31: warning: If memory allocation fails, then there is a possible null pointer dereference: container_tag [nullPointerOutOfMemory] conmon-2.1.12/src/ctr_logging.c:165:35: note: Assuming allocation function fails conmon-2.1.12/src/ctr_logging.c:165:35: note: Assignment 'container_tag=g_strdup_printf("CONTAINER_TAG=%s",tag)', assigned value is 0 conmon-2.1.12/src/ctr_logging.c:166:31: note: Null pointer dereference 2.17.0 conmon-2.1.12/src/ctr_logging.c:170:35: warning: If memory allocation fails, then there is a possible null pointer dereference: syslog_identifier [nullPointerOutOfMemory] conmon-2.1.12/src/ctr_logging.c:169:39: note: Assuming allocation function fails conmon-2.1.12/src/ctr_logging.c:169:39: note: Assignment 'syslog_identifier=g_strdup_printf("SYSLOG_IDENTIFIER=%s",tag)', assigned value is 0 conmon-2.1.12/src/ctr_logging.c:170:35: note: Null pointer dereference 2.17.0 conmon-2.1.12/src/ctrl.c:149:40: warning: If memory allocation fails, then there is a possible null pointer dereference: hw_str [nullPointerOutOfMemory] conmon-2.1.12/src/ctrl.c:148:48: note: Assuming allocation function fails conmon-2.1.12/src/ctrl.c:148:48: note: Assignment 'hw_str=g_strdup_printf("%d %d\n",height,width)', assigned value is 0 conmon-2.1.12/src/ctrl.c:149:40: note: Null pointer dereference 2.17.0 conmon-2.1.12/src/parent_pipe_fd.c:53:15: warning: If memory allocation fails, then there is a possible null pointer dereference: json [nullPointerOutOfMemory] conmon-2.1.12/src/parent_pipe_fd.c:48:25: note: Assuming allocation function fails conmon-2.1.12/src/parent_pipe_fd.c:48:25: note: Assignment 'json=g_strdup_printf("{\"%s\": %d, \"message\": \"%s\"}\n",res_key,res,escaped_message)', assigned value is 0 conmon-2.1.12/src/parent_pipe_fd.c:53:15: note: Null pointer dereference DONE