2025-05-05 06:16 ftp://ftp.de.debian.org/debian/pool/main/k/kannel/kannel_1.4.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=pcre --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 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 88ef81e (2025-05-02 08:42:38 +0200) count: 1463 1447 elapsed-time: 32.8 31.7 head-timing-info: old-timing-info: head results: gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:490:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable admin [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:559:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMPP_ESME_ROK [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:735:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSM_ADDR_TON_NATIONAL [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:1101:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable submit_sm [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:1303:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_sm [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:1513:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:1746:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:1932:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2163:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2281:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2471:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BB_DEFAULT_HOST [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2639:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VERSION [valueFlowBailoutIncompleteVar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:813:67: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:1004:9: style: Condition 'catenate' is always true [knownConditionTrueFalse] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:1002:16: note: Assignment 'catenate=1', assigned value is 1 gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:1004:9: note: Condition 'catenate' is always true gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:881:3: warning: %ld in format string (no. 1) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:290:3: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:498:51: style: Parameter 'boxconn' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:500:13: style: Variable 'pack' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2266:32: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2566:48: style: Parameter 'group' can be declared as pointer to const. However it seems that 'smppbox_is_allowed_in_group' is a callback function, if 'group' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2632:16: note: You might need to cast the function pointer here gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2566:48: note: Parameter 'group' can be declared as pointer to const gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2566:63: style: Parameter 'variable' can be declared as pointer to const. However it seems that 'smppbox_is_allowed_in_group' is a callback function, if 'variable' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2632:16: note: You might need to cast the function pointer here gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2566:63: note: Parameter 'variable' can be declared as pointer to const gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2568:13: style: Variable 'groupstr' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2598:44: style: Parameter 'query' can be declared as pointer to const. However it seems that 'smppbox_is_single_group' is a callback function, if 'query' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2632:45: note: You might need to cast the function pointer here gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2598:44: note: Parameter 'query' can be declared as pointer to const gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:520:12: warning: Uninitialized variable: msg [uninitvar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:504:19: note: Assuming condition is false gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:520:12: note: Uninitialized variable: msg gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:1811:7: warning: Uninitialized variable: smsc_id [uninitvar] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:1804:25: note: Assuming condition is false gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:1811:7: note: Uninitialized variable: smsc_id gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2156:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/addons/opensmppbox/gw/opensmppbox.c:2570:14: style: Variable 'groupstr' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/addons/sqlbox/gw/sqlbox.c:98:0: error: #error You need support for at least one DB engine. Please recompile Kannel. [preprocessorErrorDirective] gateway-1.4.5/addons/sqlbox/gw/sqlbox.c:98:2: error: #error You need support for at least one DB engine. Please recompile Kannel. [preprocessorErrorDirective] gateway-1.4.5/addons/sqlbox/gw/sqlbox_sql.c:4:42: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/checks/check_counter.c:99:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_INFO [valueFlowBailoutIncompleteVar] gateway-1.4.5/checks/check_date.c:121:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_INFO [valueFlowBailoutIncompleteVar] gateway-1.4.5/checks/check_ipcheck.c:89:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_INFO [valueFlowBailoutIncompleteVar] gateway-1.4.5/checks/check_list.c:271:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_INFO [valueFlowBailoutIncompleteVar] gateway-1.4.5/checks/check_list.c:181:31: style: Parameter 'item' can be declared as pointer to const. However it seems that 'compare_cstr' is a callback function, if 'item' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/checks/check_list.c:243:6: note: You might need to cast the function pointer here gateway-1.4.5/checks/check_list.c:181:31: note: Parameter 'item' can be declared as pointer to const gateway-1.4.5/checks/check_list.c:181:43: style: Parameter 'pat' can be declared as pointer to const. However it seems that 'compare_cstr' is a callback function, if 'pat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/checks/check_list.c:243:6: note: You might need to cast the function pointer here gateway-1.4.5/checks/check_list.c:181:43: note: Parameter 'pat' can be declared as pointer to const gateway-1.4.5/checks/check_list.c:198:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/checks/check_list.c:232:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/checks/check_list.c:146:22: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] gateway-1.4.5/checks/check_octstr.c:117:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_INFO [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_alog.c:254:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:200:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:222:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:320:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:486:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:506:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:551:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:737:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:1001:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:1022:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAIN_THREAD_ID [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:1079:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAIN_THREAD_ID [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:1165:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:1270:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_boxc.c:1227:23: style:inconclusive: Function 'smsbox_start' argument 1 names different: declaration 'config' definition 'cfg'. [funcArgNamesDifferent] gateway-1.4.5/gw/bearerbox.h:109:23: note: Function 'smsbox_start' argument 1 names different: declaration 'config' definition 'cfg'. gateway-1.4.5/gw/bb_boxc.c:1227:23: note: Function 'smsbox_start' argument 1 names different: declaration 'config' definition 'cfg'. gateway-1.4.5/gw/bb_boxc.c:1292:25: style:inconclusive: Function 'smsbox_restart' argument 1 names different: declaration 'config' definition 'cfg'. [funcArgNamesDifferent] gateway-1.4.5/gw/bearerbox.h:110:25: note: Function 'smsbox_restart' argument 1 names different: declaration 'config' definition 'cfg'. gateway-1.4.5/gw/bb_boxc.c:1292:25: note: Function 'smsbox_restart' argument 1 names different: declaration 'config' definition 'cfg'. gateway-1.4.5/gw/bb_boxc.c:1305:23: style:inconclusive: Function 'wapbox_start' argument 1 names different: declaration 'config' definition 'cfg'. [funcArgNamesDifferent] gateway-1.4.5/gw/bearerbox.h:112:23: note: Function 'wapbox_start' argument 1 names different: declaration 'config' definition 'cfg'. gateway-1.4.5/gw/bb_boxc.c:1305:23: note: Function 'wapbox_start' argument 1 names different: declaration 'config' definition 'cfg'. gateway-1.4.5/gw/bb_boxc.c:849:11: style: Variable 'boxc' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/bb_boxc.c:850:14: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/bb_boxc.c:1292:25: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/bb_boxc.c:1675:10: style: Variable 'newmsg' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/bb_boxc.c:1675:19: style: Variable 'startmsg' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/bb_http.c:261:34: error: There is an unknown macro here somewhere. Configuration is required. If GW_NAME is a macro then please configure it. [unknownMacro] gateway-1.4.5/gw/bb_smscconn.c:658:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAIN_THREAD_ID [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_smscconn.c:845:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_smscconn.c:2146:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_smscconn.c:806:22: style:inconclusive: Function 'smsc2_start' argument 1 names different: declaration 'config' definition 'cfg'. [funcArgNamesDifferent] gateway-1.4.5/gw/bearerbox.h:151:22: note: Function 'smsc2_start' argument 1 names different: declaration 'config' definition 'cfg'. gateway-1.4.5/gw/bb_smscconn.c:806:22: note: Function 'smsc2_start' argument 1 names different: declaration 'config' definition 'cfg'. gateway-1.4.5/gw/bb_smscconn.c:2154:51: style:inconclusive: Function 'concat_handling_check_and_handle' argument 1 names different: declaration 'msg' definition 'pmsg'. [funcArgNamesDifferent] gateway-1.4.5/gw/bb_smscconn.c:176:51: note: Function 'concat_handling_check_and_handle' argument 1 names different: declaration 'msg' definition 'pmsg'. gateway-1.4.5/gw/bb_smscconn.c:2154:51: note: Function 'concat_handling_check_and_handle' argument 1 names different: declaration 'msg' definition 'pmsg'. gateway-1.4.5/gw/bb_smscconn.c:2121:21: style: Local variable 'i' shadows outer variable [shadowVariable] gateway-1.4.5/gw/bb_smscconn.c:2068:13: note: Shadowed declaration gateway-1.4.5/gw/bb_smscconn.c:2121:21: note: Shadow variable gateway-1.4.5/gw/bb_smscconn.c:192:38: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/bb_smscconn.c:653:27: style: Variable 'newmsg' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/bb_store.c:115:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_file.c:150:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_file.c:161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_file.c:200:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_file.c:283:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_file.c:297:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_file.c:368:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_file.c:463:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_file.c:529:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_spool.c:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_spool.c:222:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_spool.c:315:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_spool.c:355:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_store_spool.c:111:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gateway-1.4.5/gw/bb_store_spool.c:270:24: style: Condition 'rc==-1' is always false [knownConditionTrueFalse] gateway-1.4.5/gw/bb_store_spool.c:338:36: style:inconclusive: Function 'store_spool_init' argument 1 names different: declaration 'fname' definition 'store_dir'. [funcArgNamesDifferent] gateway-1.4.5/gw/bb_store.h:116:36: note: Function 'store_spool_init' argument 1 names different: declaration 'fname' definition 'store_dir'. gateway-1.4.5/gw/bb_store_spool.c:338:36: note: Function 'store_spool_init' argument 1 names different: declaration 'fname' definition 'store_dir'. gateway-1.4.5/gw/bb_udp.c:133:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAIN_THREAD_ID [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_udp.c:262:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/bb_udp.c:323:20: style:inconclusive: Function 'udp_start' argument 1 names different: declaration 'config' definition 'cfg'. [funcArgNamesDifferent] gateway-1.4.5/gw/bearerbox.h:134:20: note: Function 'udp_start' argument 1 names different: declaration 'config' definition 'cfg'. gateway-1.4.5/gw/bb_udp.c:323:20: note: Function 'udp_start' argument 1 names different: declaration 'config' definition 'cfg'. gateway-1.4.5/gw/bearerbox.c:842:37: error: There is an unknown macro here somewhere. Configuration is required. If GW_NAME is a macro then please configure it. [unknownMacro] gateway-1.4.5/gw/dlr.c:424:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/dlr.c:512:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/dlr.c:387:76: style:inconclusive: Function 'dlr_find' argument 4 names different: declaration 'type' definition 'typ'. [funcArgNamesDifferent] gateway-1.4.5/gw/dlr.h:107:76: note: Function 'dlr_find' argument 4 names different: declaration 'type' definition 'typ'. gateway-1.4.5/gw/dlr.c:387:76: note: Function 'dlr_find' argument 4 names different: declaration 'type' definition 'typ'. gateway-1.4.5/gw/dlr.c:236:13: style: Local variable 'dlr_type' shadows outer function [shadowFunction] gateway-1.4.5/gw/dlr.h:121:13: note: Shadowed declaration gateway-1.4.5/gw/dlr.c:236:13: note: Shadow variable gateway-1.4.5/gw/dlr_cass.c:427:40: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/dlr_mssql.c:394:41: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/dlr_mysql.c:470:41: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/dlr_oracle.c:428:42: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/dlr_pgsql.c:420:41: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/dlr_redis.c:569:41: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/dlr_sdb.c:477:39: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/dlr_spool.c:230:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/dlr_spool.c:263:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/dlr_spool.c:307:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/dlr_spool.c:381:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/dlr_spool.c:543:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/dlr_spool.c:266:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gateway-1.4.5/gw/dlr_spool.c:311:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gateway-1.4.5/gw/dlr_spool.c:435:16: style: Condition 'rc==-1' is always false [knownConditionTrueFalse] gateway-1.4.5/gw/dlr_sqlite3.c:421:43: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/heartbeat.c:118:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/heartbeat.c:87:11: style: Variable 'threadnrp' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/heartbeat.c:88:21: style: Variable 'info' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/meta_data.c:192:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/meta_data.c:240:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/meta_data.c:295:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/meta_data.c:341:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/meta_data.c:432:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/meta_data.c:368:37: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/mime_decompiler.c:97:34: style: Variable 'headers_len' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/mime_decompiler.c:97:45: style: Variable 'data_len' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/msg.c:115:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/msg.c:154:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/msg.c:258:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/msg.c:287:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/msg.c:176:29: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/msg.c:353:31: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/numhash.c:326:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_METHOD_GET [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/numhash.c:313:37: style:inconclusive: Function 'numhash_create' argument 1 names different: declaration 'url' definition 'seek_url'. [funcArgNamesDifferent] gateway-1.4.5/gw/numhash.h:111:37: note: Function 'numhash_create' argument 1 names different: declaration 'url' definition 'seek_url'. gateway-1.4.5/gw/numhash.c:313:37: note: Function 'numhash_create' argument 1 names different: declaration 'url' definition 'seek_url'. gateway-1.4.5/gw/numhash.c:307:27: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/numhash.c:107:15: style: struct member 'nh_entry::hash' is never used. [unusedStructMember] gateway-1.4.5/gw/numhash.c:108:22: style: struct member 'nh_entry::next' is never used. [unusedStructMember] gateway-1.4.5/gw/numhash.c:112:22: style: struct member 'numhashes::first' is never used. [unusedStructMember] gateway-1.4.5/gw/numhash.c:113:23: style: struct member 'numhashes::last' is never used. [unusedStructMember] gateway-1.4.5/gw/ota_compiler.c:519:45: style:inconclusive: Function 'parse_document' argument 3 names different: declaration 'ota_binary' definition 'otabxml'. [funcArgNamesDifferent] gateway-1.4.5/gw/ota_compiler.c:463:45: note: Function 'parse_document' argument 3 names different: declaration 'ota_binary' definition 'otabxml'. gateway-1.4.5/gw/ota_compiler.c:519:45: note: Function 'parse_document' argument 3 names different: declaration 'ota_binary' definition 'otabxml'. gateway-1.4.5/gw/ota_compiler.c:647:17: style: Variable 'ota_hex' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/ota_compiler.c:684:14: style: Variable 'syncstat' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/ota_prov.c:212:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/ota_prov.c:343:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/ota_prov.c:551:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/shared.c:208:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/shared.c:290:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/shared.c:267:24: style: The if condition is the same as the previous if condition [duplicateCondition] gateway-1.4.5/gw/shared.c:265:24: note: First condition gateway-1.4.5/gw/shared.c:267:24: note: Second condition gateway-1.4.5/gw/shared.c:142:30: style:inconclusive: Function 'write_to_bearerbox' argument 1 names different: declaration 'msg' definition 'pmsg'. [funcArgNamesDifferent] gateway-1.4.5/gw/shared.h:114:30: note: Function 'write_to_bearerbox' argument 1 names different: declaration 'msg' definition 'pmsg'. gateway-1.4.5/gw/shared.c:142:30: note: Function 'write_to_bearerbox' argument 1 names different: declaration 'msg' definition 'pmsg'. gateway-1.4.5/gw/sms.c:139:34: style:inconclusive: Function 'dcs_to_fields' argument 2 names different: declaration 'mode' definition 'dcs'. [funcArgNamesDifferent] gateway-1.4.5/gw/sms.h:141:34: note: Function 'dcs_to_fields' argument 2 names different: declaration 'mode' definition 'dcs'. gateway-1.4.5/gw/sms.c:139:34: note: Function 'dcs_to_fields' argument 2 names different: declaration 'mode' definition 'dcs'. gateway-1.4.5/gw/smsbox.c:176:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:189:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:455:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:702:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_CAST [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:1093:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:1284:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:1683:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:1933:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:2016:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_item_match [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:2482:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FORBIDDEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:2630:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BAD_REQUEST [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:2722:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BAD_REQUEST [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:2791:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FORBIDDEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:3031:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FORBIDDEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:3195:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BAD_REQUEST [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:3393:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:3577:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_NAME [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsbox.c:1704:63: style: Condition 'msg->sms.service!=NULL' is always true [knownConditionTrueFalse] gateway-1.4.5/gw/smsbox.c:1652:21: style: Variable 'dreport' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/http/brunet.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/brunet.c:183:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/brunet.c:204:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/brunet.c:269:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/brunet.c:206:17: style: Local variable 'status' shadows outer argument [shadowArgument] gateway-1.4.5/gw/smsc/http/brunet.c:201:62: note: Shadowed declaration gateway-1.4.5/gw/smsc/http/brunet.c:206:17: note: Shadow variable gateway-1.4.5/gw/smsc/http/brunet.c:306:15: style: Variable 'conndata' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/http/brunet.c:182:14: style: Variable 'len' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/http/clickatell.c:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/clickatell.c:142:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/clickatell.c:160:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/clickatell.c:197:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_UNAUTHORIZED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/clickatell.c:166:19: style: Condition 'msgid!=NULL' is always true [knownConditionTrueFalse] gateway-1.4.5/gw/smsc/http/clickatell.c:138:14: style: Variable 'len' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/http/clickatell.c:239:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/http/generic.c:251:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_ACCEPTED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/generic.c:273:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMS_PARAM_UNDEFINED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/generic.c:454:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_METHOD_GET [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/generic.c:484:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/generic.c:546:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/xidris.c:150:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_METHOD_GET [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/xidris.c:166:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/xidris.c:243:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_UNAUTHORIZED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/http/xidris.c:319:15: style: Variable 'conndata' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/http/xidris.c:106:9: style: Variable 'dcs' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/http/xidris.c:106:21: style: Variable 'esm_class' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smasi_pdu.c:226:11: style: Variable 'type_name' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smpp_pdu.c:122:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smpp_pdu.c:194:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dict_destroy [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smpp_pdu.c:612:57: style: Condition '(type=decode_integer(data_without_len,0,4))==-1' is always false [knownConditionTrueFalse] gateway-1.4.5/gw/smsc/smpp_pdu.c:759:1: style: Label 'err' is not used. [unusedLabel] gateway-1.4.5/gw/smsc/smsc.c:291:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc.c:366:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc.c:643:28: style: Parameter 'smsc' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_at.c:173:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:240:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IGNBRK [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:312:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:483:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:517:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:548:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:728:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_item_match [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:1206:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B300 [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:1289:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_CONNECTING [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:1466:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_KILLED_SHUTDOWN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:1489:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:1500:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DISCONNECTED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:1527:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms_priority_compare [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:1978:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:2108:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLR_SUCCESS [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:2252:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:2384:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMS_PARAM_UNDEFINED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:2746:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_item_match [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_at.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] gateway-1.4.5/gw/smsc/smsc_at.c:845:85: style: Condition 'cmgr_flag=1' is always true [knownConditionTrueFalse] gateway-1.4.5/gw/smsc/smsc_at.c:1341:29: style: Condition 'at2_login_device(privdata)' is always false [knownConditionTrueFalse] gateway-1.4.5/gw/smsc/smsc_at.c:1341:29: note: Calling function 'at2_login_device' returns 0 gateway-1.4.5/gw/smsc/smsc_at.c:1341:29: note: Condition 'at2_login_device(privdata)' is always false gateway-1.4.5/gw/smsc/smsc_at.c:1658:22: warning: Either the condition 'privdata!=NULL' is redundant or there is possible null pointer dereference: privdata. [nullPointerRedundantCheck] gateway-1.4.5/gw/smsc/smsc_at.c:1659:18: note: Assuming that condition 'privdata!=NULL' is not redundant gateway-1.4.5/gw/smsc/smsc_at.c:1658:22: note: Null pointer dereference gateway-1.4.5/gw/smsc/smsc_at.c:1658:56: warning: Either the condition 'privdata!=NULL' is redundant or there is possible null pointer dereference: privdata. [nullPointerRedundantCheck] gateway-1.4.5/gw/smsc/smsc_at.c:1659:18: note: Assuming that condition 'privdata!=NULL' is not redundant gateway-1.4.5/gw/smsc/smsc_at.c:1658:56: note: Null pointer dereference gateway-1.4.5/gw/smsc/smsc_at.c:2603:9: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/smsc/smsc_at.c:2602:9: note: res is assigned gateway-1.4.5/gw/smsc/smsc_at.c:2603:9: note: res is overwritten gateway-1.4.5/gw/smsc/smsc_at.c:2652:9: style: Variable 'res' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/smsc/smsc_at.c:2651:9: note: res is assigned gateway-1.4.5/gw/smsc/smsc_at.c:2652:9: note: res is overwritten gateway-1.4.5/gw/smsc/smsc_at.c:143:12: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gateway-1.4.5/gw/smsc/smsc_at.c:148:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gateway-1.4.5/gw/smsc/smsc_at.c:756:89: style:inconclusive: Function 'at2_send_modem_command' argument 4 names different: declaration 'greaterflag' definition 'gt_flag'. [funcArgNamesDifferent] gateway-1.4.5/gw/smsc/smsc_at.h:231:32: note: Function 'at2_send_modem_command' argument 4 names different: declaration 'greaterflag' definition 'gt_flag'. gateway-1.4.5/gw/smsc/smsc_at.c:756:89: note: Function 'at2_send_modem_command' argument 4 names different: declaration 'greaterflag' definition 'gt_flag'. gateway-1.4.5/gw/smsc/smsc_at.c:764:78: style:inconclusive: Function 'at2_wait_modem_command' argument 3 names different: declaration 'greaterflag' definition 'gt_flag'. [funcArgNamesDifferent] gateway-1.4.5/gw/smsc/smsc_at.h:237:32: note: Function 'at2_wait_modem_command' argument 3 names different: declaration 'greaterflag' definition 'gt_flag'. gateway-1.4.5/gw/smsc/smsc_at.c:764:78: note: Function 'at2_wait_modem_command' argument 3 names different: declaration 'greaterflag' definition 'gt_flag'. gateway-1.4.5/gw/smsc/smsc_at.c:2501:51: style:inconclusive: Function 'at2_encode7bituncompressed' argument 1 names different: declaration 'input' definition 'source'. [funcArgNamesDifferent] gateway-1.4.5/gw/smsc/smsc_at.h:316:51: note: Function 'at2_encode7bituncompressed' argument 1 names different: declaration 'input' definition 'source'. gateway-1.4.5/gw/smsc/smsc_at.c:2501:51: note: Function 'at2_encode7bituncompressed' argument 1 names different: declaration 'input' definition 'source'. gateway-1.4.5/gw/smsc/smsc_at.c:2967:41: style:inconclusive: Function 'at2_error_string' argument 1 names different: declaration 'code' definition 'errcode'. [funcArgNamesDifferent] gateway-1.4.5/gw/smsc/smsc_at.h:399:41: note: Function 'at2_error_string' argument 1 names different: declaration 'code' definition 'errcode'. gateway-1.4.5/gw/smsc/smsc_at.c:2967:41: note: Function 'at2_error_string' argument 1 names different: declaration 'code' definition 'errcode'. gateway-1.4.5/gw/smsc/smsc_at.c:2297:25: style: Local variable 'ret' shadows outer variable [shadowVariable] gateway-1.4.5/gw/smsc/smsc_at.c:2233:9: note: Shadowed declaration gateway-1.4.5/gw/smsc/smsc_at.c:2297:25: note: Shadow variable gateway-1.4.5/gw/smsc/smsc_at.c:2730:13: style: Local variable 'i' shadows outer variable [shadowVariable] gateway-1.4.5/gw/smsc/smsc_at.c:2620:9: note: Shadowed declaration gateway-1.4.5/gw/smsc/smsc_at.c:2730:13: note: Shadow variable gateway-1.4.5/gw/smsc/smsc_at.c:512:11: style: Variable 'ctrlz' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_at.c:1098:19: style: Variable 'modem' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_at.c:1508:37: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'at2_add_msg_cb' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_at.c:1653:22: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_at.c:1508:37: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_at.c:2503:9: style: Variable 'LSBmask' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_at.c:2504:9: style: Variable 'MSBmask' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_at.c:1306:26: style: Variable 'reconnecting' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_at.c:2233:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_cgw.c:389:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_isdigit [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cgw.c:508:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_CONNECTING [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cgw.c:571:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_KILLED_SHUTDOWN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cgw.c:625:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_CONNECTING [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cgw.c:696:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_ACTIVE [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cgw.c:817:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cgw.c:983:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cgw.c:1101:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cgw.c:1172:21: style: Local variable 'ts' shadows outer variable [shadowVariable] gateway-1.4.5/gw/smsc/smsc_cgw.c:1074:13: note: Shadowed declaration gateway-1.4.5/gw/smsc/smsc_cgw.c:1172:21: note: Shadow variable gateway-1.4.5/gw/smsc/smsc_cgw.c:549:37: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'cgw_add_msg_cb' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_cgw.c:522:22: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_cgw.c:549:37: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_cgw.c:588:36: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'cgw_start_cb' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_cgw.c:521:24: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_cgw.c:588:36: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_cgw.c:739:36: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_cgw.c:1031:15: style: Variable 'privdata' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_cgw.c:1073:26: style: Variable 'origmsg' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_cgw.c:622:11: style: Variable 'l' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_cgw.c:623:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_cgw.c:860:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_cimd.c:520:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd.c:700:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd.c:786:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CIMD_PLAIN_DOLLAR_SIGN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd.c:311:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gateway-1.4.5/gw/smsc/smsc_cimd.c:588:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gateway-1.4.5/gw/smsc/smsc_cimd.c:602:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gateway-1.4.5/gw/smsc/smsc_cimd.c:705:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gateway-1.4.5/gw/smsc/smsc_cimd.c:646:17: style: Condition 'tmpbuff==NULL' is always false [knownConditionTrueFalse] gateway-1.4.5/gw/smsc/smsc_cimd.c:507:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gateway-1.4.5/gw/smsc/smsc_cimd.c:511:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gateway-1.4.5/gw/smsc/smsc_cimd.c:442:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gateway-1.4.5/gw/smsc/smsc_cimd.c:445:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gateway-1.4.5/gw/smsc/smsc_cimd.c:267:28: style: Variable 'newline' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_cimd.c:475:11: style: Variable 'tmpchar' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_cimd.c:675:11: style: Variable 'end_of_dataset' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_cimd.c:676:11: style: Variable 'ack' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_cimd.c:676:24: style: Variable 'nck' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_cimd.c:677:11: style: Variable 'cmdspecifier' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_cimd.c:677:33: style: Variable 'errorspecifier' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_cimd.c:767:41: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_cimd2.c:716:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_isdigit [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:746:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_isdigit [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:887:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_isxdigit [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:1330:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:1648:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:1845:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:1948:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:1992:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DISCONNECTED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:2033:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:2103:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLR_EXPIRED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:2158:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DISCONNECTED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:2180:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_ACTIVE [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:2262:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_KILLED_SHUTDOWN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:2316:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_cimd2.c:1430:19: style: Condition 'pdata->no_dlr' is always true [knownConditionTrueFalse] gateway-1.4.5/gw/smsc/smsc_cimd2.c:904:53: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_cimd2.c:1567:48: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_cimd2.c:2239:40: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'cimd2_add_msg_cb' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_cimd2.c:2428:22: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_cimd2.c:2239:40: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_emi.c:168:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:282:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_RECONNECTING [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:425:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_isdigit [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:597:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:941:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable can_write [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:965:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable slots [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:985:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable slots [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:1016:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable can_write [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:1086:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable slots [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:1200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unacked [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:1259:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unacked [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:1272:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keepalive [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:1293:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable can_write [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:1388:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:1494:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:1569:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_KILLED_SHUTDOWN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:1625:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms_priority_compare [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi.c:1252:50: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_emi.c:1270:65: style: Parameter 'server' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_emi.c:1546:33: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'add_msg_cb' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_emi.c:1811:22: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_emi.c:1546:33: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_emi.c:1586:32: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'start_cb' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_emi.c:1810:24: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_emi.c:1586:32: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_emi_x25.c:490:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:688:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:768:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:947:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1076:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_7BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1418:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMI_SWAPPED_CHARS [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:593:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:785:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1006:15: style: Variable 'is_backup' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:987:19: note: is_backup is assigned gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1006:15: note: is_backup is overwritten gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1084:12: style: Variable 'mt' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1055:8: note: mt is assigned gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1084:12: note: mt is overwritten gateway-1.4.5/gw/smsc/smsc_emi_x25.c:372:42: style:inconclusive: Function 'emi_submit_msg' argument 2 names different: declaration 'msg' definition 'omsg'. [funcArgNamesDifferent] gateway-1.4.5/gw/smsc/smsc_p.h:240:42: note: Function 'emi_submit_msg' argument 2 names different: declaration 'msg' definition 'omsg'. gateway-1.4.5/gw/smsc/smsc_emi_x25.c:372:42: note: Function 'emi_submit_msg' argument 2 names different: declaration 'msg' definition 'omsg'. gateway-1.4.5/gw/smsc/smsc_emi_x25.c:408:44: style:inconclusive: Function 'emi_receive_msg' argument 2 names different: declaration 'msg' definition 'tmsg'. [funcArgNamesDifferent] gateway-1.4.5/gw/smsc/smsc_p.h:241:44: note: Function 'emi_receive_msg' argument 2 names different: declaration 'msg' definition 'tmsg'. gateway-1.4.5/gw/smsc/smsc_emi_x25.c:408:44: note: Function 'emi_receive_msg' argument 2 names different: declaration 'msg' definition 'tmsg'. gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1032:85: style:inconclusive: Function 'parse_msg_to_rawmessage' argument 4 names different: declaration 'length' definition 'rawmessage_length'. [funcArgNamesDifferent] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:110:58: note: Function 'parse_msg_to_rawmessage' argument 4 names different: declaration 'length' definition 'rawmessage_length'. gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1032:85: note: Function 'parse_msg_to_rawmessage' argument 4 names different: declaration 'length' definition 'rawmessage_length'. gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1213:52: style:inconclusive: Function 'generate_checksum' argument 1 names different: declaration 'buffer' definition 'buf'. [funcArgNamesDifferent] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:127:52: note: Function 'generate_checksum' argument 1 names different: declaration 'buffer' definition 'buf'. gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1213:52: note: Function 'generate_checksum' argument 1 names different: declaration 'buffer' definition 'buf'. gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1213:72: style:inconclusive: Function 'generate_checksum' argument 2 names different: declaration 'checksum_out' definition 'out'. [funcArgNamesDifferent] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:128:46: note: Function 'generate_checksum' argument 2 names different: declaration 'checksum_out' definition 'out'. gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1213:72: note: Function 'generate_checksum' argument 2 names different: declaration 'checksum_out' definition 'out'. gateway-1.4.5/gw/smsc/smsc_emi_x25.c:199:50: style: Parameter 'OAdC' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:472:56: style: Parameter 'at_prefix' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:755:32: style: Parameter 'smsc' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:794:60: style: Parameter 'buff' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:811:60: style: Parameter 'buff' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:831:11: style: Variable 'stx' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:831:17: style: Variable 'etx' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:895:47: style: Parameter 'smsc' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:896:42: style: Parameter 'rawmessage' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:900:11: style: Variable 'leftslash' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:965:46: style: Parameter 'rawmessage' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1144:40: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_emi_x25.c:1073:17: style: Variable 'udh_len' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_fake.c:132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_8BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_fake.c:169:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_fake.c:305:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLR_SUCCESS [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_fake.c:374:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_fake.c:466:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_fake.c:491:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_KILLED_SHUTDOWN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_fake.c:572:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_CONNECTING [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_fake.c:589:46: error: Invalid close() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] gateway-1.4.5/gw/smsc/smsc_fake.c:510:32: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'start_cb' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_fake.c:580:24: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_fake.c:510:32: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_http.c:268:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_http.c:338:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_http.c:384:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_RECONNECTING [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_http.c:534:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MC_UNDEF [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_http.c:606:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_http.c:643:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMS_PARAM_UNDEFINED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_http.c:833:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_7BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_http.c:863:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_http.c:881:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_KILLED_SHUTDOWN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_http.c:996:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_ACTIVE [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_http.c:811:36: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'httpsmsc_send' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_http.c:1006:22: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_http.c:811:36: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_loopback.c:86:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_loopback.c:141:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_KILLED_SHUTDOWN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_loopback.c:151:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_ACTIVE [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_loopback.c:170:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_CONNECTING [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_ois.c:354:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_ois.c:553:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_ois.c:587:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_ois.c:601:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_ois.c:736:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_ois.c:952:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_8BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_ois.c:981:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_8BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_ois.c:996:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_7BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_ois.c:1081:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_ois.c:1287:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_7BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_ois.c:1209:11: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_ois.c:1210:11: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_ois.c:1211:11: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_ois.c:1212:11: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_ois.c:1213:11: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_ois.c:1214:11: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_ois.c:1215:11: style: Variable 'value' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_ois.c:1332:36: style: Variable 'str[14]' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_oisd.c:505:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMS_PARAM_UNDEFINED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:787:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:1051:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:1145:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:1188:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DISCONNECTED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:1229:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:1299:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLR_FAIL [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:1339:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DISCONNECTED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:1360:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_ACTIVE [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:1440:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_KILLED_SHUTDOWN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:1493:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:1527:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMS_PARAM_UNDEFINED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_oisd.c:590:54: style: Condition 'setvalidity<=635040' is always true [knownConditionTrueFalse] gateway-1.4.5/gw/smsc/smsc_oisd.c:588:25: note: Assuming that condition 'setvalidity>635040' is not redundant gateway-1.4.5/gw/smsc/smsc_oisd.c:590:54: note: Condition 'setvalidity<=635040' is always true gateway-1.4.5/gw/smsc/smsc_oisd.c:641:19: style: Condition 'pdata->no_dlr' is always true [knownConditionTrueFalse] gateway-1.4.5/gw/smsc/smsc_oisd.c:999:17: style: Local variable 'request_name' shadows outer variable [shadowVariable] gateway-1.4.5/gw/smsc/smsc_oisd.c:947:13: note: Shadowed declaration gateway-1.4.5/gw/smsc/smsc_oisd.c:999:17: note: Shadow variable gateway-1.4.5/gw/smsc/smsc_oisd.c:303:17: style: Variable 's' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_oisd.c:340:53: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_oisd.c:503:15: style: Variable 'pdata' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_oisd.c:753:47: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_oisd.c:1418:39: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'oisd_add_msg_cb' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_oisd.c:1585:22: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_oisd.c:1418:39: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_sema.c:227:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_sema.c:331:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_sema.c:522:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_sema.c:556:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_sema.c:584:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_sema.c:631:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_sema.c:730:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_sema.c:784:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_sema.c:573:13: error: Buffer is accessed out of bounds: discnntbuff [bufferAccessOutOfBounds] gateway-1.4.5/gw/smsc/smsc_sema.c:1899:2: warning:inconclusive: The buffer 'bin' may not be null-terminated after the call to strncpy(). [terminateStrncpy] gateway-1.4.5/gw/smsc/smsc_sema.c:1901:2: warning:inconclusive: The buffer 'bin' may not be null-terminated after the call to strncpy(). [terminateStrncpy] gateway-1.4.5/gw/smsc/smsc_sema.c:636:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gateway-1.4.5/gw/smsc/smsc_sema.c:673:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gateway-1.4.5/gw/smsc/smsc_sema.c:699:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gateway-1.4.5/gw/smsc/smsc_sema.c:673:16: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] gateway-1.4.5/gw/smsc/smsc_sema.c:784:24: style: Same expression on both sides of '||'. [duplicateExpression] gateway-1.4.5/gw/smsc/smsc_sema.c:662:12: style: Variable 'writeonce' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/smsc/smsc_sema.c:661:12: note: writeonce is assigned gateway-1.4.5/gw/smsc/smsc_sema.c:662:12: note: writeonce is overwritten gateway-1.4.5/gw/smsc/smsc_sema.c:1394:37: style: Checking if unsigned expression 'receive_sm->textsizeoctect' is less than zero. [unsignedLessThanZero] gateway-1.4.5/gw/smsc/smsc_sema.c:370:10: style: Variable 'clrbuff' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:371:10: style: Variable 'errbuff' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:568:10: style: Variable 'finishconfirm' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:617:10: style: Variable 'X28prompt' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:771:43: style: Parameter 'cbuffer' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_sema.c:808:10: style: Variable 'mobuff' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:809:10: style: Variable 'mobuffend' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:810:10: style: Variable 'prompbuff' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:896:42: style: Parameter 'smsc' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_sema.c:896:58: style: Parameter 'srcmsg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_sema.c:950:19: style: Variable 'cerr' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:950:36: style: Variable 'cclr' can be declared as const array [constVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:1178:31: style: Variable 'deliver_invoke' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_sema.c:1569:46: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_sema.c:1634:60: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_sema.c:1795:43: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_sema.c:176:18: warning: Size of pointer 'buffer' used instead of size of its data. [pointerSize] gateway-1.4.5/gw/smsc/smsc_sema.c:552:14: style: Variable 'nret' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:772:36: style: Variable 'writeonce' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:1639:10: style: Variable 'j' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_sema.c:1660:12: style: Variable 'cn' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_smasi.c:196:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:446:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_isdigit [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:469:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SubmitReq [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:556:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DeliverReq [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:635:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LogoffReq [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:655:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EnquireLinkReq [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:733:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DeliverConf [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:852:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LogonReq [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:936:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_RECONNECTING [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:1016:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:1041:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_KILLED_SHUTDOWN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:1148:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_CONNECTING [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smasi.c:980:26: style: Condition '!(smasi->throttling_err_time=0)' is always true [knownConditionTrueFalse] gateway-1.4.5/gw/smsc/smsc_smasi.c:997:22: style: Condition '!(smasi->throttling_err_time=0)' is always true [knownConditionTrueFalse] gateway-1.4.5/gw/smsc/smsc_smasi.c:395:43: style: Parameter 'smasi' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_smasi.c:395:55: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_smasi.c:407:43: style: Parameter 'smasi' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_smasi.c:407:55: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_smasi.c:419:41: style: Parameter 'smasi' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_smasi.c:419:53: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_smasi.c:431:41: style: Parameter 'smasi' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_smasi.c:431:53: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_smasi.c:1023:34: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'send_msg_cb' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_smasi.c:1165:22: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_smasi.c:1023:34: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_smpp.c:246:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms_priority_compare [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:297:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:389:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_isdigit [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:516:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_8BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:594:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deliver_sm [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:735:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_sm [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:860:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_FAILED_TEMPORARILY [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:928:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_isdigit [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:1202:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable generic_nack [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:1504:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLR_BUFFERED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:1747:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_ACTIVE [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:2269:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:2372:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DISCONNECTED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:2538:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:2568:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_KILLED_SHUTDOWN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:2747:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMS_PARAM_UNDEFINED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_smpp.c:1469:20: style: Variable 'nec' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/smsc/smsc_smpp.c:2544:34: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'send_msg_cb' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_smpp.c:2860:22: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_smpp.c:2544:34: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_smpp.c:1553:23: style: Variable 'curr' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_smpp.c:1553:33: style: Variable 'vpos' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_soap.c:440:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:570:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:600:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:642:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_CONNECTING [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:670:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:694:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:744:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_ACTIVE [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:893:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_INTERNAL_SERVER_ERROR [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:1087:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VERSION [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:1300:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOT_IMPLEMENTED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:1536:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_NOT_IMPLEMENTED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:1978:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_METHOD_POST [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:2109:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:2242:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:2345:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:2452:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:2563:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_7BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:2703:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_8BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:2711:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_8BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:2725:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_8BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:2797:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DC_8BIT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:2841:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMS_PARAM_UNDEFINED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_soap.c:1080:67: style:inconclusive: Function 'soap_send' argument 3 names different: declaration 'msgid' definition 'msg'. [funcArgNamesDifferent] gateway-1.4.5/gw/smsc/smsc_soap.c:260:67: note: Function 'soap_send' argument 3 names different: declaration 'msgid' definition 'msg'. gateway-1.4.5/gw/smsc/smsc_soap.c:1080:67: note: Function 'soap_send' argument 3 names different: declaration 'msgid' definition 'msg'. gateway-1.4.5/gw/smsc/smsc_soap.c:2404:39: style:inconclusive: Function 'soap_release_dependences' argument 1 names different: declaration 'deps' definition 'file_deps'. [funcArgNamesDifferent] gateway-1.4.5/gw/smsc/smsc_soap.c:311:39: note: Function 'soap_release_dependences' argument 1 names different: declaration 'deps' definition 'file_deps'. gateway-1.4.5/gw/smsc/smsc_soap.c:2404:39: note: Function 'soap_release_dependences' argument 1 names different: declaration 'deps' definition 'file_deps'. gateway-1.4.5/gw/smsc/smsc_soap.c:563:38: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'soap_add_msg_cb' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_soap.c:496:22: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_soap.c:563:38: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_soap.c:2700:43: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_soap.c:2709:45: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_soap.c:2856:38: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smsc/smsc_soap.c:1284:14: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_soap.c:1392:18: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_soap.c:2043:10: style: Unused variable: buf [unusedVariable] gateway-1.4.5/gw/smsc/smsc_soap.c:2523:17: style: Variable 'res' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/smsc/smsc_wrapper.c:111:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_RECONNECTING [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_wrapper.c:203:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_ALIVE [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_wrapper.c:269:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_DEAD [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_wrapper.c:423:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMSCCONN_ACTIVE [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smsc/smsc_wrapper.c:337:38: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'wrapper_add_msg' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_wrapper.c:411:22: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_wrapper.c:337:38: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_wrapper.c:368:36: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'wrapper_stop' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_wrapper.c:446:23: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_wrapper.c:368:36: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smsc/smsc_wrapper.c:377:37: style: Parameter 'conn' can be declared as pointer to const. However it seems that 'wrapper_start' is a callback function, if 'conn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gw/smsc/smsc_wrapper.c:447:24: note: You might need to cast the function pointer here gateway-1.4.5/gw/smsc/smsc_wrapper.c:377:37: note: Parameter 'conn' can be declared as pointer to const gateway-1.4.5/gw/smscconn.c:113:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smscconn.c:270:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smscconn.c:428:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smscconn.c:528:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_item_match [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smscconn.c:731:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/smscconn.c:162:37: style:inconclusive: Function 'smscconn_create' argument 1 names different: declaration 'cfg' definition 'grp'. [funcArgNamesDifferent] gateway-1.4.5/gw/smscconn.h:138:37: note: Function 'smscconn_create' argument 1 names different: declaration 'cfg' definition 'grp'. gateway-1.4.5/gw/smscconn.c:162:37: note: Function 'smscconn_create' argument 1 names different: declaration 'cfg' definition 'grp'. gateway-1.4.5/gw/smscconn.c:378:34: style:inconclusive: Function 'smscconn_shutdown' argument 1 names different: declaration 'smscconn' definition 'conn'. [funcArgNamesDifferent] gateway-1.4.5/gw/smscconn.h:145:34: note: Function 'smscconn_shutdown' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:378:34: note: Function 'smscconn_shutdown' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:406:32: style:inconclusive: Function 'smscconn_destroy' argument 1 names different: declaration 'smscconn' definition 'conn'. [funcArgNamesDifferent] gateway-1.4.5/gw/smscconn.h:153:32: note: Function 'smscconn_destroy' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:406:32: note: Function 'smscconn_destroy' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:457:29: style:inconclusive: Function 'smscconn_stop' argument 1 names different: declaration 'smscconn' definition 'conn'. [funcArgNamesDifferent] gateway-1.4.5/gw/smscconn.h:160:29: note: Function 'smscconn_stop' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:457:29: note: Function 'smscconn_stop' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:477:31: style:inconclusive: Function 'smscconn_start' argument 1 names different: declaration 'smscconn' definition 'conn'. [funcArgNamesDifferent] gateway-1.4.5/gw/smscconn.h:163:31: note: Function 'smscconn_start' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:477:31: note: Function 'smscconn_start' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:493:39: style:inconclusive: Function 'smscconn_name' argument 1 names different: declaration 'smscconn' definition 'conn'. [funcArgNamesDifferent] gateway-1.4.5/gw/smscconn.h:166:39: note: Function 'smscconn_name' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:493:39: note: Function 'smscconn_name' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:596:29: style:inconclusive: Function 'smscconn_send' argument 1 names different: declaration 'smsccconn' definition 'conn'. [funcArgNamesDifferent] gateway-1.4.5/gw/smscconn.h:192:29: note: Function 'smscconn_send' argument 1 names different: declaration 'smsccconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:596:29: note: Function 'smscconn_send' argument 1 names different: declaration 'smsccconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:665:31: style:inconclusive: Function 'smscconn_status' argument 1 names different: declaration 'smscconn' definition 'conn'. [funcArgNamesDifferent] gateway-1.4.5/gw/smscconn.h:195:31: note: Function 'smscconn_status' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:665:31: note: Function 'smscconn_status' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:673:29: style:inconclusive: Function 'smscconn_info' argument 1 names different: declaration 'smscconn' definition 'conn'. [funcArgNamesDifferent] gateway-1.4.5/gw/smscconn.h:200:29: note: Function 'smscconn_info' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:673:29: note: Function 'smscconn_info' argument 1 names different: declaration 'smscconn' definition 'conn'. gateway-1.4.5/gw/smscconn.c:493:39: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smscconn.c:500:37: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smscconn.c:507:43: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/smscconn.c:665:31: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:478:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_STR_LEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/urltrans.c:952:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/urltrans.c:1270:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/urltrans.c:1337:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_item_match [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/urltrans.c:1484:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/urltrans.c:194:43: style:inconclusive: Function 'urltrans_destroy' argument 1 names different: declaration 'list' definition 'trans'. [funcArgNamesDifferent] gateway-1.4.5/gw/urltrans.h:125:43: note: Function 'urltrans_destroy' argument 1 names different: declaration 'list' definition 'trans'. gateway-1.4.5/gw/urltrans.c:194:43: note: Function 'urltrans_destroy' argument 1 names different: declaration 'list' definition 'trans'. gateway-1.4.5/gw/urltrans.c:1253:36: style:inconclusive: Function 'destroy_onetrans' argument 1 names different: declaration 'ot' definition 'p'. [funcArgNamesDifferent] gateway-1.4.5/gw/urltrans.c:163:36: note: Function 'destroy_onetrans' argument 1 names different: declaration 'ot' definition 'p'. gateway-1.4.5/gw/urltrans.c:1253:36: note: Function 'destroy_onetrans' argument 1 names different: declaration 'ot' definition 'p'. gateway-1.4.5/gw/urltrans.c:767:35: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:772:41: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:777:41: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:782:49: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:787:47: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:792:43: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:797:44: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:802:46: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:807:47: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:812:41: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:817:41: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:822:41: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:827:46: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:832:39: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:837:43: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:842:43: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:847:46: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:852:47: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:857:43: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:862:42: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:867:49: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:872:48: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:877:54: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:882:53: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:887:46: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:892:52: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:897:46: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:902:52: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:907:48: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:912:54: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:917:44: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:922:42: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:927:42: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:932:39: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/urltrans.c:1303:43: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/wap-appl.c:577:38: error: There is an unknown macro here somewhere. Configuration is required. If GW_NAME is a macro then please configure it. [unknownMacro] gateway-1.4.5/gw/wap-error.c:75:449: error: There is an unknown macro here somewhere. Configuration is required. If GW_NAME is a macro then please configure it. [unknownMacro] gateway-1.4.5/gw/wap-maps.c:190:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gateway-1.4.5/gw/wap-maps.c:193:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gateway-1.4.5/gw/wap_push_ota.c:189:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wap_event_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ota.c:266:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pom_SessionRequest_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ota.c:314:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Po_Push_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ota.c:334:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Po_ConfirmedPush_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ota.c:365:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Po_Unit_Push_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ota.c:414:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Po_PushAbort_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ota.c:442:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Po_Unit_Push_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ota.c:484:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Po_Unit_Push_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ota.c:515:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WSP_ABORT_USERREQ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ota.c:541:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sia [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ota.c:471:27: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gateway-1.4.5/gw/wap_push_ota.c:203:42: style:inconclusive: Function 'wap_push_ota_bb_address_set' argument 1 names different: declaration 'ba' definition 'in'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_ota.h:83:42: note: Function 'wap_push_ota_bb_address_set' argument 1 names different: declaration 'ba' definition 'in'. gateway-1.4.5/gw/wap_push_ota.c:203:42: note: Function 'wap_push_ota_bb_address_set' argument 1 names different: declaration 'ba' definition 'in'. gateway-1.4.5/gw/wap_push_ota.c:626:29: style:inconclusive: Function 'name' argument 1 names different: declaration 'os' definition 'in'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_ota.c:157:29: note: Function 'name' argument 1 names different: declaration 'os' definition 'in'. gateway-1.4.5/gw/wap_push_ota.c:626:29: note: Function 'name' argument 1 names different: declaration 'os' definition 'in'. gateway-1.4.5/gw/wap_push_pap_compiler.c:496:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Push_Message [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_pap_compiler.c:522:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Push_Message [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_pap_compiler.c:575:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Push_Message [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_pap_compiler.c:1204:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Push_Message [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_pap_compiler.c:1291:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Push_Message [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_pap_compiler.c:1757:13: style: Condition 'ret==1' is always false [knownConditionTrueFalse] gateway-1.4.5/gw/wap_push_pap_compiler.c:1986:66: style: Condition 'c<0x3e' is always false [knownConditionTrueFalse] gateway-1.4.5/gw/wap_push_pap_compiler.c:1985:49: note: Assuming that condition '(c=octstr_get_char(*address,pos))!='='' is not redundant gateway-1.4.5/gw/wap_push_pap_compiler.c:1986:66: note: Condition 'c<0x3e' is always false gateway-1.4.5/gw/wap_push_pap_compiler.c:2022:19: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/wap_push_pap_compiler.c:2020:7: note: c is assigned gateway-1.4.5/gw/wap_push_pap_compiler.c:2022:19: note: c is overwritten gateway-1.4.5/gw/wap_push_pap_compiler.c:2064:26: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/wap_push_pap_compiler.c:2062:7: note: c is assigned gateway-1.4.5/gw/wap_push_pap_compiler.c:2064:26: note: c is overwritten gateway-1.4.5/gw/wap_push_pap_compiler.c:2090:24: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/wap_push_pap_compiler.c:2089:7: note: c is assigned gateway-1.4.5/gw/wap_push_pap_compiler.c:2090:24: note: c is overwritten gateway-1.4.5/gw/wap_push_pap_compiler.c:1492:28: style:inconclusive: Function 'parse_address' argument 1 names different: declaration 'attr_value' definition 'address'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_compiler.h:99:28: note: Function 'parse_address' argument 1 names different: declaration 'attr_value' definition 'address'. gateway-1.4.5/gw/wap_push_pap_compiler.c:1492:28: note: Function 'parse_address' argument 1 names different: declaration 'attr_value' definition 'address'. gateway-1.4.5/gw/wap_push_pap_compiler.c:1745:42: style:inconclusive: Function 'parse_ext_qualifiers' argument 3 names different: declaration 'type_value' definition 'type'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_compiler.c:289:42: note: Function 'parse_ext_qualifiers' argument 3 names different: declaration 'type_value' definition 'type'. gateway-1.4.5/gw/wap_push_pap_compiler.c:1745:42: note: Function 'parse_ext_qualifiers' argument 3 names different: declaration 'type_value' definition 'type'. gateway-1.4.5/gw/wap_push_pap_compiler.c:1924:37: style:inconclusive: Function 'prepend_char' argument 1 names different: declaration 'address' definition 'os'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_compiler.c:294:37: note: Function 'prepend_char' argument 1 names different: declaration 'address' definition 'os'. gateway-1.4.5/gw/wap_push_pap_compiler.c:1924:37: note: Function 'prepend_char' argument 1 names different: declaration 'address' definition 'os'. gateway-1.4.5/gw/wap_push_pap_compiler.c:1220:32: style: Parameter 'ros' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/wap_push_pap_compiler.c:977:9: style: Variable 'ros' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wap_push_pap_compiler.c:1024:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wap_push_pap_compiler.c:1044:9: style: Variable 'ros' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wap_push_pap_compiler.c:1106:9: style: Variable 'ros' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wap_push_pap_compiler.c:1135:9: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wap_push_pap_compiler.c:1136:9: style: Variable 'ros' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wap_push_pap_mime.c:583:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_pap_mime.c:749:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gateway-1.4.5/gw/wap_push_pap_mime.c:374:18: style: Condition 'ret==0' is always true [knownConditionTrueFalse] gateway-1.4.5/gw/wap_push_pap_mime.c:371:70: note: Assuming that condition '(ret=parse_body_part(mime_content,boundary,rdf_content))<0' is not redundant gateway-1.4.5/gw/wap_push_pap_mime.c:372:17: note: Assuming that condition 'ret>0' is not redundant gateway-1.4.5/gw/wap_push_pap_mime.c:374:18: note: Condition 'ret==0' is always true gateway-1.4.5/gw/wap_push_pap_mime.c:156:14: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/wap_push_pap_mime.c:155:9: note: ret is assigned gateway-1.4.5/gw/wap_push_pap_mime.c:156:14: note: ret is overwritten gateway-1.4.5/gw/wap_push_pap_mime.c:229:23: style: Variable 'boundary_pos' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/wap_push_pap_mime.c:226:18: note: boundary_pos is assigned gateway-1.4.5/gw/wap_push_pap_mime.c:229:23: note: boundary_pos is overwritten gateway-1.4.5/gw/wap_push_pap_mime.c:361:14: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/wap_push_pap_mime.c:360:9: note: ret is assigned gateway-1.4.5/gw/wap_push_pap_mime.c:361:14: note: ret is overwritten gateway-1.4.5/gw/wap_push_pap_mime.c:473:26: style: Variable 'next_header_pos' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/wap_push_pap_mime.c:472:21: note: next_header_pos is assigned gateway-1.4.5/gw/wap_push_pap_mime.c:473:26: note: next_header_pos is overwritten gateway-1.4.5/gw/wap_push_pap_mime.c:490:22: style: Variable 'content_pos' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/wap_push_pap_mime.c:487:17: note: content_pos is assigned gateway-1.4.5/gw/wap_push_pap_mime.c:490:22: note: content_pos is overwritten gateway-1.4.5/gw/wap_push_pap_mime.c:634:21: style: Variable 'header_pos' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/wap_push_pap_mime.c:630:16: note: header_pos is assigned gateway-1.4.5/gw/wap_push_pap_mime.c:634:21: note: header_pos is overwritten gateway-1.4.5/gw/wap_push_pap_mime.c:673:21: style: Variable 'header_pos' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/wap_push_pap_mime.c:669:16: note: header_pos is assigned gateway-1.4.5/gw/wap_push_pap_mime.c:673:21: note: header_pos is overwritten gateway-1.4.5/gw/wap_push_pap_mime.c:713:22: style: Variable 'content_pos' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/gw/wap_push_pap_mime.c:708:17: note: content_pos is assigned gateway-1.4.5/gw/wap_push_pap_mime.c:713:22: note: content_pos is overwritten gateway-1.4.5/gw/wap_push_pap_mime.c:203:51: style:inconclusive: Function 'parse_tail' argument 2 names different: declaration 'part_delimiter' definition 'delimiter'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_mime.c:107:51: note: Function 'parse_tail' argument 2 names different: declaration 'part_delimiter' definition 'delimiter'. gateway-1.4.5/gw/wap_push_pap_mime.c:203:51: note: Function 'parse_tail' argument 2 names different: declaration 'part_delimiter' definition 'delimiter'. gateway-1.4.5/gw/wap_push_pap_mime.c:383:42: style:inconclusive: Function 'octstr_split_by_pos' argument 1 names different: declaration 'mime_content' definition 'os1'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_mime.c:91:42: note: Function 'octstr_split_by_pos' argument 1 names different: declaration 'mime_content' definition 'os1'. gateway-1.4.5/gw/wap_push_pap_mime.c:383:42: note: Function 'octstr_split_by_pos' argument 1 names different: declaration 'mime_content' definition 'os1'. gateway-1.4.5/gw/wap_push_pap_mime.c:383:56: style:inconclusive: Function 'octstr_split_by_pos' argument 2 names different: declaration 'pap_content' definition 'os2'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_mime.c:91:65: note: Function 'octstr_split_by_pos' argument 2 names different: declaration 'pap_content' definition 'os2'. gateway-1.4.5/gw/wap_push_pap_mime.c:383:56: note: Function 'octstr_split_by_pos' argument 2 names different: declaration 'pap_content' definition 'os2'. gateway-1.4.5/gw/wap_push_pap_mime.c:400:44: style:inconclusive: Function 'make_part_delimiter' argument 1 names different: declaration 'boundary' definition 'dash_boundary'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_mime.c:94:44: note: Function 'make_part_delimiter' argument 1 names different: declaration 'boundary' definition 'dash_boundary'. gateway-1.4.5/gw/wap_push_pap_mime.c:400:44: note: Function 'make_part_delimiter' argument 1 names different: declaration 'boundary' definition 'dash_boundary'. gateway-1.4.5/gw/wap_push_pap_mime.c:505:44: style:inconclusive: Function 'drop_extension_headers' argument 1 names different: declaration 'mime_content' definition 'body_part'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_mime.c:88:44: note: Function 'drop_extension_headers' argument 1 names different: declaration 'mime_content' definition 'body_part'. gateway-1.4.5/gw/wap_push_pap_mime.c:505:44: note: Function 'drop_extension_headers' argument 1 names different: declaration 'mime_content' definition 'body_part'. gateway-1.4.5/gw/wap_push_pap_mime.c:555:38: style:inconclusive: Function 'parse_field_name' argument 1 names different: declaration 'pap_content' definition 'content'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_mime.c:90:38: note: Function 'parse_field_name' argument 1 names different: declaration 'pap_content' definition 'content'. gateway-1.4.5/gw/wap_push_pap_mime.c:555:38: note: Function 'parse_field_name' argument 1 names different: declaration 'pap_content' definition 'content'. gateway-1.4.5/gw/wap_push_pap_mime.c:623:78: style:inconclusive: Function 'check_data_x_wap_application_id_header' argument 2 names different: declaration 'data_headers' definition 'content_headers'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_mime.c:97:78: note: Function 'check_data_x_wap_application_id_header' argument 2 names different: declaration 'data_headers' definition 'content_headers'. gateway-1.4.5/gw/wap_push_pap_mime.c:623:78: note: Function 'check_data_x_wap_application_id_header' argument 2 names different: declaration 'data_headers' definition 'content_headers'. gateway-1.4.5/gw/wap_push_pap_mime.c:662:70: style:inconclusive: Function 'check_data_content_type_header' argument 2 names different: declaration 'data_headers' definition 'content_headers'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_mime.c:98:70: note: Function 'check_data_content_type_header' argument 2 names different: declaration 'data_headers' definition 'content_headers'. gateway-1.4.5/gw/wap_push_pap_mime.c:662:70: note: Function 'check_data_content_type_header' argument 2 names different: declaration 'data_headers' definition 'content_headers'. gateway-1.4.5/gw/wap_push_pap_mime.c:774:62: style:inconclusive: Function 'pass_extension_headers' argument 2 names different: declaration 'data_headers' definition 'content_headers'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_mime.c:101:62: note: Function 'pass_extension_headers' argument 2 names different: declaration 'data_headers' definition 'content_headers'. gateway-1.4.5/gw/wap_push_pap_mime.c:774:62: note: Function 'pass_extension_headers' argument 2 names different: declaration 'data_headers' definition 'content_headers'. gateway-1.4.5/gw/wap_push_pap_mime.c:821:59: style:inconclusive: Function 'pass_field_value' argument 2 names different: declaration 'content_header' definition 'header'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_mime.c:104:59: note: Function 'pass_field_value' argument 2 names different: declaration 'content_header' definition 'header'. gateway-1.4.5/gw/wap_push_pap_mime.c:821:59: note: Function 'pass_field_value' argument 2 names different: declaration 'content_header' definition 'header'. gateway-1.4.5/gw/wap_push_pap_mime.c:845:58: style:inconclusive: Function 'pass_field_name' argument 2 names different: declaration 'content_header' definition 'field_part'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_pap_mime.c:102:58: note: Function 'pass_field_name' argument 2 names different: declaration 'content_header' definition 'field_part'. gateway-1.4.5/gw/wap_push_pap_mime.c:845:58: note: Function 'pass_field_name' argument 2 names different: declaration 'content_header' definition 'field_part'. gateway-1.4.5/gw/wap_push_pap_mime.c:743:57: style: Parameter 'pos' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/wap_push_pap_mime.c:749:8: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wap_push_pap_mime.c:877:14: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wap_push_ppg.c:2159:43: error: There is an unknown macro here somewhere. Configuration is required. If GW_NAME is a macro then please configure it. [unknownMacro] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:161:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:368:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:526:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:688:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:811:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:851:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_UNAUTHORIZED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:870:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FORBIDDEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:944:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:776:6: warning: Either the condition 'username==NULL' is redundant or there is possible null pointer dereference: username. [nullPointerRedundantCheck] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:801:18: note: Assuming that condition 'username==NULL' is not redundant gateway-1.4.5/gw/wap_push_ppg_pushuser.c:776:6: note: Null pointer dereference gateway-1.4.5/gw/wap_push_ppg_pushuser.c:777:6: warning: Either the condition 'password==NULL' is redundant or there is possible null pointer dereference: password. [nullPointerRedundantCheck] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:805:18: note: Assuming that condition 'password==NULL' is not redundant gateway-1.4.5/gw/wap_push_ppg_pushuser.c:777:6: note: Null pointer dereference gateway-1.4.5/gw/wap_push_ppg_pushuser.c:798:6: warning: Either the condition 'username==NULL' is redundant or there is possible null pointer dereference: username. [nullPointerRedundantCheck] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:801:18: note: Assuming that condition 'username==NULL' is not redundant gateway-1.4.5/gw/wap_push_ppg_pushuser.c:798:6: note: Null pointer dereference gateway-1.4.5/gw/wap_push_ppg_pushuser.c:799:6: warning: Either the condition 'password==NULL' is redundant or there is possible null pointer dereference: password. [nullPointerRedundantCheck] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:805:18: note: Assuming that condition 'password==NULL' is not redundant gateway-1.4.5/gw/wap_push_ppg_pushuser.c:799:6: note: Null pointer dereference gateway-1.4.5/gw/wap_push_ppg_pushuser.c:156:42: style:inconclusive: Function 'wap_push_ppg_pushuser_list_add' argument 1 names different: declaration 'l' definition 'list'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_ppg_pushuser.h:80:42: note: Function 'wap_push_ppg_pushuser_list_add' argument 1 names different: declaration 'l' definition 'list'. gateway-1.4.5/gw/wap_push_ppg_pushuser.c:156:42: note: Function 'wap_push_ppg_pushuser_list_add' argument 1 names different: declaration 'l' definition 'list'. gateway-1.4.5/gw/wap_push_ppg_pushuser.c:223:52: style:inconclusive: Function 'wap_push_ppg_pushuser_authenticate' argument 1 names different: declaration 'client' definition 'c'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_ppg_pushuser.h:118:52: note: Function 'wap_push_ppg_pushuser_authenticate' argument 1 names different: declaration 'client' definition 'c'. gateway-1.4.5/gw/wap_push_ppg_pushuser.c:223:52: note: Function 'wap_push_ppg_pushuser_authenticate' argument 1 names different: declaration 'client' definition 'c'. gateway-1.4.5/gw/wap_push_ppg_pushuser.c:224:46: style:inconclusive: Function 'wap_push_ppg_pushuser_authenticate' argument 4 names different: declaration 'headers' definition 'push_headers'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_ppg_pushuser.h:119:58: note: Function 'wap_push_ppg_pushuser_authenticate' argument 4 names different: declaration 'headers' definition 'push_headers'. gateway-1.4.5/gw/wap_push_ppg_pushuser.c:224:46: note: Function 'wap_push_ppg_pushuser_authenticate' argument 4 names different: declaration 'headers' definition 'push_headers'. gateway-1.4.5/gw/wap_push_ppg_pushuser.c:619:34: style:inconclusive: Function 'oneuser_add' argument 1 names different: declaration 'cfg' definition 'grp'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:130:34: note: Function 'oneuser_add' argument 1 names different: declaration 'cfg' definition 'grp'. gateway-1.4.5/gw/wap_push_ppg_pushuser.c:619:34: note: Function 'oneuser_add' argument 1 names different: declaration 'cfg' definition 'grp'. gateway-1.4.5/gw/wap_push_ppg_pushuser.c:643:11: style: Variable 'list' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:1052:41: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:1057:42: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/wap_push_ppg_pushuser.c:648:15: style: Variable 'list' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wap_push_si_compiler.c:222:45: style:inconclusive: Function 'parse_document' argument 3 names different: declaration 'si_binary' definition 'sibxml'. [funcArgNamesDifferent] gateway-1.4.5/gw/wap_push_si_compiler.c:160:24: note: Function 'parse_document' argument 3 names different: declaration 'si_binary' definition 'sibxml'. gateway-1.4.5/gw/wap_push_si_compiler.c:222:45: note: Function 'parse_document' argument 3 names different: declaration 'si_binary' definition 'sibxml'. gateway-1.4.5/gw/wap_push_si_compiler.c:625:20: style: Variable 'first_part_len' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wap_push_sl_compiler.c:467:20: style: Variable 'first_part_len' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wapbox.c:167:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_NON_EXCL [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wapbox.c:334:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wapbox.c:388:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wapbox.c:447:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_DUnitdata_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wapbox.c:566:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wapbox.c:725:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_NAME [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wml_compiler.c:469:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_PARSE_NOERROR [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wml_compiler.c:611:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable public_ids_strings [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wml_compiler.c:849:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_CHAR_ENCODING_UTF8 [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wml_compiler.c:955:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_CHAR_ENCODING_UTF8 [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wml_compiler.c:1551:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/wml_compiler.c:1497:27: style:inconclusive: Function 'hash_cmp' argument 1 names different: declaration 'hash1' definition 'item'. [funcArgNamesDifferent] gateway-1.4.5/gw/wml_compiler.c:296:27: note: Function 'hash_cmp' argument 1 names different: declaration 'hash1' definition 'item'. gateway-1.4.5/gw/wml_compiler.c:1497:27: note: Function 'hash_cmp' argument 1 names different: declaration 'hash1' definition 'item'. gateway-1.4.5/gw/wml_compiler.c:1497:39: style:inconclusive: Function 'hash_cmp' argument 2 names different: declaration 'hash2' definition 'pattern'. [funcArgNamesDifferent] gateway-1.4.5/gw/wml_compiler.c:296:40: note: Function 'hash_cmp' argument 2 names different: declaration 'hash2' definition 'pattern'. gateway-1.4.5/gw/wml_compiler.c:1497:39: note: Function 'hash_cmp' argument 2 names different: declaration 'hash2' definition 'pattern'. gateway-1.4.5/gw/wml_compiler.c:666:17: style: Variable 'element' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/wml_compiler.c:1680:39: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/wml_compiler.c:1696:41: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gw/wml_compiler.c:2010:24: style: Variable 'word_s' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/wml_compiler.c:2025:19: style: Variable 'word_s' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gw/xml_shared.c:248:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_TEXT_NODE [valueFlowBailoutIncompleteVar] gateway-1.4.5/gw/xml_shared.c:298:45: style:inconclusive: Function 'simple_binary_destroy' argument 1 names different: declaration 'bxml' definition 'binary'. [funcArgNamesDifferent] gateway-1.4.5/gw/xml_shared.h:152:45: note: Function 'simple_binary_destroy' argument 1 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:298:45: note: Function 'simple_binary_destroy' argument 1 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:311:56: style:inconclusive: Function 'simple_binary_output' argument 2 names different: declaration 'bxml' definition 'binary'. [funcArgNamesDifferent] gateway-1.4.5/gw/xml_shared.h:158:56: note: Function 'simple_binary_output' argument 2 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:311:56: note: Function 'simple_binary_output' argument 2 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:321:34: style:inconclusive: Function 'parse_end' argument 1 names different: declaration 'bxml' definition 'binary'. [funcArgNamesDifferent] gateway-1.4.5/gw/xml_shared.h:160:34: note: Function 'parse_end' argument 1 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:321:34: note: Function 'parse_end' argument 1 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:326:46: style:inconclusive: Function 'output_char' argument 2 names different: declaration 'bxml' definition 'binary'. [funcArgNamesDifferent] gateway-1.4.5/gw/xml_shared.h:162:46: note: Function 'output_char' argument 2 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:326:46: note: Function 'output_char' argument 2 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:331:55: style:inconclusive: Function 'parse_octet_string' argument 2 names different: declaration 'bxml' definition 'binary'. [funcArgNamesDifferent] gateway-1.4.5/gw/xml_shared.h:164:55: note: Function 'parse_octet_string' argument 2 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:331:55: note: Function 'parse_octet_string' argument 2 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:339:58: style:inconclusive: Function 'parse_inline_string' argument 2 names different: declaration 'bxml' definition 'binary'. [funcArgNamesDifferent] gateway-1.4.5/gw/xml_shared.h:169:58: note: Function 'parse_inline_string' argument 2 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:339:58: note: Function 'parse_inline_string' argument 2 names different: declaration 'bxml' definition 'binary'. gateway-1.4.5/gw/xml_shared.c:349:56: style:inconclusive: Function 'output_octet_string' argument 2 names different: declaration 'bxml' definition 'sibxml'. [funcArgNamesDifferent] gateway-1.4.5/gw/xml_shared.h:171:56: note: Function 'output_octet_string' argument 2 names different: declaration 'bxml' definition 'sibxml'. gateway-1.4.5/gw/xml_shared.c:349:56: note: Function 'output_octet_string' argument 2 names different: declaration 'bxml' definition 'sibxml'. gateway-1.4.5/gwlib/thread.h:67:0: error: #error "You need POSIX.1 threads and header file" [preprocessorErrorDirective] gateway-1.4.5/gwlib/thread.h:67:2: error: #error "You need POSIX.1 threads and header file" [preprocessorErrorDirective] gateway-1.4.5/gwlib/cfg.c:87:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/cfg.c:284:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/cfg.c:445:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/cfg.c:506:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_item_match [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/cfg.c:541:43: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] gateway-1.4.5/gwlib/cfg.c:541:51: warning: If resource allocation fails, then there is a possible null pointer dereference: dh [nullPointerOutOfResources] gateway-1.4.5/gwlib/cfg.c:540:37: note: Assuming allocation function fails gateway-1.4.5/gwlib/cfg.c:540:37: note: Assignment 'dh=opendir(octstr_get_cstr(filename))', assigned value is 0 gateway-1.4.5/gwlib/cfg.c:541:51: note: Null pointer dereference gateway-1.4.5/gwlib/cfg.c:728:9: warning: Either the condition 'grp==NULL' is redundant or there is possible null pointer dereference: grp. [nullPointerRedundantCheck] gateway-1.4.5/gwlib/cfg.c:724:12: note: Assuming that condition 'grp==NULL' is not redundant gateway-1.4.5/gwlib/cfg.c:728:9: note: Null pointer dereference gateway-1.4.5/gwlib/cfg.c:180:45: style: Parameter 'group' can be declared as pointer to const. However it seems that 'core_is_allowed_in_group' is a callback function, if 'group' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gwlib/cfg.c:890:35: note: You might need to cast the function pointer here gateway-1.4.5/gwlib/cfg.c:180:45: note: Parameter 'group' can be declared as pointer to const gateway-1.4.5/gwlib/cfg.c:180:60: style: Parameter 'variable' can be declared as pointer to const. However it seems that 'core_is_allowed_in_group' is a callback function, if 'variable' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gwlib/cfg.c:890:35: note: You might need to cast the function pointer here gateway-1.4.5/gwlib/cfg.c:180:60: note: Parameter 'variable' can be declared as pointer to const gateway-1.4.5/gwlib/cfg.c:182:13: style: Variable 'groupstr' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gwlib/cfg.c:210:41: style: Parameter 'query' can be declared as pointer to const. However it seems that 'core_is_single_group' is a callback function, if 'query' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/gwlib/cfg.c:891:34: note: You might need to cast the function pointer here gateway-1.4.5/gwlib/cfg.c:210:41: note: Parameter 'query' can be declared as pointer to const gateway-1.4.5/gwlib/cfg.c:184:14: style: Variable 'groupstr' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gwlib/charset.c:339:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable latin1_to_gsm [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/charset.c:441:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable latin1_to_gsm [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/charset.c:254:22: style: Condition 'c<128' is always true [knownConditionTrueFalse] gateway-1.4.5/gwlib/charset.c:235:15: note: Assuming that condition 'c>127' is not redundant gateway-1.4.5/gwlib/charset.c:254:22: note: Condition 'c<128' is always true gateway-1.4.5/gwlib/charset.c:589:29: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/charset.c:589:43: style: Parameter 'charset_from' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/charset.c:589:63: style: Parameter 'charset_to' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/conn.c:191:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:216:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:328:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:382:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:402:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLOUT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:514:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:521:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yes [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:538:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yes [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:578:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yes [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:653:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:683:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:694:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:705:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:717:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:729:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:751:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:827:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yes [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:886:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:909:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:998:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:1052:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:1064:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:1079:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:1092:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:1117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:1142:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:1202:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:1241:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/conn.c:519:35: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/conn.c:1538:33: style: Parameter 'grp' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/conn.c:188:32: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gwlib/conn.c:213:32: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/gwlib/fdset.c:277:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/fdset.c:303:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/fdset.c:339:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/fdset.c:420:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DESTROY [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/fdset.c:435:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGISTER [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/fdset.c:479:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LISTEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/fdset.c:519:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNREGISTER [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/fdset.c:554:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SET_TIMEOUT [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/fdset.c:194:11: style: Variable 'sync' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gwlib/fdset.c:269:30: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/gw-timer.c:422:28: style: Parameter 'timer' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/gw-timer.c:551:12: style: Variable 't' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gwlib/gw-timer.c:552:12: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gwlib/gw_uuid.c:179:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/gw_uuid.c:626:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UUID_VARIANT_NCS [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/gw_uuid.c:187:3: warning: Return value of function rand() is not used. [ignoredReturnValue] gateway-1.4.5/gwlib/gw_uuid.c:355:28: style: Condition 'get_node_id(node_id)<=0' is always true [knownConditionTrueFalse] gateway-1.4.5/gwlib/gw_uuid.c:355:18: note: Calling function 'get_node_id' returns 0 gateway-1.4.5/gwlib/gw_uuid.c:355:28: note: Condition 'get_node_id(node_id)<=0' is always true gateway-1.4.5/gwlib/gw_uuid.c:229:39: style: Parameter 'node_id' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/gw_uuid.c:379:19: error: Uninitialized variable: buf [uninitvar] gateway-1.4.5/gwlib/gwpoll.c:100:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/gwthread-pthread.c:187:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/gwthread-pthread.c:422:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/gwthread-pthread.c:446:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/gwthread-pthread.c:525:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAIN_THREAD_ID [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/gwthread-pthread.c:715:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/gwthread-pthread.c:753:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/gwthread-pthread.c:790:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/gwthread-pthread.c:832:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/gwthread-pthread.c:442:44: style: Parameter 'old_set' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/gwthread-pthread.c:607:43: style: Parameter 'func' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/gwthread-pthread.c:663:24: style: Variable 'threadinfo' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gwlib/gwthread-pthread.c:687:24: style: Variable 'threadinfo' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gwlib/gwthread-pthread.c:709:24: style: Variable 'threadinfo' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gwlib/gwthread-pthread.c:743:24: style: Variable 'threadinfo' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gwlib/gwthread-pthread.c:783:24: style: Variable 'threadinfo' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gwlib/gwthread-pthread.c:811:24: style: Variable 'threadinfo' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gwlib/mime.c:110:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/parse.c:100:31: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/parse.c:159:38: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/thread.c:82:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mutex [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/thread.c:138:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/thread.c:151:128: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/thread.c:170:126: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/thread.c:155:21: style: Condition 'mutex!=NULL' is always true [knownConditionTrueFalse] gateway-1.4.5/gwlib/xmlrpc.c:515:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPCDocument [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:531:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_methodcall [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:542:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_methodresponse [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:569:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:617:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_undefined [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:665:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_methodresponse [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:711:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_METHOD_POST [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:731:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPCValue [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:819:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_scalar [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:882:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPCScalar [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1108:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_struct [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1116:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_struct [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1123:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_struct [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1144:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_struct [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1180:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1204:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_array [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1212:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_array [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1220:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_array [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1241:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_array [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1294:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_scalar [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1302:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_double [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1307:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_int [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1312:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_string [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1319:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xr_methodresponse [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1382:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1463:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_PARSING_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1488:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1562:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_PARSING_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1609:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1690:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_PARSING_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1716:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1774:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_PARSING_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1818:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1890:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_PARSING_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:1918:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:2097:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_PARSING_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:2122:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:2200:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_PARSING_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:2225:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:2313:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_PARSING_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:2337:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:2406:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_PARSING_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:2431:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:2504:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_PARSING_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:2529:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMLRPC_XMLPARSE_FAILED [valueFlowBailoutIncompleteVar] gateway-1.4.5/gwlib/xmlrpc.c:290:55: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/xmlrpc.c:364:48: style: Parameter 'fault' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/xmlrpc.c:371:53: style: Parameter 'fault' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/xmlrpc.c:451:59: style: Parameter 'response' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/xmlrpc.c:808:40: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/xmlrpc.c:947:42: style: Parameter 'scalar' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/xmlrpc.c:1348:41: style: Parameter 'xrdoc' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/gwlib/xmlrpc.c:1373:23: style: Variable 'status' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/radius/radius_acct.c:230:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] gateway-1.4.5/radius/radius_acct.c:425:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy [valueFlowBailoutIncompleteVar] gateway-1.4.5/radius/radius_acct.c:239:16: warning:inconclusive: Either the condition 'ss==-1' is redundant or fcntl() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] gateway-1.4.5/radius/radius_acct.c:242:12: note: Assuming that condition 'ss==-1' is not redundant gateway-1.4.5/radius/radius_acct.c:239:16: note: Invalid argument gateway-1.4.5/radius/radius_acct.c:140:73: style: Condition 'msisdn' is always true [knownConditionTrueFalse] gateway-1.4.5/radius/radius_acct.c:236:8: style: Variable 'ss' is reassigned a value before the old one has been used. [redundantAssignment] gateway-1.4.5/radius/radius_acct.c:224:8: note: ss is assigned gateway-1.4.5/radius/radius_acct.c:236:8: note: ss is overwritten gateway-1.4.5/radius/radius_pdu.c:210:45: style: Parameter 'pdu' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/radius/radius_pdu.c:237:37: style: Parameter 'pdu' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/radius/radius_pdu.c:459:42: style: Parameter 'pdu' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/radius/radius_pdu.c:239:17: style: Unused variable: oos [unusedVariable] gateway-1.4.5/radius/radius_pdu.c:364:15: style: Unused variable: pos [unusedVariable] gateway-1.4.5/test/decompile.c:1481:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/decompile.c:1876:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/decompile.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] gateway-1.4.5/test/decompile.c:1493:52: error: Dereferencing 'file' after it is deallocated / released [deallocuse] gateway-1.4.5/test/decompile.c:1495:5: error: Resource handle 'file' freed twice. [doubleFree] gateway-1.4.5/test/decompile.c:1489:5: note: Resource handle 'file' freed twice. gateway-1.4.5/test/decompile.c:1495:5: note: Resource handle 'file' freed twice. gateway-1.4.5/test/decompile.c:1500:5: error: Resource handle 'file' freed twice. [doubleFree] gateway-1.4.5/test/decompile.c:1489:5: note: Resource handle 'file' freed twice. gateway-1.4.5/test/decompile.c:1500:5: note: Resource handle 'file' freed twice. gateway-1.4.5/test/decompile.c:1359:4: error: Common realloc mistake: 'strbuf' nulled but not freed upon failure [memleakOnRealloc] gateway-1.4.5/test/decompile.c:427:4: warning: If memory allocation fails, then there is a possible null pointer dereference: (unsigned char*)newnode->m_data [nullPointerOutOfMemory] gateway-1.4.5/test/decompile.c:426:26: note: Assuming allocation function fails gateway-1.4.5/test/decompile.c:426:26: note: Assignment 'newnode->m_data=malloc(sizeof(unsigned char))', assigned value is 0 gateway-1.4.5/test/decompile.c:427:4: note: Null pointer dereference gateway-1.4.5/test/decompile.c:441:4: warning: If memory allocation fails, then there is a possible null pointer dereference: (unsigned char*)newnode->m_data [nullPointerOutOfMemory] gateway-1.4.5/test/decompile.c:440:26: note: Assuming allocation function fails gateway-1.4.5/test/decompile.c:440:26: note: Assignment 'newnode->m_data=malloc(sizeof(unsigned char))', assigned value is 0 gateway-1.4.5/test/decompile.c:441:4: note: Null pointer dereference gateway-1.4.5/test/decompile.c:455:4: warning: If memory allocation fails, then there is a possible null pointer dereference: (unsigned char*)newnode->m_data [nullPointerOutOfMemory] gateway-1.4.5/test/decompile.c:454:26: note: Assuming allocation function fails gateway-1.4.5/test/decompile.c:454:26: note: Assignment 'newnode->m_data=malloc(sizeof(unsigned char))', assigned value is 0 gateway-1.4.5/test/decompile.c:455:4: note: Null pointer dereference gateway-1.4.5/test/decompile.c:1442:25: warning: Either the condition 'buffer->m_curpos!='\0'' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] gateway-1.4.5/test/decompile.c:1439:26: note: Assuming that condition 'buffer->m_curpos!='\0'' is not redundant gateway-1.4.5/test/decompile.c:1442:25: note: Null pointer subtraction gateway-1.4.5/test/decompile.c:464:54: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/test/decompile.c:470:62: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/test/decompile.c:475:61: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/test/decompile.c:485:20: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/test/decompile.c:1439:26: warning: Char literal compared with pointer 'buffer->m_curpos'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] gateway-1.4.5/test/drive_smpp.c:137:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bind_transmitter_resp [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_smpp.c:153:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bind_receiver_resp [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_smpp.c:174:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable submit_sm_resp [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_smpp.c:193:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unbind_resp [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_smpp.c:200:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enquire_link_resp [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_smpp.c:296:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_smpp.c:356:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_smpp.c:368:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sms [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_smpp.c:438:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_smpp.c:496:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_smpp.c:284:37: style: Condition '(id%enquire_interval)==0' is always true [knownConditionTrueFalse] gateway-1.4.5/test/drive_smpp.c:397:10: warning: Either the condition 'msg==NULL' is redundant or there is possible null pointer dereference: msg. [nullPointerRedundantCheck] gateway-1.4.5/test/drive_smpp.c:394:14: note: Assuming that condition 'msg==NULL' is not redundant gateway-1.4.5/test/drive_smpp.c:397:10: note: Null pointer dereference gateway-1.4.5/test/drive_smpp.c:183:47: style: Parameter 'esme' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/test/drive_smpp.c:183:63: style: Parameter 'pdu' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/test/drive_smpp.c:205:49: style: Parameter 'esme' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/test/drive_smpp.c:205:65: style: Parameter 'pdu' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/test/drive_smpp.c:284:17: style: Modulo of one is always equal to zero [moduloofone] gateway-1.4.5/test/drive_wapbox.c:196:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_OK [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_wapbox.c:241:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_wapbox.c:374:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wdp_datagram [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_wapbox.c:523:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wdp_datagram [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_wapbox.c:619:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wdp_datagram [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_wapbox.c:652:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/drive_wapbox.c:371:46: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/test/drive_wapbox.c:543:11: style: Variable 'dumped' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/test/drive_wapbox.c:554:11: style: Variable 'dumped' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/test/drive_wapbox.c:572:11: style: Variable 'dumped' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/test/fakesmsc.c:216:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/fakesmsc.c:257:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/fakewap.c:576:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/fakewap.c:666:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/fakewap.c:900:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/fakewap.c:1218:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] gateway-1.4.5/test/fakewap.c:1177:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gateway-1.4.5/test/fakewap.c:1354:35: warning: Logical conjunction always evaluates to false: packet_loss < 0 && packet_loss >= 99. [incorrectLogicOperator] gateway-1.4.5/test/fakewap.c:804:54: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gateway-1.4.5/test/fakewap.c:356:38: style: Condition 'iname!=NULL' is always true [knownConditionTrueFalse] gateway-1.4.5/wap/cookies.c:386:31: style: Condition 'value->path!=NULL' is always true [knownConditionTrueFalse] gateway-1.4.5/wap/cookies.c:388:33: style: Condition 'value->domain!=NULL' is always true [knownConditionTrueFalse] gateway-1.4.5/wap/cookies.c:567:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gateway-1.4.5/wap/cookies.c:584:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gateway-1.4.5/wap/cookies.c:166:11: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/cookies.c:423:11: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/timers.c:448:12: style: Variable 't' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/timers.c:449:12: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wap.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_DUnitdata_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wap.c:68:38: style:inconclusive: Function 'wap_dispatch_datagram' argument 1 names different: declaration 'event' definition 'dgram'. [funcArgNamesDifferent] gateway-1.4.5/wap/wap.h:94:38: note: Function 'wap_dispatch_datagram' argument 1 names different: declaration 'event' definition 'dgram'. gateway-1.4.5/wap/wap.c:68:38: note: Function 'wap_dispatch_datagram' argument 1 names different: declaration 'event' definition 'dgram'. gateway-1.4.5/wap/wap_addr.c:89:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wap_addr.c:89:40: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wap_events.c:220:33: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_caps.c:125:36: style:inconclusive: Function 'wsp_cap_duplicate_list' argument 1 names different: declaration 'cap' definition 'caps_list'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_caps.h:111:36: note: Function 'wsp_cap_duplicate_list' argument 1 names different: declaration 'cap' definition 'caps_list'. gateway-1.4.5/wap/wsp_caps.c:125:36: note: Function 'wsp_cap_duplicate_list' argument 1 names different: declaration 'cap' definition 'caps_list'. gateway-1.4.5/wap/wsp_headers.c:1348:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WSP_HEADER_CONTENT_TYPE [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_headers.c:1934:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_isdigit [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_headers.c:2496:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_headers.c:2667:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WSP_CACHE_CONTROL_NO_CACHE [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_headers.c:2715:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WSP_HEADER_RANGE [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_headers.c:2928:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable octstr_destroy_item [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_headers.c:2986:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WSP_HEADER_CONTENT_TYPE [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_headers.c:472:47: style: Condition 'first' is always false [knownConditionTrueFalse] gateway-1.4.5/wap/wsp_headers.c:466:17: note: Assuming that condition 'first' is not redundant gateway-1.4.5/wap/wsp_headers.c:472:47: note: Condition 'first' is always false gateway-1.4.5/wap/wsp_headers.c:1375:38: style: Condition 'byte<127' is always true [knownConditionTrueFalse] gateway-1.4.5/wap/wsp_headers.c:1355:18: note: Assuming that condition 'byte==127' is not redundant gateway-1.4.5/wap/wsp_headers.c:1375:38: note: Condition 'byte<127' is always true gateway-1.4.5/wap/wsp_headers.c:1942:58: style: Condition 'pack_field_name(packed,parm->value)>=0' is always true [knownConditionTrueFalse] gateway-1.4.5/wap/wsp_headers.c:2222:38: note: Calling function 'wsp_pack_constrained_value' returns 0 gateway-1.4.5/wap/wsp_headers.c:1942:36: note: Calling function 'pack_field_name' returns 0 gateway-1.4.5/wap/wsp_headers.c:1942:58: note: Condition 'pack_field_name(packed,parm->value)>=0' is always true gateway-1.4.5/wap/wsp_headers.c:2918:58: style: Condition 'wsp_pack_list(packed,fieldnum,elements,i)<0' is always false [knownConditionTrueFalse] gateway-1.4.5/wap/wsp_headers.c:2918:26: note: Calling function 'wsp_pack_list' returns 0 gateway-1.4.5/wap/wsp_headers.c:2918:58: note: Condition 'wsp_pack_list(packed,fieldnum,elements,i)<0' is always false gateway-1.4.5/wap/wsp_headers.c:504:17: style: Checking if unsigned expression 'timeval' is less than zero. [unsignedLessThanZero] gateway-1.4.5/wap/wsp_headers.c:1331:47: style:inconclusive: Function 'wsp_headers_unpack' argument 2 names different: declaration 'content_type' definition 'content_type_present'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.h:166:47: note: Function 'wsp_headers_unpack' argument 2 names different: declaration 'content_type' definition 'content_type_present'. gateway-1.4.5/wap/wsp_headers.c:1331:47: note: Function 'wsp_headers_unpack' argument 2 names different: declaration 'content_type' definition 'content_type_present'. gateway-1.4.5/wap/wsp_headers.c:1615:27: style:inconclusive: Function 'wsp_pack_text' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.h:143:27: note: Function 'wsp_pack_text' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:1615:27: note: Function 'wsp_pack_text' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:1615:43: style:inconclusive: Function 'wsp_pack_text' argument 2 names different: declaration 'value' definition 'text'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.h:143:43: note: Function 'wsp_pack_text' argument 2 names different: declaration 'value' definition 'text'. gateway-1.4.5/wap/wsp_headers.c:1615:43: note: Function 'wsp_pack_text' argument 2 names different: declaration 'value' definition 'text'. gateway-1.4.5/wap/wsp_headers.c:1815:37: style:inconclusive: Function 'wsp_pack_integer_string' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.h:145:37: note: Function 'wsp_pack_integer_string' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:1815:37: note: Function 'wsp_pack_integer_string' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:1848:36: style:inconclusive: Function 'wsp_pack_version_value' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.h:146:36: note: Function 'wsp_pack_version_value' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:1848:36: note: Function 'wsp_pack_version_value' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:1848:52: style:inconclusive: Function 'wsp_pack_version_value' argument 2 names different: declaration 'value' definition 'version'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.h:146:52: note: Function 'wsp_pack_version_value' argument 2 names different: declaration 'value' definition 'version'. gateway-1.4.5/wap/wsp_headers.c:1848:52: note: Function 'wsp_pack_version_value' argument 2 names different: declaration 'value' definition 'version'. gateway-1.4.5/wap/wsp_headers.c:1984:29: style:inconclusive: Function 'pack_uri' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1426:29: note: Function 'pack_uri' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:1984:29: note: Function 'pack_uri' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:1990:29: style:inconclusive: Function 'pack_md5' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1420:29: note: Function 'pack_md5' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:1990:29: note: Function 'pack_md5' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2014:35: style:inconclusive: Function 'pack_challenge' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1410:35: note: Function 'pack_challenge' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2014:35: note: Function 'pack_challenge' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2118:37: style:inconclusive: Function 'pack_credentials' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1414:37: note: Function 'pack_credentials' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2118:37: note: Function 'pack_credentials' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2186:27: style:inconclusive: Function 'wsp_pack_date' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.h:141:27: note: Function 'wsp_pack_date' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2186:27: note: Function 'wsp_pack_date' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2205:36: style:inconclusive: Function 'pack_connection' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1411:36: note: Function 'pack_connection' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2205:36: note: Function 'pack_connection' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2211:34: style:inconclusive: Function 'pack_encoding' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1415:34: note: Function 'pack_encoding' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2211:34: note: Function 'pack_encoding' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2217:36: style:inconclusive: Function 'pack_field_name' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1417:36: note: Function 'pack_field_name' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2217:36: note: Function 'pack_field_name' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2226:34: style:inconclusive: Function 'pack_language' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1419:34: note: Function 'pack_language' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2226:34: note: Function 'pack_language' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2241:32: style:inconclusive: Function 'pack_method' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1421:32: note: Function 'pack_method' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2241:32: note: Function 'pack_method' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2250:36: style:inconclusive: Function 'pack_range_unit' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1424:36: note: Function 'pack_range_unit' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2250:36: note: Function 'pack_range_unit' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2318:43: style:inconclusive: Function 'pack_transfer_encoding' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1425:43: note: Function 'pack_transfer_encoding' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2318:43: note: Function 'pack_transfer_encoding' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2325:32: style:inconclusive: Function 'pack_accept' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1405:32: note: Function 'pack_accept' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2325:32: note: Function 'pack_accept' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2355:40: style:inconclusive: Function 'pack_accept_charset' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1406:40: note: Function 'pack_accept_charset' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2355:40: note: Function 'pack_accept_charset' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2393:41: style:inconclusive: Function 'pack_accept_encoding' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1407:41: note: Function 'pack_accept_encoding' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2393:41: note: Function 'pack_accept_encoding' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2417:41: style:inconclusive: Function 'pack_accept_language' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1408:41: note: Function 'pack_accept_language' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2417:41: note: Function 'pack_accept_language' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2451:39: style:inconclusive: Function 'pack_cache_control' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1409:39: note: Function 'pack_cache_control' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2451:39: note: Function 'pack_cache_control' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2526:45: style:inconclusive: Function 'pack_content_disposition' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1412:45: note: Function 'pack_content_disposition' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2526:45: note: Function 'pack_content_disposition' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2555:39: style:inconclusive: Function 'pack_content_range' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1413:39: note: Function 'pack_content_range' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2555:39: note: Function 'pack_content_range' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2626:35: style:inconclusive: Function 'wsp_pack_content_type' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.h:155:35: note: Function 'wsp_pack_content_type' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2626:35: note: Function 'wsp_pack_content_type' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2633:33: style:inconclusive: Function 'pack_expires' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1416:33: note: Function 'pack_expires' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2633:33: note: Function 'pack_expires' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2650:34: style:inconclusive: Function 'pack_if_range' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1418:34: note: Function 'pack_if_range' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2650:34: note: Function 'pack_if_range' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2661:32: style:inconclusive: Function 'pack_pragma' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1422:32: note: Function 'pack_pragma' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2661:32: note: Function 'pack_pragma' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2683:31: style:inconclusive: Function 'pack_range' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1423:31: note: Function 'pack_range' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2683:31: note: Function 'pack_range' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2727:34: style:inconclusive: Function 'wsp_pack_retry_after' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.h:142:34: note: Function 'wsp_pack_retry_after' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2727:34: note: Function 'wsp_pack_retry_after' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2777:33: style:inconclusive: Function 'pack_warning' argument 1 names different: declaration 'packet' definition 'packed'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_headers.c:1427:33: note: Function 'pack_warning' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:2777:33: note: Function 'pack_warning' argument 1 names different: declaration 'packet' definition 'packed'. gateway-1.4.5/wap/wsp_headers.c:759:51: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_pdu.c:136:33: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_pdu.c:246:42: style: Parameter 'pdu' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_pdu.c:138:15: style: Variable 'lastpos' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wsp_pdu.c:139:19: style: Variable 'lastnumbits' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wsp_pdu.c:140:15: style: Variable 'lastval' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wsp_pdu.c:137:7: style: Unused variable: bitpos [unusedVariable] gateway-1.4.5/wap/wsp_pdu.c:138:7: style: Variable 'lastpos' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wsp_pdu.c:139:7: style: Variable 'lastnumbits' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wsp_pdu.c:140:7: style: Variable 'lastval' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wsp_pdu.c:141:6: style: Unused variable: thistype [unusedVariable] gateway-1.4.5/wap/wsp_pdu.c:180:7: style: Variable 'bitpos' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wsp_push_client.c:230:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Invoke_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_push_client.c:390:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PUSH_CLIENT_NULL_STATE [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_push_client.c:421:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_ConfirmedPush_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_push_client.c:435:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_PushAbort_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_push_client.c:450:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_ConfirmedPush_Res [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_push_client.c:461:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Abort_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_push_client.c:474:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Invoke_Res [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_push_client.c:270:5: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] gateway-1.4.5/wap/wsp_push_client.c:206:50: style:inconclusive: Function 'name_push_client_state' argument 1 names different: declaration 'name' definition 'n'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_push_client.c:128:50: note: Function 'name_push_client_state' argument 1 names different: declaration 'name' definition 'n'. gateway-1.4.5/wap/wsp_push_client.c:206:50: note: Function 'name_push_client_state' argument 1 names different: declaration 'name' definition 'n'. gateway-1.4.5/wap/wsp_push_client.c:377:62: style:inconclusive: Function 'push_client_machine_create' argument 1 names different: declaration 'cpid' definition 'transid'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_push_client.c:110:62: note: Function 'push_client_machine_create' argument 1 names different: declaration 'cpid' definition 'transid'. gateway-1.4.5/wap/wsp_push_client.c:377:62: note: Function 'push_client_machine_create' argument 1 names different: declaration 'cpid' definition 'transid'. gateway-1.4.5/wap/wsp_push_client.c:280:27: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wsp_push_client.c:430:59: style: Parameter 'cpm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_push_client.c:446:63: style: Parameter 'cpm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_push_client.c:456:64: style: Parameter 'cpm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_push_client.c:470:66: style: Parameter 'cpm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_session.c:349:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Connect [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:437:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_SESSION [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:446:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Invoke_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:500:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_SESSION [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:599:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_METHOD [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:619:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_METHOD [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:681:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVER_PUSH_NULL_STATE [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:702:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVER_PUSH_NULL_STATE [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1041:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectReply [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1066:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Reply [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1090:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConfirmedPush [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1116:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Push [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1201:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Disconnect_Event [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1227:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Abort_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1258:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Invoke_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1280:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_Disconnect_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1294:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_Suspend_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1305:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_Resume_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1316:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_PushAbort_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1327:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_ConfirmedPush_Cnf [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1337:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Abort_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1356:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_MethodAbort_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1367:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOLDING [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1383:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Release_Event [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1400:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Abort_Event [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:1421:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Abort_Event [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_session.c:822:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gateway-1.4.5/wap/wsp_session.c:434:1: style: Label 'end' is not used. [unusedLabel] gateway-1.4.5/wap/wsp_session.c:598:1: style: Label 'end' is not used. [unusedLabel] gateway-1.4.5/wap/wsp_session.c:680:1: style: Label 'end' is not used. [unusedLabel] gateway-1.4.5/wap/wsp_session.c:408:46: style:inconclusive: Function 'handle_session_event' argument 1 names different: declaration 'machine' definition 'sm'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:128:46: note: Function 'handle_session_event' argument 1 names different: declaration 'machine' definition 'sm'. gateway-1.4.5/wap/wsp_session.c:408:46: note: Function 'handle_session_event' argument 1 names different: declaration 'machine' definition 'sm'. gateway-1.4.5/wap/wsp_session.c:408:60: style:inconclusive: Function 'handle_session_event' argument 2 names different: declaration 'event' definition 'current_event'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:128:65: note: Function 'handle_session_event' argument 2 names different: declaration 'event' definition 'current_event'. gateway-1.4.5/wap/wsp_session.c:408:60: note: Function 'handle_session_event' argument 2 names different: declaration 'event' definition 'current_event'. gateway-1.4.5/wap/wsp_session.c:535:35: style:inconclusive: Function 'machine_destroy' argument 1 names different: declaration 'p' definition 'pp'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:131:35: note: Function 'machine_destroy' argument 1 names different: declaration 'p' definition 'pp'. gateway-1.4.5/wap/wsp_session.c:535:35: note: Function 'machine_destroy' argument 1 names different: declaration 'p' definition 'pp'. gateway-1.4.5/wap/wsp_session.c:564:45: style:inconclusive: Function 'handle_method_event' argument 1 names different: declaration 'session' definition 'sm'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:133:45: note: Function 'handle_method_event' argument 1 names different: declaration 'session' definition 'sm'. gateway-1.4.5/wap/wsp_session.c:564:45: note: Function 'handle_method_event' argument 1 names different: declaration 'session' definition 'sm'. gateway-1.4.5/wap/wsp_session.c:564:67: style:inconclusive: Function 'handle_method_event' argument 2 names different: declaration 'machine' definition 'msm'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:133:72: note: Function 'handle_method_event' argument 2 names different: declaration 'machine' definition 'msm'. gateway-1.4.5/wap/wsp_session.c:564:67: note: Function 'handle_method_event' argument 2 names different: declaration 'machine' definition 'msm'. gateway-1.4.5/wap/wsp_session.c:565:11: style:inconclusive: Function 'handle_method_event' argument 3 names different: declaration 'event' definition 'current_event'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:133:91: note: Function 'handle_method_event' argument 3 names different: declaration 'event' definition 'current_event'. gateway-1.4.5/wap/wsp_session.c:565:11: note: Function 'handle_method_event' argument 3 names different: declaration 'event' definition 'current_event'. gateway-1.4.5/wap/wsp_session.c:630:42: style:inconclusive: Function 'method_machine_destroy' argument 1 names different: declaration 'msm' definition 'p'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:136:42: note: Function 'method_machine_destroy' argument 1 names different: declaration 'msm' definition 'p'. gateway-1.4.5/wap/wsp_session.c:630:42: note: Function 'method_machine_destroy' argument 1 names different: declaration 'msm' definition 'p'. gateway-1.4.5/wap/wsp_session.c:650:43: style:inconclusive: Function 'handle_push_event' argument 1 names different: declaration 'session' definition 'sm'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:138:43: note: Function 'handle_push_event' argument 1 names different: declaration 'session' definition 'sm'. gateway-1.4.5/wap/wsp_session.c:650:43: note: Function 'handle_push_event' argument 1 names different: declaration 'session' definition 'sm'. gateway-1.4.5/wap/wsp_session.c:650:63: style:inconclusive: Function 'handle_push_event' argument 2 names different: declaration 'machine' definition 'pm'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:138:68: note: Function 'handle_push_event' argument 2 names different: declaration 'machine' definition 'pm'. gateway-1.4.5/wap/wsp_session.c:650:63: note: Function 'handle_push_event' argument 2 names different: declaration 'machine' definition 'pm'. gateway-1.4.5/wap/wsp_session.c:651:41: style:inconclusive: Function 'handle_push_event' argument 3 names different: declaration 'e' definition 'current_event'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:139:41: note: Function 'handle_push_event' argument 3 names different: declaration 'e' definition 'current_event'. gateway-1.4.5/wap/wsp_session.c:651:41: note: Function 'handle_push_event' argument 3 names different: declaration 'e' definition 'current_event'. gateway-1.4.5/wap/wsp_session.c:687:56: style:inconclusive: Function 'push_machine_create' argument 1 names different: declaration 'session' definition 'sm'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:140:56: note: Function 'push_machine_create' argument 1 names different: declaration 'session' definition 'sm'. gateway-1.4.5/wap/wsp_session.c:687:56: note: Function 'push_machine_create' argument 1 names different: declaration 'session' definition 'sm'. gateway-1.4.5/wap/wsp_session.c:688:14: style:inconclusive: Function 'push_machine_create' argument 2 names different: declaration 'id' definition 'pid'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:140:70: note: Function 'push_machine_create' argument 2 names different: declaration 'id' definition 'pid'. gateway-1.4.5/wap/wsp_session.c:688:14: note: Function 'push_machine_create' argument 2 names different: declaration 'id' definition 'pid'. gateway-1.4.5/wap/wsp_session.c:1137:49: style:inconclusive: Function 'transaction_belongs_to_session' argument 1 names different: declaration 'session' definition 'wsp_ptr'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:153:49: note: Function 'transaction_belongs_to_session' argument 1 names different: declaration 'session' definition 'wsp_ptr'. gateway-1.4.5/wap/wsp_session.c:1137:49: note: Function 'transaction_belongs_to_session' argument 1 names different: declaration 'session' definition 'wsp_ptr'. gateway-1.4.5/wap/wsp_session.c:1137:64: style:inconclusive: Function 'transaction_belongs_to_session' argument 2 names different: declaration 'tuple' definition 'tuple_ptr'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:153:64: note: Function 'transaction_belongs_to_session' argument 2 names different: declaration 'tuple' definition 'tuple_ptr'. gateway-1.4.5/wap/wsp_session.c:1137:64: note: Function 'transaction_belongs_to_session' argument 2 names different: declaration 'tuple' definition 'tuple_ptr'. gateway-1.4.5/wap/wsp_session.c:1148:37: style:inconclusive: Function 'find_by_session_id' argument 1 names different: declaration 'session' definition 'wsp_ptr'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:154:37: note: Function 'find_by_session_id' argument 1 names different: declaration 'session' definition 'wsp_ptr'. gateway-1.4.5/wap/wsp_session.c:1148:37: note: Function 'find_by_session_id' argument 1 names different: declaration 'session' definition 'wsp_ptr'. gateway-1.4.5/wap/wsp_session.c:1148:52: style:inconclusive: Function 'find_by_session_id' argument 2 names different: declaration 'idp' definition 'id_ptr'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:154:52: note: Function 'find_by_session_id' argument 2 names different: declaration 'idp' definition 'id_ptr'. gateway-1.4.5/wap/wsp_session.c:1148:52: note: Function 'find_by_session_id' argument 2 names different: declaration 'idp' definition 'id_ptr'. gateway-1.4.5/wap/wsp_session.c:1179:30: style:inconclusive: Function 'same_client' argument 1 names different: declaration 'sm1' definition 'a'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:155:30: note: Function 'same_client' argument 1 names different: declaration 'sm1' definition 'a'. gateway-1.4.5/wap/wsp_session.c:1179:30: note: Function 'same_client' argument 1 names different: declaration 'sm1' definition 'a'. gateway-1.4.5/wap/wsp_session.c:1179:39: style:inconclusive: Function 'same_client' argument 2 names different: declaration 'sm2' definition 'b'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:155:41: note: Function 'same_client' argument 2 names different: declaration 'sm2' definition 'b'. gateway-1.4.5/wap/wsp_session.c:1179:39: note: Function 'same_client' argument 2 names different: declaration 'sm2' definition 'b'. gateway-1.4.5/wap/wsp_session.c:1254:37: style:inconclusive: Function 'send_invoke' argument 1 names different: declaration 'session' definition 'm'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:176:37: note: Function 'send_invoke' argument 1 names different: declaration 'session' definition 'm'. gateway-1.4.5/wap/wsp_session.c:1254:37: note: Function 'send_invoke' argument 1 names different: declaration 'session' definition 'm'. gateway-1.4.5/wap/wsp_session.c:1302:60: style:inconclusive: Function 'indicate_resume' argument 3 names different: declaration 'client_headers' definition 'headers'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:166:35: note: Function 'indicate_resume' argument 3 names different: declaration 'client_headers' definition 'headers'. gateway-1.4.5/wap/wsp_session.c:1302:60: note: Function 'indicate_resume' argument 3 names different: declaration 'client_headers' definition 'headers'. gateway-1.4.5/wap/wsp_session.c:1312:48: style:inconclusive: Function 'indicate_pushabort' argument 1 names different: declaration 'machine' definition 'spm'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:179:48: note: Function 'indicate_pushabort' argument 1 names different: declaration 'machine' definition 'spm'. gateway-1.4.5/wap/wsp_session.c:1312:48: note: Function 'indicate_pushabort' argument 1 names different: declaration 'machine' definition 'spm'. gateway-1.4.5/wap/wsp_session.c:1323:42: style:inconclusive: Function 'confirm_push' argument 1 names different: declaration 'machine' definition 'm'. [funcArgNamesDifferent] gateway-1.4.5/wap/wsp_session.c:180:42: note: Function 'confirm_push' argument 1 names different: declaration 'machine' definition 'm'. gateway-1.4.5/wap/wsp_session.c:1323:42: note: Function 'confirm_push' argument 1 names different: declaration 'machine' definition 'm'. gateway-1.4.5/wap/wsp_session.c:1009:45: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_session.c:1061:50: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_session.c:1149:14: style: Variable 'wsp' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wsp_session.c:1150:8: style: Variable 'idp' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wsp_session.c:1157:20: style: Variable 'msm' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wsp_session.c:1158:8: style: Variable 'idp' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wsp_session.c:1164:18: style: Variable 'm' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wsp_session.c:1165:8: style: Variable 'idp' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wsp_session.c:1277:45: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_session.c:1291:42: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_session.c:1301:41: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_session.c:1312:48: style: Parameter 'spm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_session.c:1323:42: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_session.c:1333:44: style: Parameter 'msm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_session.c:1352:53: style: Parameter 'msm' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wsp_session.c:1364:48: style: Parameter 'pattern' can be declared as pointer to const. However it seems that 'method_is_holding' is a callback function, if 'pattern' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/wap/wsp_session.c:1377:56: note: You might need to cast the function pointer here gateway-1.4.5/wap/wsp_session.c:1364:48: note: Parameter 'pattern' can be declared as pointer to const gateway-1.4.5/wap/wsp_session.c:1365:20: style: Variable 'msm' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wsp_session.c:1441:14: style: Variable 'wsp' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wsp_session.c:1442:7: style: Variable 'id' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wsp_session.c:558:7: style: struct member 'msm_pattern::msmid' is never used. [unusedStructMember] gateway-1.4.5/wap/wsp_session.c:558:14: style: struct member 'msm_pattern::tid' is never used. [unusedStructMember] gateway-1.4.5/wap/wsp_unit.c:140:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_DUnitdata_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_unit.c:269:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_Unit_MethodResult_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wsp_unit.c:305:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_Unit_Push_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp.c:106:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_DUnitdata_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp.c:197:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_DUnitdata_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp.c:211:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RcvInvoke [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp.c:232:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RcvSegInvoke [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RcvResult [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp.c:268:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RcvAck [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp.c:293:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RcvNegativeAck [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp.c:307:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RcvAbort [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp.c:320:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_DUnitdata_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp.c:348:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_DUnitdata_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp.c:195:41: style:inconclusive: Function 'truncated_datagram' argument 1 names different: declaration 'event' definition 'dgram'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp.c:83:41: note: Function 'truncated_datagram' argument 1 names different: declaration 'event' definition 'dgram'. gateway-1.4.5/wap/wtp.c:195:41: note: Function 'truncated_datagram' argument 1 names different: declaration 'event' definition 'dgram'. gateway-1.4.5/wap/wtp_init.c:335:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INITIATOR_NULL_STATE [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_init.c:508:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Invoke_Cnf [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_init.c:524:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Abort_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_init.c:555:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TimerTO_R [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_init.c:331:7: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] gateway-1.4.5/wap/wtp_init.c:261:40: style:inconclusive: Function 'init_machine_destroy' argument 1 names different: declaration 'sm' definition 'p'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_init.c:122:40: note: Function 'init_machine_destroy' argument 1 names different: declaration 'sm' definition 'p'. gateway-1.4.5/wap/wtp_init.c:261:40: note: Function 'init_machine_destroy' argument 1 names different: declaration 'sm' definition 'p'. gateway-1.4.5/wap/wtp_init.c:301:47: style:inconclusive: Function 'handle_init_event' argument 1 names different: declaration 'machine' definition 'init_machine'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_init.c:123:47: note: Function 'handle_init_event' argument 1 names different: declaration 'machine' definition 'init_machine'. gateway-1.4.5/wap/wtp_init.c:301:47: note: Function 'handle_init_event' argument 1 names different: declaration 'machine' definition 'init_machine'. gateway-1.4.5/wap/wtp_init.c:503:55: style:inconclusive: Function 'create_tr_invoke_cnf' argument 1 names different: declaration 'machine' definition 'init_machine'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_init.c:141:55: note: Function 'create_tr_invoke_cnf' argument 1 names different: declaration 'machine' definition 'init_machine'. gateway-1.4.5/wap/wtp_init.c:503:55: note: Function 'create_tr_invoke_cnf' argument 1 names different: declaration 'machine' definition 'init_machine'. gateway-1.4.5/wap/wtp_init.c:303:16: style: Variable 'wsp_event' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wtp_init.c:303:16: style: Variable 'wsp_event' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wtp_pack.c:120:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Invoke_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_pack.c:148:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Result_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_pack.c:188:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Result [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_pack.c:218:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_DUnitdata_Req [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_pack.c:229:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Abort [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_pack.c:249:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ack [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_pack.c:269:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ack [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_pack.c:115:43: style:inconclusive: Function 'wtp_pack_invoke' argument 1 names different: declaration 'init_machine' definition 'machine'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_pack.h:81:43: note: Function 'wtp_pack_invoke' argument 1 names different: declaration 'init_machine' definition 'machine'. gateway-1.4.5/wap/wtp_pack.c:115:43: note: Function 'wtp_pack_invoke' argument 1 names different: declaration 'init_machine' definition 'machine'. gateway-1.4.5/wap/wtp_pack.c:143:43: style:inconclusive: Function 'wtp_pack_result' argument 1 names different: declaration 'resp_machine' definition 'machine'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_pack.h:91:43: note: Function 'wtp_pack_result' argument 1 names different: declaration 'resp_machine' definition 'machine'. gateway-1.4.5/wap/wtp_pack.c:143:43: note: Function 'wtp_pack_result' argument 1 names different: declaration 'resp_machine' definition 'machine'. gateway-1.4.5/wap/wtp_pack.c:167:47: style:inconclusive: Function 'wtp_pack_sar_result' argument 1 names different: declaration 'resp_machine' definition 'machine'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_pack.h:96:47: note: Function 'wtp_pack_sar_result' argument 1 names different: declaration 'resp_machine' definition 'machine'. gateway-1.4.5/wap/wtp_pack.c:167:47: note: Function 'wtp_pack_sar_result' argument 1 names different: declaration 'resp_machine' definition 'machine'. gateway-1.4.5/wap/wtp_pdu.c:145:31: style:inconclusive: Function 'wtp_tpi_destroy' argument 1 names different: declaration 'tpi' definition 'p'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_pdu.h:116:31: note: Function 'wtp_tpi_destroy' argument 1 names different: declaration 'tpi' definition 'p'. gateway-1.4.5/wap/wtp_pdu.c:145:31: note: Function 'wtp_tpi_destroy' argument 1 names different: declaration 'tpi' definition 'p'. gateway-1.4.5/wap/wtp_pdu.c:240:33: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wtp_pdu.c:360:42: style: Parameter 'pdu' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wap/wtp_pdu.c:242:15: style: Variable 'lastpos' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wtp_pdu.c:243:19: style: Variable 'lastnumbits' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wtp_pdu.c:244:15: style: Variable 'lastval' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wtp_pdu.c:241:7: style: Unused variable: bitpos [unusedVariable] gateway-1.4.5/wap/wtp_pdu.c:242:7: style: Variable 'lastpos' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wtp_pdu.c:243:7: style: Variable 'lastnumbits' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wtp_pdu.c:244:7: style: Variable 'lastval' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wtp_pdu.c:245:6: style: Unused variable: thistype [unusedVariable] gateway-1.4.5/wap/wtp_pdu.c:286:7: style: Variable 'bitpos' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wtp_resp.c:347:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LISTEN [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:355:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RcvInvoke [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:376:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RcvInvoke [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:653:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Invoke_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:671:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Result_Cnf [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:685:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TR_Abort_Ind [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:703:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TimerTO_A [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:716:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TimerTO_R [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:730:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TimerTO_W [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:762:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RcvInvoke [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:930:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RcvAck [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:964:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RcvNegativeAck [valueFlowBailoutIncompleteVar] gateway-1.4.5/wap/wtp_resp.c:986:34: style: Condition '!sar->tr' is always true [knownConditionTrueFalse] gateway-1.4.5/wap/wtp_resp.c:985:19: note: Assignment 'sar->tr=0', assigned value is 0 gateway-1.4.5/wap/wtp_resp.c:986:34: note: Condition '!sar->tr' is always true gateway-1.4.5/wap/wtp_resp.c:343:5: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] gateway-1.4.5/wap/wtp_resp.c:285:34: style:inconclusive: Function 'name_resp_state' argument 1 names different: declaration 'name' definition 's'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_resp.c:149:34: note: Function 'name_resp_state' argument 1 names different: declaration 'name' definition 's'. gateway-1.4.5/wap/wtp_resp.c:285:34: note: Function 'name_resp_state' argument 1 names different: declaration 'name' definition 's'. gateway-1.4.5/wap/wtp_resp.c:302:47: style:inconclusive: Function 'resp_event_handle' argument 1 names different: declaration 'machine' definition 'resp_machine'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_resp.c:144:47: note: Function 'resp_event_handle' argument 1 names different: declaration 'machine' definition 'resp_machine'. gateway-1.4.5/wap/wtp_resp.c:302:47: note: Function 'resp_event_handle' argument 1 names different: declaration 'machine' definition 'resp_machine'. gateway-1.4.5/wap/wtp_resp.c:624:41: style:inconclusive: Function 'resp_machine_destroy' argument 1 names different: declaration 'sm' definition 'p'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_resp.c:122:40: note: Function 'resp_machine_destroy' argument 1 names different: declaration 'sm' definition 'p'. gateway-1.4.5/wap/wtp_resp.c:624:41: note: Function 'resp_machine_destroy' argument 1 names different: declaration 'sm' definition 'p'. gateway-1.4.5/wap/wtp_resp.c:873:36: style:inconclusive: Function 'sar_info_destroy' argument 1 names different: declaration 'sar_info' definition 'p'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_resp.c:191:36: note: Function 'sar_info_destroy' argument 1 names different: declaration 'sar_info' definition 'p'. gateway-1.4.5/wap/wtp_resp.c:873:36: note: Function 'sar_info_destroy' argument 1 names different: declaration 'sar_info' definition 'p'. gateway-1.4.5/wap/wtp_resp.c:883:35: style:inconclusive: Function 'sardata_destroy' argument 1 names different: declaration 'sardata' definition 'p'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_resp.c:192:35: note: Function 'sardata_destroy' argument 1 names different: declaration 'sardata' definition 'p'. gateway-1.4.5/wap/wtp_resp.c:883:35: note: Function 'sardata_destroy' argument 1 names different: declaration 'sardata' definition 'p'. gateway-1.4.5/wap/wtp_resp.c:894:46: style:inconclusive: Function 'begin_sar_result' argument 1 names different: declaration 'machine' definition 'resp_machine'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_resp.c:188:46: note: Function 'begin_sar_result' argument 1 names different: declaration 'machine' definition 'resp_machine'. gateway-1.4.5/wap/wtp_resp.c:894:46: note: Function 'begin_sar_result' argument 1 names different: declaration 'machine' definition 'resp_machine'. gateway-1.4.5/wap/wtp_resp.c:924:49: style:inconclusive: Function 'continue_sar_result' argument 1 names different: declaration 'machine' definition 'resp_machine'. [funcArgNamesDifferent] gateway-1.4.5/wap/wtp_resp.c:189:49: note: Function 'continue_sar_result' argument 1 names different: declaration 'machine' definition 'resp_machine'. gateway-1.4.5/wap/wtp_resp.c:924:49: note: Function 'continue_sar_result' argument 1 names different: declaration 'machine' definition 'resp_machine'. gateway-1.4.5/wap/wtp_resp.c:304:15: style: Variable 'wsp_event' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wtp_resp.c:817:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wtp_resp.c:818:10: style: Variable 'i' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wap/wtp_resp.c:304:15: style: Variable 'wsp_event' is assigned a value that is never used. [unreadVariable] gateway-1.4.5/wap/wtp_tid.c:222:17: style: Condition 'rcv_tid0' is not redundant gateway-1.4.5/wmlscript/wslexer.c:894:40: note: Condition 'result==0' is always true gateway-1.4.5/wmlscript/wslexer.c:623:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gateway-1.4.5/wmlscript/wslexer.c:631:32: style: Local variable 'p' shadows outer variable [shadowVariable] gateway-1.4.5/wmlscript/wslexer.c:226:20: note: Shadowed declaration gateway-1.4.5/wmlscript/wslexer.c:631:32: note: Shadow variable gateway-1.4.5/wmlscript/wslexer.c:876:36: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wmlscript/wsstream.c:120:10: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] gateway-1.4.5/wmlscript/wsstream_file.c:124:52: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'file_output' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gateway-1.4.5/wmlscript/wsstream_file.c:218:37: note: You might need to cast the function pointer here gateway-1.4.5/wmlscript/wsstream_file.c:124:52: note: Parameter 'buf' can be declared as pointer to const gateway-1.4.5/wmlscript/wsstree.c:972:43: style:inconclusive: Function 'ws_expr_unary' argument 4 names different: declaration 'expr' definition 'expression'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:428:53: note: Function 'ws_expr_unary' argument 4 names different: declaration 'expr' definition 'expression'. gateway-1.4.5/wmlscript/wsstree.c:972:43: note: Function 'ws_expr_unary' argument 4 names different: declaration 'expr' definition 'expression'. gateway-1.4.5/wmlscript/wsstree.c:1028:59: style:inconclusive: Function 'ws_expr_call' argument 2 names different: declaration 'linenum' definition 'line'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:445:61: note: Function 'ws_expr_call' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1028:59: note: Function 'ws_expr_call' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1051:61: style:inconclusive: Function 'ws_expr_symbol' argument 2 names different: declaration 'linenum' definition 'line'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:450:63: note: Function 'ws_expr_symbol' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1051:61: note: Function 'ws_expr_symbol' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1068:68: style:inconclusive: Function 'ws_expr_const_invalid' argument 2 names different: declaration 'linenum' definition 'line'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:454:70: note: Function 'ws_expr_const_invalid' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1068:68: note: Function 'ws_expr_const_invalid' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1074:65: style:inconclusive: Function 'ws_expr_const_true' argument 2 names different: declaration 'linenum' definition 'line'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:457:67: note: Function 'ws_expr_const_true' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1074:65: note: Function 'ws_expr_const_true' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1080:66: style:inconclusive: Function 'ws_expr_const_false' argument 2 names different: declaration 'linenum' definition 'line'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:460:68: note: Function 'ws_expr_const_false' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1080:66: note: Function 'ws_expr_const_false' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1086:68: style:inconclusive: Function 'ws_expr_const_integer' argument 2 names different: declaration 'linenum' definition 'line'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:463:70: note: Function 'ws_expr_const_integer' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1086:68: note: Function 'ws_expr_const_integer' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1100:66: style:inconclusive: Function 'ws_expr_const_float' argument 2 names different: declaration 'linenum' definition 'line'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:467:68: note: Function 'ws_expr_const_float' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1100:66: note: Function 'ws_expr_const_float' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1112:67: style:inconclusive: Function 'ws_expr_const_string' argument 2 names different: declaration 'linenum' definition 'line'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:471:69: note: Function 'ws_expr_const_string' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1112:67: note: Function 'ws_expr_const_string' argument 2 names different: declaration 'linenum' definition 'line'. gateway-1.4.5/wmlscript/wsstree.c:1389:59: style:inconclusive: Function 'ws_stmt_block' argument 2 names different: declaration 'first_line' definition 'fline'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:572:61: note: Function 'ws_stmt_block' argument 2 names different: declaration 'first_line' definition 'fline'. gateway-1.4.5/wmlscript/wsstree.c:1389:59: note: Function 'ws_stmt_block' argument 2 names different: declaration 'first_line' definition 'fline'. gateway-1.4.5/wmlscript/wsstree.c:1390:37: style:inconclusive: Function 'ws_stmt_block' argument 3 names different: declaration 'last_line' definition 'lline'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:573:37: note: Function 'ws_stmt_block' argument 3 names different: declaration 'last_line' definition 'lline'. gateway-1.4.5/wmlscript/wsstree.c:1390:37: note: Function 'ws_stmt_block' argument 3 names different: declaration 'last_line' definition 'lline'. gateway-1.4.5/wmlscript/wsstree.c:1449:39: style:inconclusive: Function 'ws_stmt_for' argument 7 names different: declaration 'stmt' definition 'stmt_body'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:598:40: note: Function 'ws_stmt_for' argument 7 names different: declaration 'stmt' definition 'stmt_body'. gateway-1.4.5/wmlscript/wsstree.c:1449:39: note: Function 'ws_stmt_for' argument 7 names different: declaration 'stmt' definition 'stmt_body'. gateway-1.4.5/wmlscript/wsstree.c:1466:61: style:inconclusive: Function 'ws_stmt_while' argument 4 names different: declaration 'stmt' definition 'stmt_arg'. [funcArgNamesDifferent] gateway-1.4.5/wmlscript/wsstree.h:602:62: note: Function 'ws_stmt_while' argument 4 names different: declaration 'stmt' definition 'stmt_arg'. gateway-1.4.5/wmlscript/wsstree.c:1466:61: note: Function 'ws_stmt_while' argument 4 names different: declaration 'stmt' definition 'stmt_arg'. gateway-1.4.5/wmlscript/wsstree.c:199:63: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wmlscript/wsstree.c:224:18: style: Variable 'uold' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wmlscript/wsstree.c:318:64: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gateway-1.4.5/wmlscript/wsstree.c:414:26: style: Variable 'ns' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wmlscript/wsstree.c:604:26: style: Variable 'ns' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wmlscript/wsstree.c:631:26: style: Variable 'ns' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wmlscript/wsstree.c:697:30: style: Variable 'use' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wmlscript/wsstree.c:776:26: style: Variable 'ns' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wmlscript/wsstree.c:1136:18: style: Variable 'ns' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/wmlscript/wsutf8.c:301:13: style: Checking if unsigned expression 'pos' is less than zero. [unsignedLessThanZero] gateway-1.4.5/wmlscript/wsutf8.c:298:20: style: Variable 'data' can be declared as pointer to const [constVariablePointer] gateway-1.4.5/gw/urltrans.c:769:12: warning: Null pointer dereference: t [ctunullpointer] gateway-1.4.5/gw/smsbox.c:1771:47: note: Assuming that condition 'trans!=NULL' is not redundant gateway-1.4.5/gw/smsbox.c:1773:27: note: Calling function obey_request, 2nd argument is null gateway-1.4.5/gw/smsbox.c:1244:13: note: Calling function urltrans_type, 1st argument is null gateway-1.4.5/gw/urltrans.c:769:12: note: Dereferencing argument t that is null gateway-1.4.5/test/test_smsc.c:190:20: warning: Null pointer dereference: e [ctunullpointer] gateway-1.4.5/test/test_smsc.c:743:33: note: Assuming that condition '(e=eq_extract(eq))!=NULL' is not redundant gateway-1.4.5/test/test_smsc.c:746:21: note: Calling function eq_destroy_event, 1st argument is null gateway-1.4.5/test/test_smsc.c:190:20: note: Dereferencing argument e that is null diff: head gateway-1.4.5/addons/sqlbox/gw/sqlbox.c:98:2: error: #error You need support for at least one DB engine. Please recompile Kannel. [preprocessorErrorDirective] head gateway-1.4.5/gw/smsc/smsc_at.c:1658:56: warning: Either the condition 'privdata!=NULL' is redundant or there is possible null pointer dereference: privdata. [nullPointerRedundantCheck] gateway-1.4.5/gw/smsc/smsc_at.c:1659:18: note: Assuming that condition 'privdata!=NULL' is not redundant gateway-1.4.5/gw/smsc/smsc_at.c:1658:56: note: Null pointer dereference head gateway-1.4.5/gwlib/thread.h:67:2: error: #error "You need POSIX.1 threads and header file" [preprocessorErrorDirective] head gateway-1.4.5/utils/start-stop-daemon.c:94:2: error: #error Unknown architecture - cannot build start-stop-daemon [preprocessorErrorDirective] head gateway-1.4.5/wap/wsp_pdu.c:138:7: style: Variable 'lastpos' is assigned a value that is never used. [unreadVariable] head gateway-1.4.5/wap/wsp_pdu.c:139:7: style: Variable 'lastnumbits' is assigned a value that is never used. [unreadVariable] head gateway-1.4.5/wap/wsp_pdu.c:140:7: style: Variable 'lastval' is assigned a value that is never used. [unreadVariable] head gateway-1.4.5/wap/wtp_pdu.c:242:7: style: Variable 'lastpos' is assigned a value that is never used. [unreadVariable] head gateway-1.4.5/wap/wtp_pdu.c:243:7: style: Variable 'lastnumbits' is assigned a value that is never used. [unreadVariable] head gateway-1.4.5/wap/wtp_pdu.c:244:7: style: Variable 'lastval' is assigned a value that is never used. [unreadVariable] head wmlscript/wsgram.y:219:62: style: Same expression on both sides of '-'. [duplicateExpression] head wmlscript/wsgram.y:375:94: style: Same expression on both sides of '-'. [duplicateExpression] head wmlscript/wsgram.y:784:85: style: Same expression on both sides of '-'. [duplicateExpression] head wmlscript/wsgram.y:804:92: style: Same expression on both sides of '-'. [duplicateExpression] head wmlscript/wsgram.y:809:90: style: Same expression on both sides of '-'. [duplicateExpression] head wmlscript/wsgram.y:814:91: style: Same expression on both sides of '-'. [duplicateExpression] DONE