2025-10-24 07:07 ftp://ftp.de.debian.org/debian/pool/main/u/uhub/uhub_0.5.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sqlite3 --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 -j4 platform: Linux-6.12.48+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 1023d9b (2025-10-24 08:20:21 +0200) count: 345 344 elapsed-time: 3.2 2.8 head-timing-info: old-timing-info: head results: modelrockettier-uhub-a8ee6e7/src/core/auth.c:347:2: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] modelrockettier-uhub-a8ee6e7/src/adc/sid.c:49:8: style: Variable 'factors' can be declared as const array [constVariable] modelrockettier-uhub-a8ee6e7/src/core/command_parser.c:31:10: error: Syntax Error: AST broken, 'switch' doesn't have two operands. [internalAstError] modelrockettier-uhub-a8ee6e7/src/core/commands.c:393:41: error: There is an unknown macro here somewhere. Configuration is required. If PRODUCT_STRING is a macro then please configure it. [unknownMacro] modelrockettier-uhub-a8ee6e7/src/adc/message.c:230:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/adc/message.c:250:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adc_message [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/adc/message.c:326:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adc_message [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/adc/message.c:557:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adc_message [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/eventqueue.c:32:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable event_queue [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/eventqueue.c:110:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable event_data [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/eventqueue.c:105:69: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/autotest/test.c:72:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exotic_test_setup [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/autotest/test.c:959:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/autotest/test.c:995:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/autotest/test.c:1031:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/config.c:53:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:1065:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/config.c:121:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_config [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/adc/message.c:593:7: style: Variable 'prefix' can be declared as const array [constVariable] modelrockettier-uhub-a8ee6e7/src/adc/message.c:645:7: style: Variable 'prefix' can be declared as const array [constVariable] modelrockettier-uhub-a8ee6e7/src/adc/message.c:667:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/adc/message.c:670:7: style: Variable 'prefix' can be declared as const array [constVariable] modelrockettier-uhub-a8ee6e7/src/adc/message.c:904:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/adc/message.c:935:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/adc/message.c:596:18: style: Variable 'temp_len' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/autotest/test.c:890:50: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/hub.c:784:23: error: There is an unknown macro here somewhere. Configuration is required. If PRODUCT is a macro then please configure it. [unknownMacro] modelrockettier-uhub-a8ee6e7/src/core/hubevent.c:31:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state_normal [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/hubevent.c:47:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status_level_fatal [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/hubevent.c:54:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status_level_fatal [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/ioqueue.c:39:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ioq_recv [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/ioqueue.c:93:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ioq_send [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/ioqueue.c:67:47: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/ioqueue.c:164:40: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/ioqueue.c:169:44: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/main.c:232:58: error: There is an unknown macro here somewhere. Configuration is required. If SERVER_CONFIG is a macro then please configure it. [unknownMacro] modelrockettier-uhub-a8ee6e7/src/core/inf.c:32:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_CLIENT_TYPE [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:46:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_SUPPORT [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:78:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CID_LEN [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:96:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_CLIENT_ID [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:158:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_CLIENT_ID [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:197:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_IPV4_ADDR [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:228:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_IPV6_ADDR [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:237:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nick_invalid_short [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:255:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nick_invalid_spaces [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:273:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nick_invalid_bad_utf8 [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:284:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_NICK [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:341:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit_ghost_timeout [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:375:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_USER_AGENT_PRODUCT [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:408:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status_msg_ban_permanently [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:426:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_SHARED_SIZE [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:561:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_guest [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:653:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_USER_AGENT_VERSION [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:703:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_INF_FLAG_PRIVATE_ID [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:779:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UHUB_EVENT_USER_JOIN [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/netevent.c:26:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_RECV_BUF [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/netevent.c:118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit_socket_error [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/netevent.c:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_TIMEOUT [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/netevent.c:186:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EWOULDBLOCK [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/inf.c:615:47: style: Parameter 'hub' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/inf.c:629:57: style: Parameter 'hub' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/inf.c:649:59: style: Parameter 'hub' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/inf.c:371:12: style: Variable 'str' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/core/inf.c:497:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/core/plugincallback.c:45:6: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] modelrockettier-uhub-a8ee6e7/src/core/netevent.c:173:20: style: Variable 'probe' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/core/netevent.c:134:17: style: Variable 'flag_close' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/core/plugininvoke.c:84:2: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] modelrockettier-uhub-a8ee6e7/src/core/pluginloader.c:39:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uhub_plugin [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/pluginloader.c:103:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_handle [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/pluginloader.c:223:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/probe.c:29:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_TIMEOUT [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/probe.c:126:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_READ [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/core/probe.c:115:84: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/route.c:159:6: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] modelrockettier-uhub-a8ee6e7/src/core/pluginloader.c:105:74: warning: Either the condition '!plugin' is redundant or there is possible null pointer dereference: plugin. [nullPointerRedundantCheck] modelrockettier-uhub-a8ee6e7/src/core/pluginloader.c:107:6: note: Assuming that condition '!plugin' is not redundant modelrockettier-uhub-a8ee6e7/src/core/pluginloader.c:105:74: note: Null pointer dereference modelrockettier-uhub-a8ee6e7/src/core/pluginloader.c:170:8: style: Variable 'directive' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/core/pluginloader.c:248:31: style: Variable 'data' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/core/user.c:238:6: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] modelrockettier-uhub-a8ee6e7/src/core/usermanager.c:152:6: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] modelrockettier-uhub-a8ee6e7/src/network/backend.c:171:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_CLEANUP [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/backend.c:209:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_CLEANUP [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/connection.c:31:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EWOULDBLOCK [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/connection.c:43:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UHUB_SEND_SIGNAL [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/connection.c:90:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/connection.c:148:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_CLEANUP [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/connection.c:199:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/connection.c:242:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/connection.c:273:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_WRITE [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/connection.c:290:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_TIMEOUT [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/connection.c:394:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/connection.c:530:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_TIMEOUT [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/connection.c:538:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout_evt [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/dnsresolver.c:126:29: error: Syntax Error: AST broken, 'result' doesn't have a parent. [internalAstError] modelrockettier-uhub-a8ee6e7/src/network/connection.c:110:43: style: Parameter 'con' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/network/connection.c:115:46: style: Parameter 'con' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/network/connection.c:254:60: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/network/connection.c:287:26: style: Variable 'next_job' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/network/connection.c:388:94: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/network/connection.c:377:6: style: Unused variable: ret4 [unusedVariable] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:62:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:72:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:94:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in6 [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:186:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_addr_encap [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:234:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_addr_encap [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:282:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_addr_encap [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:322:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_addr_encap [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:365:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:421:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:481:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip_addr_encap [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:128:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:196:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:225:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFD [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:314:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RD [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:323:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:332:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:343:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:423:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINPROGRESS [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:445:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAFNOSUPPORT [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:544:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:599:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:638:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:693:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EWOULDBLOCK [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:716:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EWOULDBLOCK [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:753:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable net_statistics [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:774:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable net_statistics [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:780:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMEOUT_STATS [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/network.c:339:30: style: Variable 'addr4' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/network/notify.c:77:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_READ [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/notify.c:91:21: style: Variable 'handle->pipe_fd[0]' is reassigned a value before the old one has been used. [redundantAssignment] modelrockettier-uhub-a8ee6e7/src/network/notify.c:90:21: note: handle->pipe_fd[0] is assigned modelrockettier-uhub-a8ee6e7/src/network/notify.c:91:21: note: handle->pipe_fd[0] is overwritten modelrockettier-uhub-a8ee6e7/src/network/notify.c:96:51: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/network/timeout.c:237:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prev [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:173:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:194:22: warning: Shifting 32-bit value by 32 bits is undefined behaviour. See condition at line 195. [shiftTooManyBits] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:195:12: note: Assuming that condition 'bits==0' is not redundant modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:194:22: note: Shift modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:242:22: warning: Shifting 32-bit value by 32 bits is undefined behaviour. See condition at line 243. [shiftTooManyBits] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:243:12: note: Assuming that condition 'bits==0' is not redundant modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:242:22: note: Shift modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:173:8: style: Variable 'addr' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:293:14: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:333:14: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:381:14: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:450:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/network/ipcalc.c:451:13: style: Variable 'addr' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/network/timeout.c:36:50: style: Parameter 't' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/network/timeout.c:119:61: style: Parameter 't' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/network/timeout.c:103:26: style: Variable 'evt' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/network/timeout.c:168:8: style: Variable 'prev' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_simple.c:183:6: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history.c:82:6: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:160:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NICK_LEN [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:185:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_info [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:221:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:242:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:253:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_deny [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history_sqlite.c:127:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NICK_LEN [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history_sqlite.c:163:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history_sqlite.c:175:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_cmd_arg_type_integer [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history_sqlite.c:321:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_command_handle [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:41:32: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'null_callback' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:235:28: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:41:32: note: Parameter 'ptr' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:249:78: style: Parameter 'user' can be declared as pointer to const. However it seems that 'delete_user' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:265:35: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:249:78: note: Parameter 'user' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:251:19: style: Variable 'sql' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/plugins/mod_auth_sqlite.c:64:13: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_is_privileged.c:138:5: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history_sqlite.c:48:32: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'null_callback' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history_sqlite.c:229:20: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history_sqlite.c:48:32: note: Parameter 'ptr' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history_sqlite.c:101:75: style: Parameter 'from' can be declared as pointer to const. However it seems that 'history_add' is a callback function, if 'from' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history_sqlite.c:310:39: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history_sqlite.c:101:75: note: Parameter 'from' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_history_sqlite.c:79:13: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:91:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_deny [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_allow [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_allow [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_example.c:38:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_command_handle [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:89:57: style: Parameter 'plugin' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'plugin' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:149:35: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:89:57: note: Parameter 'plugin' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:89:85: style: Parameter 'from' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'from' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:149:35: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:89:85: note: Parameter 'from' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:89:111: style: Parameter 'to' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'to' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:149:35: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_chat_only.c:89:111: note: Parameter 'to' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:25:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_user [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:33:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_user [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:40:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_user [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:23:57: style: Parameter 'plugin' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'plugin' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:50:35: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:23:57: note: Parameter 'plugin' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:23:85: style: Parameter 'from' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'from' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:50:35: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:23:85: note: Parameter 'from' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:23:111: style: Parameter 'to' can be declared as pointer to const. However it seems that 'on_search_result' is a callback function, if 'to' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:50:35: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:23:111: note: Parameter 'to' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:30:50: style: Parameter 'plugin' can be declared as pointer to const. However it seems that 'on_search' is a callback function, if 'plugin' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:49:28: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:30:50: note: Parameter 'plugin' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:30:78: style: Parameter 'user' can be declared as pointer to const. However it seems that 'on_search' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:49:28: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:30:78: note: Parameter 'user' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:38:55: style: Parameter 'plugin' can be declared as pointer to const. However it seems that 'on_p2p_connect' is a callback function, if 'plugin' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:51:33: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:38:55: note: Parameter 'plugin' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:38:83: style: Parameter 'from' can be declared as pointer to const. However it seems that 'on_p2p_connect' is a callback function, if 'from' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:51:33: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:38:83: note: Parameter 'from' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:38:109: style: Parameter 'to' can be declared as pointer to const. However it seems that 'on_p2p_connect' is a callback function, if 'to' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:51:33: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:38:109: note: Parameter 'to' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/plugins/mod_no_guest_downloads.c:56:45: style: Parameter 'plugin' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:48:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode_file [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:60:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:68:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_USER [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:99:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode_file [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:160:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode_file [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode_file [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:185:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:146:7: style: Condition '!log_open_syslog(plugin)' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:146:23: note: Calling function 'log_open_syslog' returns 1 modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:146:7: note: Condition '!log_open_syslog(plugin)' is always false modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:66:50: style: Parameter 'plugin' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:174:42: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:177:13: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/plugins/mod_logging.c:180:15: style: Variable 'size' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/plugins/mod_topic.c:35:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_cmd_arg_type_string [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_topic.c:70:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_command_handle [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_welcome.c:51:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_welcome.c:127:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plugin_command_handle [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/plugins/mod_welcome.c:170:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] modelrockettier-uhub-a8ee6e7/src/plugins/mod_welcome.c:230:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/plugins/mod_welcome.c:242:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:157:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:178:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_TIMEOUT [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:288:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_CLIENT_LOGGING_IN [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:484:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit_socket_error [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:515:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NET_EVENT_READ [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:522:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_CMD_BINF [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:655:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_CLIENT_CONNECTED [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:707:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_CLIENT_LOGGED_IN [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:738:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:58:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:135:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:255:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout_evt [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:446:9: style: Condition 'running' is always true [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:252:21: style: Local variable 'client' shadows outer variable [shadowVariable] modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:402:27: note: Shadowed declaration modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:252:21: note: Shadow variable modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:393:22: style: Local variable 'client' shadows outer variable [shadowVariable] modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:402:27: note: Shadowed declaration modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:393:22: note: Shadow variable modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:407:6: style: Local variable 'logged_in' shadows outer variable [shadowVariable] modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:45:12: note: Shadowed declaration modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:407:6: note: Shadow variable modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:125:43: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:218:17: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:270:9: style: Variable 'p' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/tools/adcrush.c:277:24: style: Unused variable: c [unusedVariable] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:136:20: style: The statement 'if (client->state!=state) client->state=state' is logically equivalent to 'client->state=state'. [duplicateConditionalAssign] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:141:17: note: Assignment 'client->state=state' modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:136:20: note: Condition 'client->state!=state' is redundant modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:757:58: style: Comparing expression of type 'unsigned short' against value 65535. Condition is always false. [compareValueOutOfTypeRangeError] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:750:14: style: Redundant initialization for 'hub_address'. The initialized value is overwritten before it is read. [redundantInitialization] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:723:26: note: hub_address is initialized modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:750:14: note: hub_address is overwritten modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:757:27: style: Checking if unsigned expression 'client->address.port' is less than zero. [unsignedLessThanZero] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:323:36: style: Local variable 'data' shadows outer variable [shadowVariable] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:258:34: note: Shadowed declaration modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:323:36: note: Shadow variable modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:360:38: style: Local variable 'data' shadows outer variable [shadowVariable] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:258:34: note: Shadowed declaration modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:360:38: note: Shadow variable modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:103:49: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/tools/adcclient.c:724:8: style: Variable 'split' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/tools/admin.c:77:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/admin.c:209:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_ONSTACK [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/admin.c:71:11: style: Condition 'ret>0' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/tools/admin.c:68:8: note: Assignment 'ret=0', assigned value is 0 modelrockettier-uhub-a8ee6e7/src/tools/admin.c:71:11: note: Condition 'ret>0' is always false modelrockettier-uhub-a8ee6e7/src/tools/admin.c:68:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] modelrockettier-uhub-a8ee6e7/src/tools/admin.c:66:6: note: ret is assigned modelrockettier-uhub-a8ee6e7/src/tools/admin.c:68:6: note: ret is overwritten modelrockettier-uhub-a8ee6e7/src/tools/admin.c:40:19: style: Variable 'user' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/tools/admin.c:47:19: style: Variable 'user' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/tools/admin.c:74:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/util/cbuffer.c:108:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/util/cbuffer.c:113:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:125:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NICK_LEN [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PASS_LEN [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:282:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:306:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:331:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:354:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/config_token.c:127:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:81:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:76:14: note: Assuming allocation function fails modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:76:14: note: Assignment 'buf=malloc(size+1)', assigned value is 0 modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:81:3: note: Null pointer dereference modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:83:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:76:14: note: Assuming allocation function fails modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:76:14: note: Assignment 'buf=malloc(size+1)', assigned value is 0 modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:83:2: note: Null pointer dereference modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:264:8: style: Local variable 'pass' shadows outer function [shadowFunction] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:35:12: note: Shadowed declaration modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:264:8: note: Shadow variable modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:185:31: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'sql_callback' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:203:31: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:185:31: note: Parameter 'ptr' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:44:14: style: struct member 'commands::usage' is never used. [unusedStructMember] modelrockettier-uhub-a8ee6e7/src/tools/uhub-passwd.c:211:11: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] modelrockettier-uhub-a8ee6e7/src/util/config_token.c:217:9: style: Variable 'val' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/util/config_token.c:254:55: style: Parameter 's' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/util/config_token.c:259:57: style: Parameter 's' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/util/config_token.c:177:12: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/util/credentials.c:114:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auth_cred_operator [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/floodctl.c:24:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flood_control [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/list.c:25:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linked_list [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/list.c:60:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linked_list [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/list.c:66:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/log.c:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/log.c:119:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/log.c:206:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/log.c:193:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] modelrockettier-uhub-a8ee6e7/src/util/log.c:162:13: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/util/list.c:43:30: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'dummy_free' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/util/list.c:52:18: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/util/list.c:43:30: note: Parameter 'ptr' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/util/list.c:175:38: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/util/list.c:181:42: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:125:7: style: Condition '!apply_string(key,data,&config->server_bind_addr,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:125:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:125:7: note: Condition '!apply_string(key,data,&config->server_bind_addr,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:146:7: style: Condition '!apply_string(key,data,&config->server_alt_ports,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:146:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:146:7: note: Condition '!apply_string(key,data,&config->server_alt_ports,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:228:7: style: Condition '!apply_string(key,data,&config->hub_name,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:228:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:228:7: note: Condition '!apply_string(key,data,&config->hub_name,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:238:7: style: Condition '!apply_string(key,data,&config->hub_description,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:238:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:238:7: note: Condition '!apply_string(key,data,&config->hub_description,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:248:7: style: Condition '!apply_string(key,data,&config->redirect_addr,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:248:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:248:7: note: Condition '!apply_string(key,data,&config->redirect_addr,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:529:7: style: Condition '!apply_string(key,data,&config->tls_require_redirect_addr,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:529:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:529:7: note: Condition '!apply_string(key,data,&config->tls_require_redirect_addr,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:539:7: style: Condition '!apply_string(key,data,&config->tls_certificate,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:539:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:539:7: note: Condition '!apply_string(key,data,&config->tls_certificate,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:549:7: style: Condition '!apply_string(key,data,&config->tls_private_key,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:549:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:549:7: note: Condition '!apply_string(key,data,&config->tls_private_key,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:559:7: style: Condition '!apply_string(key,data,&config->tls_ciphersuite,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:559:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:559:7: note: Condition '!apply_string(key,data,&config->tls_ciphersuite,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:569:7: style: Condition '!apply_string(key,data,&config->tls_version,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:569:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:569:7: note: Condition '!apply_string(key,data,&config->tls_version,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:579:7: style: Condition '!apply_string(key,data,&config->file_acl,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:579:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:579:7: note: Condition '!apply_string(key,data,&config->file_acl,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:589:7: style: Condition '!apply_string(key,data,&config->file_plugins,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:589:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:589:7: note: Condition '!apply_string(key,data,&config->file_plugins,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:599:7: style: Condition '!apply_string(key,data,&config->msg_hub_full,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:599:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:599:7: note: Condition '!apply_string(key,data,&config->msg_hub_full,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:609:7: style: Condition '!apply_string(key,data,&config->msg_hub_disabled,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:609:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:609:7: note: Condition '!apply_string(key,data,&config->msg_hub_disabled,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:619:7: style: Condition '!apply_string(key,data,&config->msg_hub_registered_users_only,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:619:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:619:7: note: Condition '!apply_string(key,data,&config->msg_hub_registered_users_only,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:629:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_missing,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:629:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:629:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_missing,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:639:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_multiple,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:639:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:639:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_multiple,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:649:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_invalid,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:649:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:649:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_invalid,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:659:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_long,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:659:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:659:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_long,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:669:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_short,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:669:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:669:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_short,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:679:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_spaces,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:679:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:679:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_spaces,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:689:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_bad_chars,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:689:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:689:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_bad_chars,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:699:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_not_utf8,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:699:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:699:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_not_utf8,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:709:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_taken,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:709:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:709:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_taken,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:719:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_nick_restricted,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:719:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:719:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_nick_restricted,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:729:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_cid_invalid,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:729:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:729:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_cid_invalid,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:739:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_cid_missing,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:739:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:739:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_cid_missing,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:749:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_cid_taken,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:749:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:749:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_cid_taken,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:759:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_pid_missing,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:759:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:759:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_pid_missing,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:769:7: style: Condition '!apply_string(key,data,&config->msg_inf_error_pid_invalid,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:769:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:769:7: note: Condition '!apply_string(key,data,&config->msg_inf_error_pid_invalid,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:779:7: style: Condition '!apply_string(key,data,&config->msg_ban_permanently,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:779:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:779:7: note: Condition '!apply_string(key,data,&config->msg_ban_permanently,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:789:7: style: Condition '!apply_string(key,data,&config->msg_ban_temporarily,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:789:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:789:7: note: Condition '!apply_string(key,data,&config->msg_ban_temporarily,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:799:7: style: Condition '!apply_string(key,data,&config->msg_auth_invalid_password,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:799:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:799:7: note: Condition '!apply_string(key,data,&config->msg_auth_invalid_password,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:809:7: style: Condition '!apply_string(key,data,&config->msg_auth_user_not_found,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:809:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:809:7: note: Condition '!apply_string(key,data,&config->msg_auth_user_not_found,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:819:7: style: Condition '!apply_string(key,data,&config->msg_error_no_memory,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:819:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:819:7: note: Condition '!apply_string(key,data,&config->msg_error_no_memory,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:829:7: style: Condition '!apply_string(key,data,&config->msg_user_share_size_low,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:829:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:829:7: note: Condition '!apply_string(key,data,&config->msg_user_share_size_low,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:839:7: style: Condition '!apply_string(key,data,&config->msg_user_share_size_high,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:839:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:839:7: note: Condition '!apply_string(key,data,&config->msg_user_share_size_high,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:849:7: style: Condition '!apply_string(key,data,&config->msg_user_slots_low,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:849:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:849:7: note: Condition '!apply_string(key,data,&config->msg_user_slots_low,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:859:7: style: Condition '!apply_string(key,data,&config->msg_user_slots_high,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:859:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:859:7: note: Condition '!apply_string(key,data,&config->msg_user_slots_high,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:869:7: style: Condition '!apply_string(key,data,&config->msg_user_hub_limit_low,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:869:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:869:7: note: Condition '!apply_string(key,data,&config->msg_user_hub_limit_low,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:879:7: style: Condition '!apply_string(key,data,&config->msg_user_hub_limit_high,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:879:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:879:7: note: Condition '!apply_string(key,data,&config->msg_user_hub_limit_high,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:889:7: style: Condition '!apply_string(key,data,&config->msg_user_flood_chat,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:889:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:889:7: note: Condition '!apply_string(key,data,&config->msg_user_flood_chat,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:899:7: style: Condition '!apply_string(key,data,&config->msg_user_flood_connect,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:899:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:899:7: note: Condition '!apply_string(key,data,&config->msg_user_flood_connect,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:909:7: style: Condition '!apply_string(key,data,&config->msg_user_flood_search,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:909:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:909:7: note: Condition '!apply_string(key,data,&config->msg_user_flood_search,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:919:7: style: Condition '!apply_string(key,data,&config->msg_user_flood_update,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:919:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:919:7: note: Condition '!apply_string(key,data,&config->msg_user_flood_update,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:929:7: style: Condition '!apply_string(key,data,&config->msg_user_flood_extras,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:929:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:929:7: note: Condition '!apply_string(key,data,&config->msg_user_flood_extras,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:939:7: style: Condition '!apply_string(key,data,&config->msg_proto_no_common_hash,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:939:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:939:7: note: Condition '!apply_string(key,data,&config->msg_proto_no_common_hash,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:949:7: style: Condition '!apply_string(key,data,&config->msg_proto_obsolete_adc0,(char*)"")' is always false [knownConditionTrueFalse] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:949:20: note: Calling function 'apply_string' returns 1 modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:949:7: note: Condition '!apply_string(key,data,&config->msg_proto_obsolete_adc0,(char*)"")' is always false modelrockettier-uhub-a8ee6e7/src/core/config.c:49:79: style: Parameter 'min' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/config.c:49:89: style: Parameter 'max' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:96:69: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:98:10: style: Variable 'max' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/core/gen_config.c:99:10: style: Variable 'min' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/util/misc.c:253:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_RECV_BUF [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/misc.c:344:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRINTF_SIZE_T [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/misc.c:361:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRINTF_UINT64_T [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/misc.c:411:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_free [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/rbtree.c:162:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hub_malloc [valueFlowBailoutIncompleteVar] modelrockettier-uhub-a8ee6e7/src/util/misc.c:439:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] modelrockettier-uhub-a8ee6e7/src/util/misc.c:204:23: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] modelrockettier-uhub-a8ee6e7/src/util/misc.c:198:20: note: Assuming allocation function fails modelrockettier-uhub-a8ee6e7/src/util/misc.c:198:20: note: Assignment 'buf=strdup(string)', assigned value is 0 modelrockettier-uhub-a8ee6e7/src/util/misc.c:203:10: note: Assignment 'start=buf', assigned value is 0 modelrockettier-uhub-a8ee6e7/src/util/misc.c:204:23: note: Null pointer dereference modelrockettier-uhub-a8ee6e7/src/util/misc.c:381:8: style: Variable 'c_pat' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/util/misc.c:396:8: style: Variable 'tmp1' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/util/misc.c:439:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] modelrockettier-uhub-a8ee6e7/src/util/misc.c:69:11: style: Variable 'div' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/util/misc.c:148:21: style: Variable 'word' is assigned a value that is never used. [unreadVariable] modelrockettier-uhub-a8ee6e7/src/util/rbtree.c:178:71: style:inconclusive: Function 'rb_tree_insert' argument 3 names different: declaration 'data' definition 'value'. [funcArgNamesDifferent] modelrockettier-uhub-a8ee6e7/src/util/rbtree.h:74:78: note: Function 'rb_tree_insert' argument 3 names different: declaration 'data' definition 'value'. modelrockettier-uhub-a8ee6e7/src/util/rbtree.c:178:71: note: Function 'rb_tree_insert' argument 3 names different: declaration 'data' definition 'value'. modelrockettier-uhub-a8ee6e7/src/util/rbtree.c:49:35: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/util/rbtree.c:193:37: style: Parameter 'n' can be declared as pointer to const. However it seems that 'null_node_free' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] modelrockettier-uhub-a8ee6e7/src/util/rbtree.c:197:41: note: You might need to cast the function pointer here modelrockettier-uhub-a8ee6e7/src/util/rbtree.c:193:37: note: Parameter 'n' can be declared as pointer to const modelrockettier-uhub-a8ee6e7/src/util/rbtree.c:297:37: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] modelrockettier-uhub-a8ee6e7/src/util/tiger.c:49:31: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] diff: head modelrockettier-uhub-a8ee6e7/src/util/misc.c:396:8: style: Variable 'tmp1' can be declared as pointer to const [constVariablePointer] DONE