2024-04-17 19:26 ftp://ftp.de.debian.org/debian/pool/main/l/l2tpns/l2tpns_2.4.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --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 -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 397464e (2024-04-17 17:31:21 +0200) count: 439 292 elapsed-time: 6.1 10.5 head-timing-info: old-timing-info: head results: l2tpns-2.4.1/arp.c:36:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ALEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/autosnoop.c:25:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_NONE [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/autothrottle.c:86:18: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/constants.c:20:1: style:inconclusive: Function 'l2tp_code' argument 1 names different: declaration 'type' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:4:27: note: Function 'l2tp_code' argument 1 names different: declaration 'type' definition 'index'. l2tpns-2.4.1/constants.c:20:1: note: Function 'l2tp_code' argument 1 names different: declaration 'type' definition 'index'. l2tpns-2.4.1/constants.c:40:1: style:inconclusive: Function 'l2tp_avp_name' argument 1 names different: declaration 'avp' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:5:31: note: Function 'l2tp_avp_name' argument 1 names different: declaration 'avp' definition 'index'. l2tpns-2.4.1/constants.c:40:1: note: Function 'l2tp_avp_name' argument 1 names different: declaration 'avp' definition 'index'. l2tpns-2.4.1/constants.c:83:1: style:inconclusive: Function 'l2tp_stopccn_result_code' argument 1 names different: declaration 'code' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:6:42: note: Function 'l2tp_stopccn_result_code' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/constants.c:83:1: note: Function 'l2tp_stopccn_result_code' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/constants.c:96:1: style:inconclusive: Function 'l2tp_cdn_result_code' argument 1 names different: declaration 'code' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:7:38: note: Function 'l2tp_cdn_result_code' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/constants.c:96:1: note: Function 'l2tp_cdn_result_code' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/constants.c:116:1: style:inconclusive: Function 'l2tp_error_code' argument 1 names different: declaration 'code' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:8:33: note: Function 'l2tp_error_code' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/constants.c:116:1: note: Function 'l2tp_error_code' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/constants.c:133:1: style:inconclusive: Function 'ppp_phase' argument 1 names different: declaration 'code' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:9:27: note: Function 'ppp_phase' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/constants.c:133:1: note: Function 'ppp_phase' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/constants.c:141:1: style:inconclusive: Function 'ppp_state' argument 1 names different: declaration 'code' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:10:27: note: Function 'ppp_state' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/constants.c:141:1: note: Function 'ppp_state' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/constants.c:154:1: style:inconclusive: Function 'ppp_auth_type' argument 1 names different: declaration 'type' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:11:31: note: Function 'ppp_auth_type' argument 1 names different: declaration 'type' definition 'index'. l2tpns-2.4.1/constants.c:154:1: note: Function 'ppp_auth_type' argument 1 names different: declaration 'type' definition 'index'. l2tpns-2.4.1/constants.c:163:1: style:inconclusive: Function 'ppp_code' argument 1 names different: declaration 'type' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:12:26: note: Function 'ppp_code' argument 1 names different: declaration 'type' definition 'index'. l2tpns-2.4.1/constants.c:163:1: note: Function 'ppp_code' argument 1 names different: declaration 'type' definition 'index'. l2tpns-2.4.1/constants.c:179:1: style:inconclusive: Function 'ppp_lcp_option' argument 1 names different: declaration 'type' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:13:32: note: Function 'ppp_lcp_option' argument 1 names different: declaration 'type' definition 'index'. l2tpns-2.4.1/constants.c:179:1: note: Function 'ppp_lcp_option' argument 1 names different: declaration 'type' definition 'index'. l2tpns-2.4.1/constants.c:191:1: style:inconclusive: Function 'radius_state' argument 1 names different: declaration 'state' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:14:30: note: Function 'radius_state' argument 1 names different: declaration 'state' definition 'index'. l2tpns-2.4.1/constants.c:191:1: note: Function 'radius_state' argument 1 names different: declaration 'state' definition 'index'. l2tpns-2.4.1/constants.c:202:1: style:inconclusive: Function 'radius_code' argument 1 names different: declaration 'code' definition 'index'. [funcArgNamesDifferent] l2tpns-2.4.1/constants.h:15:29: note: Function 'radius_code' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/constants.c:202:1: note: Function 'radius_code' argument 1 names different: declaration 'code' definition 'index'. l2tpns-2.4.1/control.c:137:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/control.c:65:34: style:inconclusive: Function 'unpack_control' argument 1 names different: declaration 'packet' definition 'control'. [funcArgNamesDifferent] l2tpns-2.4.1/control.h:51:34: note: Function 'unpack_control' argument 1 names different: declaration 'packet' definition 'control'. l2tpns-2.4.1/control.c:65:34: note: Function 'unpack_control' argument 1 names different: declaration 'packet' definition 'control'. l2tpns-2.4.1/control.c:28:8: style: Variable 'a' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/control.c:65:52: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/control.c:132:33: style: Parameter 'control' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/control.c:134:11: style: Variable 'type' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/cluster.c:100:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cluster.c:174:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cluster.c:257:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cluster.c:591:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIME [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cluster.c:1003:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cluster.c:1950:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cluster.c:2262:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C_FORWARD_DAE [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cluster.c:2401:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:65:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_NUM_PEERS [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:123:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:482:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:511:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:595:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_NUM_PEERS [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:612:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:662:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_NUM_PEERS [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:688:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_NUM_PEERS [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:725:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_NUM_PEERS [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:824:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_NUM_PEERS [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:929:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:1034:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:1097:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:1392:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:1545:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/bgp.c:1599:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:290:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:326:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:404:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:534:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:646:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:715:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:838:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:851:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:925:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:935:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1081:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1096:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1128:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1151:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1209:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1259:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1322:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1382:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1456:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1548:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1661:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1700:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1735:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1818:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1837:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:1946:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:2370:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:2454:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_BROADCAST [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:2493:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:2570:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IP [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:2828:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IP [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:2892:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:2945:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:3020:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:3061:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:3102:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:3111:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:3146:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cli.c:3182:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/dhcp6.c:48:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_UDP [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/dhcp6.c:327:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/cluster.c:919:13: style: Variable 'h.basetime' is reassigned a value before the old one has been used. [redundantAssignment] l2tpns-2.4.1/cluster.c:917:13: note: h.basetime is assigned l2tpns-2.4.1/cluster.c:919:13: note: h.basetime is overwritten l2tpns-2.4.1/cluster.c:357:32: style:inconclusive: Function 'master_throttle_packet' argument 1 names different: declaration 'tid' definition 'tbfid'. [funcArgNamesDifferent] l2tpns-2.4.1/cluster.h:87:32: note: Function 'master_throttle_packet' argument 1 names different: declaration 'tid' definition 'tbfid'. l2tpns-2.4.1/cluster.c:357:32: note: Function 'master_throttle_packet' argument 1 names different: declaration 'tid' definition 'tbfid'. l2tpns-2.4.1/cluster.c:2222:29: style:inconclusive: Function 'processcluster' argument 1 names different: declaration 'buf' definition 'data'. [funcArgNamesDifferent] l2tpns-2.4.1/cluster.h:81:29: note: Function 'processcluster' argument 1 names different: declaration 'buf' definition 'data'. l2tpns-2.4.1/cluster.c:2222:29: note: Function 'processcluster' argument 1 names different: declaration 'buf' definition 'data'. l2tpns-2.4.1/cluster.c:2074:9: style: Local variable 'size' shadows outer argument [shadowArgument] l2tpns-2.4.1/cluster.c:1908:57: note: Shadowed declaration l2tpns-2.4.1/cluster.c:2074:9: note: Shadow variable l2tpns-2.4.1/cluster.c:2140:9: style: Local variable 'size' shadows outer argument [shadowArgument] l2tpns-2.4.1/cluster.c:1908:57: note: Shadowed declaration l2tpns-2.4.1/cluster.c:2140:9: note: Shadow variable l2tpns-2.4.1/cluster.c:2170:9: style: Local variable 'size' shadows outer argument [shadowArgument] l2tpns-2.4.1/cluster.c:1908:57: note: Shadowed declaration l2tpns-2.4.1/cluster.c:2170:9: note: Shadow variable l2tpns-2.4.1/cluster.c:165:36: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cluster.c:192:64: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cluster.c:245:52: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cluster.c:285:37: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cluster.c:309:36: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cluster.c:328:42: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cluster.c:404:55: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cluster.c:1134:69: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cluster.c:1312:51: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cluster.c:1337:51: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cluster.c:1908:47: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/bgp.c:123:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] l2tpns-2.4.1/bgp.c:927:15: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] l2tpns-2.4.1/bgp.c:1513:17: style: Condition 's>0' is always true [knownConditionTrueFalse] l2tpns-2.4.1/bgp.c:1507:10: note: Assuming that condition '!s' is not redundant l2tpns-2.4.1/bgp.c:1513:17: note: Condition 's>0' is always true l2tpns-2.4.1/bgp.c:1675:17: style: Condition 's>0' is always true [knownConditionTrueFalse] l2tpns-2.4.1/bgp.c:1669:10: note: Assuming that condition '!s' is not redundant l2tpns-2.4.1/bgp.c:1675:17: note: Condition 's>0' is always true l2tpns-2.4.1/bgp.c:718:26: style: Parameter 'events' can be declared as const array [constParameter] l2tpns-2.4.1/bgp.c:926:18: style: Variable 'serv' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/bgp.c:1459:11: style: Variable 'max' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/bgp.c:1604:11: style: Variable 'max' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/bgp.c:185:14: style: struct member 'Anonymous18::type' is never used. [unusedStructMember] l2tpns-2.4.1/bgp.c:186:14: style: struct member 'Anonymous18::len' is never used. [unusedStructMember] l2tpns-2.4.1/bgp.c:187:15: style: struct member 'Anonymous18::value' is never used. [unusedStructMember] l2tpns-2.4.1/bgp.c:565:14: style: Variable 'del.next' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/bgp.c:616:14: style: Variable 'del.next' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/bgp.c:1566:7: style: Variable 'data' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/bgp.c:1576:7: style: Variable 'data' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/bgp.c:1738:7: style: Variable 'data' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/garden.c:94:16: style: Local variable 'session' shadows outer variable [shadowVariable] l2tpns-2.4.1/l2tpns.h:1016:18: note: Shadowed declaration l2tpns-2.4.1/garden.c:94:16: note: Shadow variable l2tpns-2.4.1/garden.c:177:49: style: Parameter 'newuser' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/icmp.c:30:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/icmp.c:122:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMPV6 [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/garden.c:197:9: style: Variable 'status' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/icmp.c:16:86: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/icmp.c:99:63: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tplac.c:117:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/dhcp6.c:226:10: style: Local variable 'len' shadows outer variable [shadowVariable] l2tpns-2.4.1/dhcp6.c:40:6: note: Shadowed declaration l2tpns-2.4.1/dhcp6.c:226:10: note: Shadow variable l2tpns-2.4.1/dhcp6.c:32:74: style: Parameter 'ip6_src' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/dhcp6.c:317:11: style: Variable 'p_end' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/ll.c:98:38: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/ll.c:131:39: style: Parameter 'search' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cli.c:1802:32: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] l2tpns-2.4.1/cli.c:2485:28: portability: Non reentrant function 'getprotobynumber' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobynumber_r'. [prohibitedgetprotobynumberCalled] l2tpns-2.4.1/cli.c:642:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] l2tpns-2.4.1/cli.c:1795:4: style: Redundant initialization for 'p'. The initialized value is overwritten before it is read. [redundantInitialization] l2tpns-2.4.1/cli.c:1788:20: note: p is initialized l2tpns-2.4.1/cli.c:1795:4: note: p is overwritten l2tpns-2.4.1/cli.c:424:10: style: Checking if unsigned expression 's' is less than zero. [unsignedLessThanZero] l2tpns-2.4.1/cli.c:624:11: style: Checking if unsigned expression 't' is less than zero. [unsignedLessThanZero] l2tpns-2.4.1/cli.c:1220:27: style: Checking if unsigned expression 't=atol(argv[i])' is less than zero. [unsignedLessThanZero] l2tpns-2.4.1/cli.c:1270:27: style: Checking if unsigned expression 's=atol(argv[i])' is less than zero. [unsignedLessThanZero] l2tpns-2.4.1/cli.c:413:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:600:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:605:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:686:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:860:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1049:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1161:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1202:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1252:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1307:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1311:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1315:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1375:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1426:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1432:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1437:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1444:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1541:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1591:15: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1655:15: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1695:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1730:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1841:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:2358:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:2363:31: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:2547:31: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:2554:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:2780:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:2796:31: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:2807:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:2922:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:2928:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:2933:26: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:3013:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:3056:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:3124:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:3128:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:3132:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:3136:64: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:3171:91: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] l2tpns-2.4.1/cli.c:1596:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/cli.c:1904:35: style: Parameter 'cli' can be declared as pointer to const. However it seems that 'regular_stuff' is a callback function, if 'cli' is declared with const you might also need to cast function pointer(s). [constParameterCallback] l2tpns-2.4.1/cli.c:242:19: note: You might need to cast the function pointer here l2tpns-2.4.1/cli.c:1904:35: note: Parameter 'cli' can be declared as pointer to const l2tpns-2.4.1/cli.c:2463:51: style: Parameter 'ports' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/cli.c:2485:20: style: Variable 'proto' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/cli.c:2887:19: style: Variable 'rule' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/cli.c:944:34: portability: '(void*)config' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] l2tpns-2.4.1/cli.c:1860:35: portability: '(void*)config' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] l2tpns-2.4.1/cli.c:642:27: error: Undefined behavior: Variable 's' is used as parameter and destination in sprintf(). [sprintfOverlappingData] l2tpns-2.4.1/cli.c:2528:5: style: Variable 'p' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/l2tplac.c:639:3: warning: %u in format string (no. 7) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] l2tpns-2.4.1/l2tplac.c:235:60: style: Checking if unsigned expression 'strlen(ptunnelrlns[idtag].tunnel_assignment_id)' is less than zero. [unsignedLessThanZero] l2tpns-2.4.1/l2tplac.c:153:59: style: Parameter 'tunnel_server_endpoint' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tplac.c:162:57: style: Parameter 'tunnel_password' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tplac.c:171:62: style: Parameter 'tunnel_assignment_id' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tplac.c:404:52: style: Parameter 'assignment_id' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tplac.c:548:28: style: Parameter 'mask' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tplac.c:548:40: style: Parameter 'IP_RemoteLNS' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tplac.c:548:60: style: Parameter 'Port_RemoteLNS' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tplac.c:548:82: style: Parameter 'SecretRemoteLNS' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/nsctl.c:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tplac.c:514:5: style: Variable 'p' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/nsctl.c:149:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/nsctl.c:143:25: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] l2tpns-2.4.1/nsctl.c:41:19: style: Variable 'res' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/nsctl.c:138:36: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/nsctl.c:143:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/nsctl.c:147:11: style: Variable 'err' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:87:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_P_PPP_DISC [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:164:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_P_PPP_SES [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:286:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:305:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:317:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:328:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:346:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:385:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_MAX_LEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:408:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ALEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:425:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_MAX_LEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:449:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_MAX_LEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:468:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_MAX_LEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:494:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:556:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:677:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:699:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:831:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:844:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:916:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:1017:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:1050:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:1195:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:1223:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_P_PPP_DISC [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:415:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:435:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:480:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTM_NEWROUTE [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:547:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:617:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:643:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:659:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:697:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_TUN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:874:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:898:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:918:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:938:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:986:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:1100:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:1181:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:1219:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:1282:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:1363:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCP_FLAG_ACK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:1563:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:2154:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/fake_epoll.h:42:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/fake_epoll.h:60:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/fake_epoll.h:164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable events [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:4078:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:4587:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:4931:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:4998:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:5028:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:5128:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:5328:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable facilitynames [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:5348:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:5686:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:5891:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:6379:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_TYPE_RADIUS [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:6422:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:6462:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/l2tpns.c:6586:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/ppp.c:345:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPPPAP [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/ppp.c:1494:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/ppp.c:1586:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/ppp.c:1802:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/ppp.c:2268:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/ppp.c:2364:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/ppp.c:2770:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTHCHAP [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/pppoe.c:328:20: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:414:98: style: Parameter 'cookie' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/pppoe.c:493:17: style: Variable 'ethhdr' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:494:20: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:496:20: style: Variable 'host_uniq_tag' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:497:20: style: Variable 'relay_sid_tag' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:498:20: style: Variable 'service_name_tag' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:555:17: style: Variable 'ethhdr' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:556:20: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:558:20: style: Variable 'host_uniq_tag' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:559:20: style: Variable 'relay_sid_tag' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:561:20: style: Variable 'service_name_tag' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:676:17: style: Variable 'ethhdr' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:677:20: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:694:55: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/pppoe.c:698:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:919:11: style: Variable 'pppdata' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:1221:17: style: Variable 'ethhdr' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/pppoe.c:950:4: style: Variable 'p' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/sessionctl.c:21:16: style: Local variable 'session' shadows outer variable [shadowVariable] l2tpns-2.4.1/l2tpns.h:1016:18: note: Shadowed declaration l2tpns-2.4.1/sessionctl.c:21:16: note: Shadow variable l2tpns-2.4.1/sessionctl.c:22:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/snoopctl.c:74:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_NONE [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/snoopctl.c:21:16: style: Local variable 'session' shadows outer variable [shadowVariable] l2tpns-2.4.1/l2tpns.h:1016:18: note: Shadowed declaration l2tpns-2.4.1/snoopctl.c:21:16: note: Shadow variable l2tpns-2.4.1/stripdomain.c:12:44: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/tbf.c:324:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/bounce.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/bounce.c:66:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] l2tpns-2.4.1/test/bounce.c:93:2: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] l2tpns-2.4.1/test/bounce.c:91:19: style:inconclusive: Function 'sigalarm' argument 1 names different: declaration 'junk' definition 'unusedg'. [funcArgNamesDifferent] l2tpns-2.4.1/test/bounce.c:22:19: note: Function 'sigalarm' argument 1 names different: declaration 'junk' definition 'unusedg'. l2tpns-2.4.1/test/bounce.c:91:19: note: Function 'sigalarm' argument 1 names different: declaration 'junk' definition 'unusedg'. l2tpns-2.4.1/test/bounce.c:70:22: style: Local variable 'addr' shadows outer variable [shadowVariable] l2tpns-2.4.1/test/bounce.c:32:21: note: Shadowed declaration l2tpns-2.4.1/test/bounce.c:70:22: note: Shadow variable l2tpns-2.4.1/radius.c:70:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RADIUS_FDS [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/radius.c:195:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RADIUS_SHIFT [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/radius.c:781:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/radius.c:1336:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/generateload.c:259:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/generateload.c:639:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/generateload.c:1075:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iphdr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/generateload.c:1109:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/generateload.c:448:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] l2tpns-2.4.1/test/generateload.c:1275:8: portability: Non reentrant function 'getprotobynumber' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobynumber_r'. [prohibitedgetprotobynumberCalled] l2tpns-2.4.1/test/generateload.c:577:2: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'signed long long'. [invalidPrintfArgType_uint] l2tpns-2.4.1/test/generateload.c:578:2: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'signed long long'. [invalidPrintfArgType_uint] l2tpns-2.4.1/test/generateload.c:639:2: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'signed long long'. [invalidPrintfArgType_uint] l2tpns-2.4.1/test/generateload.c:639:2: warning: %u in format string (no. 7) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] l2tpns-2.4.1/test/generateload.c:611:17: style:inconclusive: Function 'sigint' argument 1 names different: declaration 'signal' definition 'unused'. [funcArgNamesDifferent] l2tpns-2.4.1/test/generateload.c:233:17: note: Function 'sigint' argument 1 names different: declaration 'signal' definition 'unused'. l2tpns-2.4.1/test/generateload.c:611:17: note: Function 'sigint' argument 1 names different: declaration 'signal' definition 'unused'. l2tpns-2.4.1/test/generateload.c:616:19: style:inconclusive: Function 'sigalarm' argument 1 names different: declaration 'junk' definition 'unused'. [funcArgNamesDifferent] l2tpns-2.4.1/test/generateload.c:232:19: note: Function 'sigalarm' argument 1 names different: declaration 'junk' definition 'unused'. l2tpns-2.4.1/test/generateload.c:616:19: note: Function 'sigalarm' argument 1 names different: declaration 'junk' definition 'unused'. l2tpns-2.4.1/test/generateload.c:1134:25: style:inconclusive: Function 'ppp_free' argument 1 names different: declaration 'packet' definition 'c'. [funcArgNamesDifferent] l2tpns-2.4.1/test/generateload.c:220:25: note: Function 'ppp_free' argument 1 names different: declaration 'packet' definition 'c'. l2tpns-2.4.1/test/generateload.c:1134:25: note: Function 'ppp_free' argument 1 names different: declaration 'packet' definition 'c'. l2tpns-2.4.1/test/generateload.c:952:11: style: Local variable 's' shadows outer variable [shadowVariable] l2tpns-2.4.1/test/generateload.c:891:7: note: Shadowed declaration l2tpns-2.4.1/test/generateload.c:952:11: note: Shadow variable l2tpns-2.4.1/test/generateload.c:695:44: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/test/generateload.c:726:29: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/test/generateload.c:1074:19: style: Variable 'iph' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/test/generateload.c:1167:69: style: Parameter 'username' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/test/generateload.c:1167:85: style: Parameter 'password' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/test/generateload.c:1216:35: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/test/generateload.c:1266:17: style: Variable 'iph' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/test/generateload.c:1267:20: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/test/radius.c:75:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/radius.c:91:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/radius.c:112:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/radius.c:154:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/radius.c:572:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/test/radius.c:86:18: error: Returning pointer to local variable 'p' that will be invalid when returning. [returnDanglingLifetime] l2tpns-2.4.1/test/radius.c:86:19: note: Passed to 'strcpy'. l2tpns-2.4.1/test/radius.c:85:11: note: Variable created here. l2tpns-2.4.1/test/radius.c:86:18: note: Returning pointer to local variable 'p' that will be invalid when returning. l2tpns-2.4.1/test/radius.c:111:51: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] l2tpns-2.4.1/test/radius.c:212:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] l2tpns-2.4.1/test/radius.c:75:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] l2tpns-2.4.1/test/radius.c:95:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] l2tpns-2.4.1/test/radius.c:82:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/test/radius.c:211:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/test/radius.c:633:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/test/radius.c:415:8: style: Variable 'p' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/throttlectl.c:21:16: style: Local variable 'session' shadows outer variable [shadowVariable] l2tpns-2.4.1/l2tpns.h:1016:18: note: Shadowed declaration l2tpns-2.4.1/throttlectl.c:21:16: note: Shadow variable l2tpns-2.4.1/throttlectl.c:22:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/throttlectl.c:77:21: style: Variable 'rate' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/util.c:35:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ALEN [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/util.c:47:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/util.c:74:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_OTHER [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/util.c:150:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_PKTINFO [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/util.c:184:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_IP [valueFlowBailoutIncompleteVar] l2tpns-2.4.1/util.c:130:21: warning: Either the condition 'fromlen' is redundant or there is possible null pointer dereference: fromlen. [nullPointerRedundantCheck] l2tpns-2.4.1/util.c:144:6: note: Assuming that condition 'fromlen' is not redundant l2tpns-2.4.1/util.c:130:21: note: Null pointer dereference l2tpns-2.4.1/util.c:32:27: style: Parameter 'pMacAddr' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/util.c:152:23: style: Variable 'i' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/ppp.c:74:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] l2tpns-2.4.1/ppp.c:2751:36: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] l2tpns-2.4.1/radius.c:414:16: style: Condition 's' is always true [knownConditionTrueFalse] l2tpns-2.4.1/radius.c:386:6: note: Assuming that condition 's' is not redundant l2tpns-2.4.1/radius.c:414:16: note: Condition 's' is always true l2tpns-2.4.1/ppp.c:447:14: error: Overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmetic] l2tpns-2.4.1/ppp.c:475:54: note: Calling function 'ppp_conf_rej', 6th argument '0' value is 0 l2tpns-2.4.1/ppp.c:437:17: note: Assuming condition is false l2tpns-2.4.1/ppp.c:447:14: note: Null pointer subtraction l2tpns-2.4.1/radius.c:270:9: style: Local variable 'p' shadows outer variable [shadowVariable] l2tpns-2.4.1/radius.c:166:11: note: Shadowed declaration l2tpns-2.4.1/radius.c:270:9: note: Shadow variable l2tpns-2.4.1/radius.c:413:8: style: Local variable 'r' shadows outer argument [shadowArgument] l2tpns-2.4.1/radius.c:160:26: note: Shadowed declaration l2tpns-2.4.1/radius.c:413:8: note: Shadow variable l2tpns-2.4.1/radius.c:678:16: style: Local variable 'e' shadows outer variable [shadowVariable] l2tpns-2.4.1/radius.c:607:14: note: Shadowed declaration l2tpns-2.4.1/radius.c:678:16: note: Shadow variable l2tpns-2.4.1/radius.c:730:12: style: Local variable 'b' shadows outer variable [shadowVariable] l2tpns-2.4.1/radius.c:531:10: note: Shadowed declaration l2tpns-2.4.1/radius.c:730:12: note: Shadow variable l2tpns-2.4.1/radius.c:777:16: style: Local variable 'e' shadows outer variable [shadowVariable] l2tpns-2.4.1/radius.c:607:14: note: Shadowed declaration l2tpns-2.4.1/radius.c:777:16: note: Shadow variable l2tpns-2.4.1/radius.c:1197:9: style: Local variable 'len' shadows outer argument [shadowArgument] l2tpns-2.4.1/radius.c:1058:35: note: Shadowed declaration l2tpns-2.4.1/radius.c:1197:9: note: Shadow variable l2tpns-2.4.1/radius.c:1282:30: style: Local variable 'p' shadows outer variable [shadowVariable] l2tpns-2.4.1/radius.c:1076:11: note: Shadowed declaration l2tpns-2.4.1/radius.c:1282:30: note: Shadow variable l2tpns-2.4.1/radius.c:607:14: style: Variable 'e' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/radius.c:678:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/radius.c:723:13: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/radius.c:1058:92: style: Parameter 'local' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/radius.c:1076:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/radius.c:42:32: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] l2tpns-2.4.1/ppp.c:119:12: style: Local variable 'p' shadows outer argument [shadowArgument] l2tpns-2.4.1/ppp.c:49:53: note: Shadowed declaration l2tpns-2.4.1/ppp.c:119:12: note: Shadow variable l2tpns-2.4.1/ppp.c:459:11: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/ppp.c:505:24: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/ppp.c:2840:54: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/ppp.c:2751:38: style: Variable 'b' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/l2tpns.c:4566:7: error: Using pointer to local variable 'buf' that is out of scope. [invalidLifetime] l2tpns-2.4.1/l2tpns.c:4539:9: note: Array decayed to pointer here. l2tpns-2.4.1/l2tpns.c:4540:19: note: Assuming condition is false l2tpns-2.4.1/l2tpns.c:4528:9: note: Variable created here. l2tpns-2.4.1/l2tpns.c:4566:7: note: Using pointer to local variable 'buf' that is out of scope. l2tpns-2.4.1/l2tpns.c:4569:20: error: Using pointer to local variable 'buf' that is out of scope. [invalidLifetime] l2tpns-2.4.1/l2tpns.c:4539:9: note: Array decayed to pointer here. l2tpns-2.4.1/l2tpns.c:4540:19: note: Assuming condition is false l2tpns-2.4.1/l2tpns.c:4528:9: note: Variable created here. l2tpns-2.4.1/l2tpns.c:4569:20: note: Using pointer to local variable 'buf' that is out of scope. l2tpns-2.4.1/l2tpns.c:4570:71: error: Using pointer to local variable 'buf' that is out of scope. [invalidLifetime] l2tpns-2.4.1/l2tpns.c:4539:9: note: Array decayed to pointer here. l2tpns-2.4.1/l2tpns.c:4540:19: note: Assuming condition is false l2tpns-2.4.1/l2tpns.c:4528:9: note: Variable created here. l2tpns-2.4.1/l2tpns.c:4570:71: note: Using pointer to local variable 'buf' that is out of scope. l2tpns-2.4.1/l2tpns.c:4557:7: warning:inconclusive: The buffer '_domain' may not be null-terminated after the call to strncpy(). [terminateStrncpy] l2tpns-2.4.1/l2tpns.c:4420:76: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] l2tpns-2.4.1/l2tpns.c:5023:54: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] l2tpns-2.4.1/l2tpns.c:5155:74: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] l2tpns-2.4.1/l2tpns.c:1085:13: style: Condition 's==0' is always true [knownConditionTrueFalse] l2tpns-2.4.1/l2tpns.c:1082:8: note: Assuming that condition 's>0' is not redundant l2tpns-2.4.1/l2tpns.c:1085:13: note: Condition 's==0' is always true l2tpns-2.4.1/l2tpns.c:1130:13: style: Condition 's==0' is always true [knownConditionTrueFalse] l2tpns-2.4.1/l2tpns.c:1125:8: note: Assuming that condition 's>0' is not redundant l2tpns-2.4.1/l2tpns.c:1130:13: note: Condition 's==0' is always true l2tpns-2.4.1/l2tpns.c:2287:7: style: Condition '!++last_id' is always false [knownConditionTrueFalse] l2tpns-2.4.1/l2tpns.c:4843:13: style: Condition 'ipid<1' is always true [knownConditionTrueFalse] l2tpns-2.4.1/l2tpns.c:4838:10: note: Assignment 'ipid=-lookup_ipmap(htonl(session[i].ip))', assigned value is less than 1 l2tpns-2.4.1/l2tpns.c:4843:13: note: Condition 'ipid<1' is always true l2tpns-2.4.1/l2tpns.c:5369:5: warning: Repositioning operation performed on a file opened in append mode has no effect. [seekOnAppendedFile] l2tpns-2.4.1/l2tpns.c:3825:8: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] l2tpns-2.4.1/l2tpns.c:4995:52: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] l2tpns-2.4.1/l2tpns.c:1782:12: style: Local variable 'b' shadows outer variable [shadowVariable] l2tpns-2.4.1/l2tpns.c:1725:10: note: Shadowed declaration l2tpns-2.4.1/l2tpns.c:1782:12: note: Shadow variable l2tpns-2.4.1/l2tpns.c:3000:16: style: Local variable 'p' shadows outer variable [shadowVariable] l2tpns-2.4.1/l2tpns.c:2483:11: note: Shadowed declaration l2tpns-2.4.1/l2tpns.c:3000:16: note: Shadow variable l2tpns-2.4.1/l2tpns.c:3995:12: style: Local variable 'i' shadows outer variable [shadowVariable] l2tpns-2.4.1/l2tpns.c:3955:6: note: Shadowed declaration l2tpns-2.4.1/l2tpns.c:3995:12: note: Shadow variable l2tpns-2.4.1/l2tpns.c:4424:24: style: Local variable 'p' shadows outer variable [shadowVariable] l2tpns-2.4.1/l2tpns.c:4069:11: note: Shadowed declaration l2tpns-2.4.1/l2tpns.c:4424:24: note: Shadow variable l2tpns-2.4.1/l2tpns.c:5021:10: style: Local variable 'now' shadows outer function [shadowFunction] l2tpns-2.4.1/l2tpns.c:265:15: note: Shadowed declaration l2tpns-2.4.1/l2tpns.c:5021:10: note: Shadow variable l2tpns-2.4.1/l2tpns.c:5358:10: style: Local variable 'p' shadows outer variable [shadowVariable] l2tpns-2.4.1/l2tpns.c:5339:8: note: Shadowed declaration l2tpns-2.4.1/l2tpns.c:5358:10: note: Shadow variable l2tpns-2.4.1/l2tpns.c:6250:8: style: Local variable 'r' shadows outer variable [shadowVariable] l2tpns-2.4.1/l2tpns.c:6161:6: note: Shadowed declaration l2tpns-2.4.1/l2tpns.c:6250:8: note: Shadow variable l2tpns-2.4.1/l2tpns.c:394:30: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tpns.c:971:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:1034:14: style: Variable 'pipv4' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:1068:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:1190:32: style: Parameter 'username' can be declared as pointer to const. However it seems that 'sessionbyuser' is a callback function, if 'username' is declared with const you might also need to cast function pointer(s). [constParameterCallback] l2tpns-2.4.1/l2tpns.c:6028:3: note: You might need to cast the function pointer here l2tpns-2.4.1/l2tpns.c:1190:32: note: Parameter 'username' can be declared as pointer to const l2tpns-2.4.1/l2tpns.c:1247:50: style: Parameter 's' can be declared as pointer to const. However it seems that 'sessionidtbysessiont' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] l2tpns-2.4.1/l2tpns.c:6030:3: note: You might need to cast the function pointer here l2tpns-2.4.1/l2tpns.c:1247:50: note: Parameter 's' can be declared as pointer to const l2tpns-2.4.1/l2tpns.c:1318:25: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tpns.c:1329:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:1647:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:1684:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:1814:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:1840:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:1912:56: style: Parameter 'val' can be declared as pointer to const. However it seems that 'controls' is a callback function, if 'val' is declared with const you might also need to cast function pointer(s). [constParameterCallback] l2tpns-2.4.1/l2tpns.c:1940:21: note: You might need to cast the function pointer here l2tpns-2.4.1/l2tpns.c:1912:56: note: Parameter 'val' can be declared as pointer to const l2tpns-2.4.1/l2tpns.c:1924:59: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tpns.c:2425:84: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tpns.c:3000:24: style: Variable 'e' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:4287:24: style: Variable 'errmsg' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:4521:9: style: Variable 'domain' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:4581:42: style: Parameter 'optconfig' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tpns.c:4735:8: style: Variable 'u' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:4992:33: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tpns.c:5325:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tpns.c:5485:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:5539:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:5597:15: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:5700:8: style: Variable 'user' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:5990:32: style: Parameter 'plugin_name' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tpns.c:6057:8: style: Variable 'v' can be declared as pointer to const [constVariablePointer] l2tpns-2.4.1/l2tpns.c:6156:103: style: Parameter 'local' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tpns.c:6533:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/fake_epoll.h:56:25: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] l2tpns-2.4.1/l2tpns.c:4927:9: warning: Size of pointer 'ip_address_pool' used instead of size of its data. [pointerSize] l2tpns-2.4.1/l2tpns.c:673:39: portability: '(void*)nh' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] l2tpns-2.4.1/l2tpns.c:6009:30: portability: '(void*)config' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] l2tpns-2.4.1/l2tpns.c:467:8: style: struct member 'Anonymous16::buf' is never used. [unusedStructMember] l2tpns-2.4.1/l2tpns.c:544:8: style: struct member 'Anonymous17::buf' is never used. [unusedStructMember] l2tpns-2.4.1/l2tpns.c:736:9: style: struct member 'Anonymous18::rtdata' is never used. [unusedStructMember] l2tpns-2.4.1/l2tpns.c:2199:14: style: Variable 'routed' is assigned a value that is never used. [unreadVariable] l2tpns-2.4.1/l2tpns.c:5198:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] diff: head l2tpns-2.4.1/bgp.c:1034:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:1097:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:123:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:1392:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:1545:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:1599:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:482:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:511:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:595:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_NUM_PEERS [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:612:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:662:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_NUM_PEERS [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:688:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_NUM_PEERS [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:725:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_NUM_PEERS [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:824:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BGP_NUM_PEERS [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/bgp.c:929:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1081:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1096:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1128:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1151:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1209:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1259:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1322:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1382:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1456:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1548:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1661:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1700:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1735:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1818:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1837:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:1904:35: style: Parameter 'cli' can be declared as pointer to const. However it seems that 'regular_stuff' is a callback function, if 'cli' is declared with const you might also need to cast function pointer(s). [constParameterCallback] l2tpns-2.4.1/cli.c:242:19: note: You might need to cast the function pointer here l2tpns-2.4.1/cli.c:1904:35: note: Parameter 'cli' can be declared as pointer to const head l2tpns-2.4.1/cli.c:1946:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:2370:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:2454:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_BROADCAST [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:2493:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:2570:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IP [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:2828:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IP [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:2892:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:2945:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:3020:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:3061:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:3102:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:3111:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:3146:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:3182:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:326:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:404:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:534:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:646:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:715:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:838:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:851:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:925:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cli.c:935:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cluster.c:1003:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cluster.c:174:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cluster.c:1950:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cluster.c:2262:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C_FORWARD_DAE [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cluster.c:2401:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cluster.c:257:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/cluster.c:309:36: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] head l2tpns-2.4.1/cluster.c:328:42: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] head l2tpns-2.4.1/cluster.c:404:55: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] head l2tpns-2.4.1/cluster.c:591:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIME [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/dhcp6.c:327:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/fake_epoll.h:164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable events [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/fake_epoll.h:42:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/fake_epoll.h:60:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/icmp.c:122:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_ICMPV6 [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:1100:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:1181:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:1219:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:1282:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:1363:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCP_FLAG_ACK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:1563:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:2154:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:4078:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:435:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:4587:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:480:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTM_NEWROUTE [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:4931:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:4998:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:5028:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:5128:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:5328:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable facilitynames [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:5348:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:547:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:5686:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:5891:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:617:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:6379:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_TYPE_RADIUS [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:6422:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:643:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:6462:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLI_OK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:6586:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:659:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_NETLINK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:697:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_TUN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:874:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:898:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:918:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:938:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/l2tpns.c:986:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/nsctl.c:149:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/ppp.c:1494:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/ppp.c:1586:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/ppp.c:1802:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/ppp.c:2268:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/ppp.c:2364:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/ppp.c:2770:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTHCHAP [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:1017:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:1050:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:1195:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:1223:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_P_PPP_DISC [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:164:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_P_PPP_SES [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:286:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:305:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:317:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:328:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:346:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:385:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_MAX_LEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:408:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_ALEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:425:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_MAX_LEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:449:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_MAX_LEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:468:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETHER_MAX_LEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:494:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:556:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:677:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:699:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:831:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:844:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/pppoe.c:916:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETH_HLEN [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/radius.c:1336:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/radius.c:195:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RADIUS_SHIFT [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/radius.c:781:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/test/generateload.c:1075:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iphdr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/test/generateload.c:1109:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_PEEK [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/test/generateload.c:639:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/test/generateload.c:726:29: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] 2.13.0 l2tpns-2.4.1/test/radius.c:109:9: style: Local variable 'now' shadows outer function [shadowFunction] l2tpns-2.4.1/test/radius.c:548:5: note: Shadowed declaration l2tpns-2.4.1/test/radius.c:109:9: note: Shadow variable head l2tpns-2.4.1/test/radius.c:112:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/test/radius.c:154:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/test/radius.c:572:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/test/radius.c:91:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/util.c:150:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_PKTINFO [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/util.c:184:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_IP [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/util.c:47:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] head l2tpns-2.4.1/util.c:74:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_OTHER [valueFlowBailoutIncompleteVar] DONE