2026-05-05 03:52 ftp://ftp.de.debian.org/debian/pool/main/s/sstp-client/sstp-client_1.0.20.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 255 230 elapsed-time: 1.0 0.9 head-timing-info: old-timing-info: head results: sstp-client-1.0.20/src/libsstp-api/sstp-api.c:22:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_API_MSG_MAGIC [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-api/sstp-api.c:42:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_API_MSG_MAGIC [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-api/sstp-api.c:87:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_API_ATTR_MAX [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-api/sstp-api.c:30:39: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/libsstp-api/sstp-api.c:37:40: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/libsstp-api/sstp-api.c:61:29: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/libsstp-compat/sstp-compat.c:19:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable event_st [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log-file.c:41:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log-file.c:117:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log-file.c:35:18: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/libsstp-log/sstp-log-file.c:71:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] sstp-client-1.0.20/src/libsstp-log/sstp-log-std.c:70:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log-std.c:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log-std.c:25:43: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'sstp_logstd_write' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sstp-client-1.0.20/src/libsstp-log/sstp-log-std.c:97:18: note: You might need to cast the function pointer here sstp-client-1.0.20/src/libsstp-log/sstp-log-std.c:25:43: note: Parameter 'ctx' can be declared as pointer to const sstp-client-1.0.20/src/libsstp-log/sstp-log-std.c:33:18: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/libsstp-log/sstp-log-std.c:59:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] sstp-client-1.0.20/src/libsstp-log/sstp-log-syslog.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log-syslog.c:129:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log-syslog.c:36:60: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'sstp_syslog_write' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sstp-client-1.0.20/src/libsstp-log/sstp-log-syslog.c:152:18: note: You might need to cast the function pointer here sstp-client-1.0.20/src/libsstp-log/sstp-log-syslog.c:36:60: note: Parameter 'msg' can be declared as pointer to const sstp-client-1.0.20/src/libsstp-log/sstp-log-syslog.c:44:18: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/libsstp-log/sstp-log-syslog.c:83:13: style: Variable 'len' is assigned a value that is never used. [unreadVariable] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:121:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:173:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_LOG_TRACE [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:319:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:338:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:572:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:198:25: error: Array 'm_ctx.token[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:184:31: note: Assuming that condition 'index<(sizeof(m_ctx.token)/sizeof(char*))' is not redundant sstp-client-1.0.20/src/libsstp-log/sstp-log.c:198:25: note: Array index out of bounds sstp-client-1.0.20/src/libsstp-log/sstp-log.c:435:13: warning:inconclusive: The buffer 'buff' may not be null-terminated after the call to strncpy(). [terminateStrncpy] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:347:11: style: Variable 'ident' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:373:20: style: Variable 'option' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:63:10: style: struct member 'sstp_log_st::filter' is never used. [unusedStructMember] sstp-client-1.0.20/src/pppd-plugin/sstp-mppe.c:28:31: style: Parameter 'send_key' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/pppd-plugin/sstp-mppe.c:42:31: style: Parameter 'recv_key' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/pppd-plugin/sstp-pppd-compat.h:82:2: error: failed to evaluate #if condition, undefined function-like macro invocation: PPP_VERSION( ... ) [syntaxError] sstp-client-1.0.20/src/sstp-buff.c:27:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-buff.c:97:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-buff.c:128:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OVERFLOW [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-buff.c:142:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-buff.c:21:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-buff.c:26:11: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-buff.c:93:40: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-chap.c:45:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-chap.c:120:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-chap.c:182:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-chap.c:78:13: style: Condition 'ctx' is always true [knownConditionTrueFalse] sstp-client-1.0.20/src/sstp-chap.c:148:17: style: Condition 'ctx!=NULL' is always true [knownConditionTrueFalse] sstp-client-1.0.20/src/sstp-chap.c:253:13: style: Condition 'ctx' is always true [knownConditionTrueFalse] sstp-client-1.0.20/src/sstp-client.c:63:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:107:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:146:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:214:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:265:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_CONNECTED [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:316:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:381:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_CONNECTED [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:416:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:466:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:532:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:652:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:706:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:810:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:860:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-client.c:145:21: style: Local variable 'client' shadows outer variable [shadowVariable] sstp-client-1.0.20/src/sstp-client.c:45:23: note: Shadowed declaration sstp-client-1.0.20/src/sstp-client.c:145:21: note: Shadow variable sstp-client-1.0.20/src/sstp-client.c:211:21: style: Variable 'opts' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-cmac.c:53:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-cmac.c:159:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-cmac.c:83:52: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-cmac.c:96:52: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-cmac.c:112:52: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-dump.c:1089:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_LOG_TRACE [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-dump.c:1112:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_LOG_DBGCTRL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-dump.c:1022:51: style:inconclusive: Function 'sstp_ppp_handler' argument 1 names different: declaration 'id' definition 'proto'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-dump.c:37:51: note: Function 'sstp_ppp_handler' argument 1 names different: declaration 'id' definition 'proto'. sstp-client-1.0.20/src/sstp-dump.c:1022:51: note: Function 'sstp_ppp_handler' argument 1 names different: declaration 'id' definition 'proto'. sstp-client-1.0.20/src/sstp-dump.c:168:50: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-dump.c:328:40: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-dump.c:548:24: style: Variable 'optptr' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-dump.c:876:20: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-dump.c:1103:18: style: Variable 'pkt' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-dump.c:1104:19: style: Variable 'ctrl' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-dump.c:648:21: style: Variable 'len' is assigned a value that is never used. [unreadVariable] sstp-client-1.0.20/src/sstp-dump.c:718:21: style: Variable 'len' is assigned a value that is never used. [unreadVariable] sstp-client-1.0.20/src/sstp-dump.c:988:17: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] sstp-client-1.0.20/src/sstp-dump.c:1002:17: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] sstp-client-1.0.20/src/sstp-event.c:63:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_API_ATTR_MAX [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-event.c:132:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-event.c:175:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-event.c:249:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-event.c:263:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-event.c:375:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-event.c:69:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] sstp-client-1.0.20/src/sstp-event.c:368:20: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] sstp-client-1.0.20/src/sstp-event.c:260:56: style:inconclusive: Function 'sstp_event_create' argument 5 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-event.c:235:23: style: Variable 'key' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-event.c:253:48: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-event.c:259:65: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-fcs.c:97:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OVERFLOW [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-fcs.c:166:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OVERFLOW [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-http.c:82:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-http.c:148:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-http.c:198:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-http.c:215:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-http.c:242:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-http.c:276:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-http.c:389:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-http.c:440:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-http.c:74:38: style:inconclusive: Function 'sstp_http_create' argument 4 names different: declaration '' definition 'uarg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-http.c:74:48: style:inconclusive: Function 'sstp_http_create' argument 5 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-http.c:359:21: style:inconclusive: Function 'sstp_http_setcreds' argument 3 names different: declaration 'password' definition 'pass'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-http.h:63:21: note: Function 'sstp_http_setcreds' argument 3 names different: declaration 'password' definition 'pass'. sstp-client-1.0.20/src/sstp-http.c:359:21: note: Function 'sstp_http_setcreds' argument 3 names different: declaration 'password' definition 'pass'. sstp-client-1.0.20/src/sstp-http.c:142:21: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-http.c:321:9: style: Variable 'tot' is assigned a value that is never used. [unreadVariable] sstp-client-1.0.20/src/sstp-option.c:32:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_LOG_ERR [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-option.c:60:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-option.c:171:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-option.c:388:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_USER [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-option.c:266:39: style:inconclusive: Function 'sstp_option_free' argument 1 names different: declaration 'opts' definition 'ctx'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-option.h:132:39: note: Function 'sstp_option_free' argument 1 names different: declaration 'opts' definition 'ctx'. sstp-client-1.0.20/src/sstp-option.c:266:39: note: Function 'sstp_option_free' argument 1 names different: declaration 'opts' definition 'ctx'. sstp-client-1.0.20/src/sstp-option.c:312:26: style: Variable 'option_long' can be declared as const array [constVariable] sstp-client-1.0.20/src/sstp-packet.c:23:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-packet.c:80:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-packet.c:205:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-packet.c:195:39: style:inconclusive: Function 'sstp_pkt_parse' argument 1 names different: declaration 'buff' definition 'buf'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-packet.h:238:39: note: Function 'sstp_pkt_parse' argument 1 names different: declaration 'buff' definition 'buf'. sstp-client-1.0.20/src/sstp-packet.c:195:39: note: Function 'sstp_pkt_parse' argument 1 names different: declaration 'buff' definition 'buf'. sstp-client-1.0.20/src/sstp-packet.c:75:31: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-packet.c:125:18: style: Variable 'pkt' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-packet.c:140:18: style: Variable 'pkt' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-packet.c:155:18: style: Variable 'pkt' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-packet.c:181:23: style: Variable 'ctrl' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-packet.c:198:18: style: Variable 'pkt' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-packet.c:199:19: style: Variable 'ctrl' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-packet.c:264:33: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-pppd.c:125:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-pppd.c:167:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-pppd.c:331:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-pppd.c:411:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-pppd.c:460:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-pppd.c:507:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-pppd.c:652:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-pppd.c:659:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-pppd.c:469:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] sstp-client-1.0.20/src/sstp-pppd.c:657:46: style:inconclusive: Function 'sstp_pppd_create' argument 4 names different: declaration 'notify' definition 'notify_cb'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-pppd.h:89:42: note: Function 'sstp_pppd_create' argument 4 names different: declaration 'notify' definition 'notify_cb'. sstp-client-1.0.20/src/sstp-pppd.c:657:46: note: Function 'sstp_pppd_create' argument 4 names different: declaration 'notify' definition 'notify_cb'. sstp-client-1.0.20/src/sstp-pppd.c:657:63: style:inconclusive: Function 'sstp_pppd_create' argument 5 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-pppd.c:122:69: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'ppp_send_complete' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sstp-client-1.0.20/src/sstp-pppd.c:384:17: note: You might need to cast the function pointer here sstp-client-1.0.20/src/sstp-pppd.c:122:69: note: Parameter 'buf' can be declared as pointer to const sstp-client-1.0.20/src/sstp-pppd.c:220:17: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-route.c:822:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-route.c:796:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] sstp-client-1.0.20/src/sstp-route.c:812:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] sstp-client-1.0.20/src/sstp-route.c:786:63: style: Parameter 'route' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-route.c:802:62: style: Parameter 'route' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-route.c:824:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-route.c:858:41: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-route.c:52:9: style: struct member 'sstp_route_ctx::sock' is never used. [unusedStructMember] sstp-client-1.0.20/src/sstp-route.c:55:9: style: struct member 'sstp_route_ctx::seq' is never used. [unusedStructMember] sstp-client-1.0.20/src/sstp-route.c:58:9: style: struct member 'sstp_route_ctx::len' is never used. [unusedStructMember] sstp-client-1.0.20/src/sstp-route.c:61:10: style: struct member 'sstp_route_ctx::buf' is never used. [unusedStructMember] sstp-client-1.0.20/src/sstp-state.c:83:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:103:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:164:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:196:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:225:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:254:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:286:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:343:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:403:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:425:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_LOG_DBGCTRL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:451:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:497:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:541:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:626:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:648:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:694:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:735:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-state.c:71:24: style:inconclusive: Function 'sstp_state_set_forward' argument 3 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-state.c:486:44: style:inconclusive: Function 'sstp_state_resume_recv' argument 1 names different: declaration 'state' definition 'ctx'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-state.h:83:44: note: Function 'sstp_state_resume_recv' argument 1 names different: declaration 'state' definition 'ctx'. sstp-client-1.0.20/src/sstp-state.c:486:44: note: Function 'sstp_state_resume_recv' argument 1 names different: declaration 'state' definition 'ctx'. sstp-client-1.0.20/src/sstp-state.c:667:46: style:inconclusive: Function 'sstp_state_mppe_keys' argument 1 names different: declaration 'state' definition 'ctx'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-state.h:70:46: note: Function 'sstp_state_mppe_keys' argument 1 names different: declaration 'state' definition 'ctx'. sstp-client-1.0.20/src/sstp-state.c:667:46: note: Function 'sstp_state_mppe_keys' argument 1 names different: declaration 'state' definition 'ctx'. sstp-client-1.0.20/src/sstp-state.c:667:66: style:inconclusive: Function 'sstp_state_mppe_keys' argument 2 names different: declaration 'skey' definition 'send_key'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-state.h:70:68: note: Function 'sstp_state_mppe_keys' argument 2 names different: declaration 'skey' definition 'send_key'. sstp-client-1.0.20/src/sstp-state.c:667:66: note: Function 'sstp_state_mppe_keys' argument 2 names different: declaration 'skey' definition 'send_key'. sstp-client-1.0.20/src/sstp-state.c:668:24: style:inconclusive: Function 'sstp_state_mppe_keys' argument 3 names different: declaration 'rkey' definition 'recv_key'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-state.h:71:24: note: Function 'sstp_state_mppe_keys' argument 3 names different: declaration 'rkey' definition 'recv_key'. sstp-client-1.0.20/src/sstp-state.c:668:24: note: Function 'sstp_state_mppe_keys' argument 3 names different: declaration 'rkey' definition 'recv_key'. sstp-client-1.0.20/src/sstp-state.c:668:41: style:inconclusive: Function 'sstp_state_mppe_keys' argument 4 names different: declaration 'rlen' definition 'key_len'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-state.h:71:37: note: Function 'sstp_state_mppe_keys' argument 4 names different: declaration 'rlen' definition 'key_len'. sstp-client-1.0.20/src/sstp-state.c:668:41: note: Function 'sstp_state_mppe_keys' argument 4 names different: declaration 'rlen' definition 'key_len'. sstp-client-1.0.20/src/sstp-state.c:733:46: style:inconclusive: Function 'sstp_state_create' argument 4 names different: declaration '' definition 'ctx'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-state.c:733:55: style:inconclusive: Function 'sstp_state_create' argument 5 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-state.c:108:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-state.c:293:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-state.c:667:66: style: Parameter 'send_key' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-state.c:668:24: style: Parameter 'recv_key' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-state.c:698:46: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-stream.c:171:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_INPROG [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:192:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_TIMEOUT [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:217:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:276:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:311:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:348:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:406:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:435:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:489:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:543:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:554:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:604:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:638:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:712:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:733:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:771:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:843:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:917:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-stream.c:113:9: warning: If memory allocation fails, then there is a possible null pointer dereference: op [nullPointerOutOfMemory] sstp-client-1.0.20/src/sstp-stream.c:112:20: note: Assuming allocation function fails sstp-client-1.0.20/src/sstp-stream.c:112:20: note: Assignment 'op=calloc(1,sizeof(struct sstp_operation_st))', assigned value is 0 sstp-client-1.0.20/src/sstp-stream.c:113:9: note: Null pointer dereference sstp-client-1.0.20/src/sstp-stream.c:114:9: warning: If memory allocation fails, then there is a possible null pointer dereference: op [nullPointerOutOfMemory] sstp-client-1.0.20/src/sstp-stream.c:112:20: note: Assuming allocation function fails sstp-client-1.0.20/src/sstp-stream.c:112:20: note: Assignment 'op=calloc(1,sizeof(struct sstp_operation_st))', assigned value is 0 sstp-client-1.0.20/src/sstp-stream.c:114:9: note: Null pointer dereference sstp-client-1.0.20/src/sstp-stream.c:115:9: warning: If memory allocation fails, then there is a possible null pointer dereference: op [nullPointerOutOfMemory] sstp-client-1.0.20/src/sstp-stream.c:112:20: note: Assuming allocation function fails sstp-client-1.0.20/src/sstp-stream.c:112:20: note: Assignment 'op=calloc(1,sizeof(struct sstp_operation_st))', assigned value is 0 sstp-client-1.0.20/src/sstp-stream.c:115:9: note: Null pointer dereference sstp-client-1.0.20/src/sstp-stream.c:116:9: warning: If memory allocation fails, then there is a possible null pointer dereference: op [nullPointerOutOfMemory] sstp-client-1.0.20/src/sstp-stream.c:112:20: note: Assuming allocation function fails sstp-client-1.0.20/src/sstp-stream.c:112:20: note: Assignment 'op=calloc(1,sizeof(struct sstp_operation_st))', assigned value is 0 sstp-client-1.0.20/src/sstp-stream.c:116:9: note: Null pointer dereference sstp-client-1.0.20/src/sstp-stream.c:215:11: style:inconclusive: Function 'sstp_operation_add_read' argument 6 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:404:42: style:inconclusive: Function 'sstp_stream_recv_plain' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:404:51: style:inconclusive: Function 'sstp_stream_recv_plain' argument 5 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:433:42: style:inconclusive: Function 'sstp_stream_recv_http' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:433:51: style:inconclusive: Function 'sstp_stream_recv_http' argument 5 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:487:42: style:inconclusive: Function 'sstp_stream_recv_sstp' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:487:51: style:inconclusive: Function 'sstp_stream_recv_sstp' argument 5 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:539:19: style:inconclusive: Function 'sstp_stream_setrecv' argument 3 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:539:41: style:inconclusive: Function 'sstp_stream_setrecv' argument 4 names different: declaration '' definition 'complete'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:539:57: style:inconclusive: Function 'sstp_stream_setrecv' argument 5 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:539:66: style:inconclusive: Function 'sstp_stream_setrecv' argument 6 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:595:38: style:inconclusive: Function 'sstp_stream_send_plain' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:595:47: style:inconclusive: Function 'sstp_stream_send_plain' argument 5 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:624:43: style:inconclusive: Function 'sstp_stream_send' argument 1 names different: declaration 'client' definition 'stream'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-stream.h:108:43: note: Function 'sstp_stream_send' argument 1 names different: declaration 'client' definition 'stream'. sstp-client-1.0.20/src/sstp-stream.c:624:43: note: Function 'sstp_stream_send' argument 1 names different: declaration 'client' definition 'stream'. sstp-client-1.0.20/src/sstp-stream.c:625:38: style:inconclusive: Function 'sstp_stream_send' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:625:47: style:inconclusive: Function 'sstp_stream_send' argument 5 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:765:46: style:inconclusive: Function 'sstp_stream_connect' argument 1 names different: declaration 'client' definition 'stream'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-stream.h:129:46: note: Function 'sstp_stream_connect' argument 1 names different: declaration 'client' definition 'stream'. sstp-client-1.0.20/src/sstp-stream.c:765:46: note: Function 'sstp_stream_connect' argument 1 names different: declaration 'client' definition 'stream'. sstp-client-1.0.20/src/sstp-stream.c:766:13: style:inconclusive: Function 'sstp_stream_connect' argument 3 names different: declaration 'addrlen' definition 'alen'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-stream.h:130:13: note: Function 'sstp_stream_connect' argument 3 names different: declaration 'addrlen' definition 'alen'. sstp-client-1.0.20/src/sstp-stream.c:766:13: note: Function 'sstp_stream_connect' argument 3 names different: declaration 'addrlen' definition 'alen'. sstp-client-1.0.20/src/sstp-stream.c:766:52: style:inconclusive: Function 'sstp_stream_connect' argument 5 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:766:61: style:inconclusive: Function 'sstp_stream_connect' argument 6 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] sstp-client-1.0.20/src/sstp-stream.c:840:46: style:inconclusive: Function 'sstp_stream_destroy' argument 1 names different: declaration 'client' definition 'stream'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-stream.h:143:46: note: Function 'sstp_stream_destroy' argument 1 names different: declaration 'client' definition 'stream'. sstp-client-1.0.20/src/sstp-stream.c:840:46: note: Function 'sstp_stream_destroy' argument 1 names different: declaration 'client' definition 'stream'. sstp-client-1.0.20/src/sstp-stream.c:910:46: style:inconclusive: Function 'sstp_stream_create' argument 1 names different: declaration 'client' definition 'stream'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-stream.h:136:46: note: Function 'sstp_stream_create' argument 1 names different: declaration 'client' definition 'stream'. sstp-client-1.0.20/src/sstp-stream.c:910:46: note: Function 'sstp_stream_create' argument 1 names different: declaration 'client' definition 'stream'. sstp-client-1.0.20/src/sstp-task.c:59:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-task.c:70:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-task.c:101:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-task.c:129:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-task.c:199:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-task.c:206:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-task.c:234:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-task.c:195:34: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-task.c:203:35: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-task.c:215:44: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-task.c:221:36: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] sstp-client-1.0.20/src/sstp-util.c:31:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:49:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:101:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_FAIL [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:111:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:123:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:146:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:265:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSTP_OKAY [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:353:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:383:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_GETPW_R_SIZE_MAX [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:413:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_GETGR_R_SIZE_MAX [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:460:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:535:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sstp-client-1.0.20/src/sstp-util.c:390:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] sstp-client-1.0.20/src/sstp-util.c:420:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] sstp-client-1.0.20/src/sstp-util.c:169:19: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] sstp-client-1.0.20/src/sstp-util.c:165:22: note: Assuming allocation function fails sstp-client-1.0.20/src/sstp-util.c:165:22: note: Assignment 'ctx->ptr=strdup(path)', assigned value is 0 sstp-client-1.0.20/src/sstp-util.c:166:9: note: ptr is assigned 'ctx->ptr' here. sstp-client-1.0.20/src/sstp-util.c:169:19: note: Null pointer dereference sstp-client-1.0.20/src/sstp-util.c:436:30: style:inconclusive: Function 'sstp_sandbox' argument 1 names different: declaration 'newroot' definition 'path'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-util.h:135:30: note: Function 'sstp_sandbox' argument 1 names different: declaration 'newroot' definition 'path'. sstp-client-1.0.20/src/sstp-util.c:436:30: note: Function 'sstp_sandbox' argument 1 names different: declaration 'newroot' definition 'path'. sstp-client-1.0.20/src/sstp-util.c:299:10: style: Variable 'v' can be declared as const array [constVariable] sstp-client-1.0.20/src/sstp-util.c:352:29: style: Variable 'in' can be declared as pointer to const [constVariablePointer] sstp-client-1.0.20/src/sstp-util.c:361:30: style: Variable 'in' can be declared as pointer to const [constVariablePointer] diff: head sstp-client-1.0.20/src/libsstp-log/sstp-log.c:198:25: error: Array 'm_ctx.token[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds] sstp-client-1.0.20/src/libsstp-log/sstp-log.c:184:31: note: Assuming that condition 'index<(sizeof(m_ctx.token)/sizeof(char*))' is not redundant sstp-client-1.0.20/src/libsstp-log/sstp-log.c:198:25: note: Array index out of bounds head sstp-client-1.0.20/src/sstp-client.c:211:21: style: Variable 'opts' can be declared as pointer to const [constVariablePointer] head sstp-client-1.0.20/src/sstp-event.c:259:65: style: Parameter 'opts' can be declared as pointer to const [constParameterPointer] head sstp-client-1.0.20/src/sstp-event.c:260:56: style:inconclusive: Function 'sstp_event_create' argument 5 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-http.c:74:38: style:inconclusive: Function 'sstp_http_create' argument 4 names different: declaration '' definition 'uarg'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-http.c:74:48: style:inconclusive: Function 'sstp_http_create' argument 5 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-pppd.c:657:46: style:inconclusive: Function 'sstp_pppd_create' argument 4 names different: declaration 'notify' definition 'notify_cb'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-pppd.h:89:42: note: Function 'sstp_pppd_create' argument 4 names different: declaration 'notify' definition 'notify_cb'. sstp-client-1.0.20/src/sstp-pppd.c:657:46: note: Function 'sstp_pppd_create' argument 4 names different: declaration 'notify' definition 'notify_cb'. head sstp-client-1.0.20/src/sstp-pppd.c:657:63: style:inconclusive: Function 'sstp_pppd_create' argument 5 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-state.c:71:24: style:inconclusive: Function 'sstp_state_set_forward' argument 3 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-state.c:733:46: style:inconclusive: Function 'sstp_state_create' argument 4 names different: declaration '' definition 'ctx'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-state.c:733:55: style:inconclusive: Function 'sstp_state_create' argument 5 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:215:11: style:inconclusive: Function 'sstp_operation_add_read' argument 6 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:404:42: style:inconclusive: Function 'sstp_stream_recv_plain' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:404:51: style:inconclusive: Function 'sstp_stream_recv_plain' argument 5 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:433:42: style:inconclusive: Function 'sstp_stream_recv_http' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:433:51: style:inconclusive: Function 'sstp_stream_recv_http' argument 5 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:487:42: style:inconclusive: Function 'sstp_stream_recv_sstp' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:487:51: style:inconclusive: Function 'sstp_stream_recv_sstp' argument 5 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:539:19: style:inconclusive: Function 'sstp_stream_setrecv' argument 3 names different: declaration '' definition 'buf'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:539:41: style:inconclusive: Function 'sstp_stream_setrecv' argument 4 names different: declaration '' definition 'complete'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:539:57: style:inconclusive: Function 'sstp_stream_setrecv' argument 5 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:539:66: style:inconclusive: Function 'sstp_stream_setrecv' argument 6 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:595:38: style:inconclusive: Function 'sstp_stream_send_plain' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:595:47: style:inconclusive: Function 'sstp_stream_send_plain' argument 5 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:625:38: style:inconclusive: Function 'sstp_stream_send' argument 4 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] 2.20.0 sstp-client-1.0.20/src/sstp-stream.c:625:38: style:inconclusive: Function 'sstp_stream_send' argument 4 names different: declaration 'ctx' definition 'arg'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-stream.h:109:42: note: Function 'sstp_stream_send' argument 4 names different: declaration 'ctx' definition 'arg'. sstp-client-1.0.20/src/sstp-stream.c:625:38: note: Function 'sstp_stream_send' argument 4 names different: declaration 'ctx' definition 'arg'. head sstp-client-1.0.20/src/sstp-stream.c:625:47: style:inconclusive: Function 'sstp_stream_send' argument 5 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] head sstp-client-1.0.20/src/sstp-stream.c:766:52: style:inconclusive: Function 'sstp_stream_connect' argument 5 names different: declaration '' definition 'arg'. [funcArgNamesDifferentUnnamed] 2.20.0 sstp-client-1.0.20/src/sstp-stream.c:766:52: style:inconclusive: Function 'sstp_stream_connect' argument 5 names different: declaration 'ctx' definition 'arg'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-stream.h:130:55: note: Function 'sstp_stream_connect' argument 5 names different: declaration 'ctx' definition 'arg'. sstp-client-1.0.20/src/sstp-stream.c:766:52: note: Function 'sstp_stream_connect' argument 5 names different: declaration 'ctx' definition 'arg'. head sstp-client-1.0.20/src/sstp-stream.c:766:61: style:inconclusive: Function 'sstp_stream_connect' argument 6 names different: declaration '' definition 'timeout'. [funcArgNamesDifferentUnnamed] 2.20.0 sstp-client-1.0.20/src/sstp-stream.c:766:61: style:inconclusive: Function 'sstp_stream_connect' argument 6 names different: declaration 'timout' definition 'timeout'. [funcArgNamesDifferent] sstp-client-1.0.20/src/sstp-stream.h:130:64: note: Function 'sstp_stream_connect' argument 6 names different: declaration 'timout' definition 'timeout'. sstp-client-1.0.20/src/sstp-stream.c:766:61: note: Function 'sstp_stream_connect' argument 6 names different: declaration 'timout' definition 'timeout'. DONE