2024-04-23 04:20 ftp://ftp.de.debian.org/debian/pool/main/w/wide-dhcpv6/wide-dhcpv6_20080615.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: bd7136d (2024-04-22 21:34:48 +0200) count: 292 292 elapsed-time: 9.9 10.1 head-timing-info: old-timing-info: head results: wide-dhcpv6-20080615/common.h:110:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/addrconf.c:236:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/addrconf.c:346:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/addrconf.c:363:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable callback [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/addrconf.c:391:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/addrconf.c:386:29: style: Local variable 'addr' shadows outer variable [shadowVariable] wide-dhcpv6-20080615/addrconf.c:107:29: note: Shadowed declaration wide-dhcpv6-20080615/addrconf.c:386:29: note: Shadow variable wide-dhcpv6-20080615/addrconf.c:216:28: style: Parameter 'head' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/addrconf.c:253:19: style: Variable 'iac_na' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/addrconf.c:264:19: style: Variable 'iac_na' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/addrconf.c:306:19: style: Variable 'iac_na' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/auth.c:130:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGESTLENGTH [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/auth.c:163:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGESTLENGTH [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/auth.c:255:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGESTLENGTH [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/auth.c:266:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGESTLENGTH [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/auth.c:106:18: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/auth.c:127:18: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/auth.c:160:18: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/auth.c:265:47: style: Parameter 'digest' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/auth.c:225:9: warning: Size of pointer 'ctx' used instead of size of its data. [pointerSize] wide-dhcpv6-20080615/base64.c:71:46: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/base64.c:94:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/base64.c:145:43: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] cfparse.y:1288:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECL_ADDRESSPOOL [valueFlowBailoutIncompleteVar] cfparse.y:1312:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IATYPE_PD [valueFlowBailoutIncompleteVar] y.tab.c:1206:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] lex.yy.c:1008:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] lex.yy.c:1821:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lex.yy.c:2012:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lex.yy.c:2368:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cftoken.l:354:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] cftoken.l:374:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] cftoken.l:388:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] cftoken.l:410:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cftoken.l:432:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] lex.yy.c:1821:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] lex.yy.c:1821:3: note: c is initialized lex.yy.c:1821:3: note: c is overwritten cftoken.l:352:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cftoken.l:354:27: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] lex.yy.c:1729:17: style: Variable 'source' can be declared as pointer to const [constVariablePointer] lex.yy.c:2271:15: style: Parameter 'bytes' can be declared as pointer to const [constParameterPointer] lex.yy.c:2365:6: style: Parameter 'msg' can be declared as const array [constParameter] cftoken.l:360:6: style: Variable 'bp' is assigned a value that is never used. [unreadVariable] wide-dhcpv6-20080615/common.c:223:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATCHLIST_PREFIXLEN [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:363:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:406:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6_addr [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:454:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_LISTVAL_VBUF [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:608:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTHPARAM_FLAGS_NOPREVRD [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:651:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_AUTHRDM_MONOCOUNTER [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:692:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:769:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:874:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:890:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:911:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:948:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6addr_loopback [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:1001:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:1319:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_PREF_UNDEF [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:1530:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:1981:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_IA_PD [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:2223:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dhcp6opt [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:2253:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_CLIENTID [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:2660:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_IA_PD [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:2790:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_TIMEOUT [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:2841:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_MAX_DELAY [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:2931:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_AUTHRDM_MONOCOUNTER [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:3188:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:3213:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_MAX [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:3297:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:3367:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/common.c:948:6: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] wide-dhcpv6-20080615/common.c:3232:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wide-dhcpv6-20080615/common.c:715:21: style: Condition 'in6_matchflags(ifa->ifa_addr,ifa->ifa_name,ignoreflags)' is always false [knownConditionTrueFalse] wide-dhcpv6-20080615/common.c:715:21: note: Calling function 'in6_matchflags' returns 0 wide-dhcpv6-20080615/common.c:715:21: note: Condition 'in6_matchflags(ifa->ifa_addr,ifa->ifa_name,ignoreflags)' is always false wide-dhcpv6-20080615/common.c:1308:3: style: Label 'fail' is not used. [unusedLabel] wide-dhcpv6-20080615/common.c:2268:7: style: Local variable 'optlen' shadows outer variable [shadowVariable] wide-dhcpv6-20080615/common.c:2249:15: note: Shadowed declaration wide-dhcpv6-20080615/common.c:2268:7: note: Shadow variable wide-dhcpv6-20080615/common.c:2422:7: style: Local variable 'optlen' shadows outer variable [shadowVariable] wide-dhcpv6-20080615/common.c:2249:15: note: Shadowed declaration wide-dhcpv6-20080615/common.c:2422:7: note: Shadow variable wide-dhcpv6-20080615/common.c:322:27: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:346:21: style: Parameter 'vb1' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:346:27: style: Parameter 'vb2' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:474:29: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/common.c:616:20: style: Parameter 'authparam' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:823:8: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:905:19: style: Parameter 'in6' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:960:19: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:961:8: style: Parameter 'ifnam' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:1486:23: style: Parameter 'ep' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:1492:8: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/common.c:1897:10: style: Parameter 'ep' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:1947:23: style: Parameter 'ep' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:2150:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/common.c:2167:8: style: Variable 'proto' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/common.c:2168:8: style: Variable 'alg' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/common.c:2169:8: style: Variable 'rdm' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/common.c:2217:8: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:2575:13: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/common.c:2880:20: style: Parameter 'ds' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:2894:15: style: Parameter 'd1' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:2894:20: style: Parameter 'd2' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:3135:15: style: Parameter 'duid' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:3138:13: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/common.c:3157:22: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/common.c:3224:14: style: Variable 'tm_now' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/common.c:368:26: portability: 'cp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] wide-dhcpv6-20080615/common.c:368:40: portability: 'val' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] wide-dhcpv6-20080615/common.c:435:18: portability: 'cp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] wide-dhcpv6-20080615/common.c:440:21: portability: 'cp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] wide-dhcpv6-20080615/common.c:1305:11: error: Uninitialized variable: l [uninitvar] wide-dhcpv6-20080615/common.c:1688:8: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] wide-dhcpv6-20080615/common.c:3241:1: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] wide-dhcpv6-20080615/config.c:178:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_PREF_UNDEF [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:335:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iapd_conf [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:472:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFID_LEN_DEFAULT [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:564:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_LISTVAL_PREFIX6 [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:877:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_AUTHPROTO_UNDEF [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:1041:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dhcp6_mode [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:1079:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dhcp6_mode [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:1307:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dhcp6_if [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:1554:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCIFF_RAPID_COMMIT [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:1767:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_LISTVAL_PREFIX6 [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:1920:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dhcp6_mode [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:2110:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pool_conf [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/config.c:810:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wide-dhcpv6-20080615/config.c:2007:8: warning: Either the condition 'dynconf==NULL' is redundant or there is possible null pointer dereference: dynconf. [nullPointerRedundantCheck] wide-dhcpv6-20080615/config.c:2009:15: note: Assuming that condition 'dynconf==NULL' is not redundant wide-dhcpv6-20080615/config.c:2007:8: note: Null pointer dereference wide-dhcpv6-20080615/config.c:2072:7: warning:inconclusive: Possible null pointer dereference: dynconf [nullPointer] wide-dhcpv6-20080615/config.c:2069:37: note: Assignment 'dynconf=NULL', assigned value is 0 wide-dhcpv6-20080615/config.c:2072:7: note: Null pointer dereference wide-dhcpv6-20080615/config.c:2073:11: warning:inconclusive: Possible null pointer dereference: dynconf [nullPointer] wide-dhcpv6-20080615/config.c:2069:37: note: Assignment 'dynconf=NULL', assigned value is 0 wide-dhcpv6-20080615/config.c:2073:11: note: Null pointer dereference wide-dhcpv6-20080615/config.c:847:8: style: Parameter 'kname' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/config.c:1207:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/config.c:1845:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/config.c:1875:8: style: Parameter 'realm' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/config.c:1894:8: style: Parameter 'qstr' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/config.c:1986:25: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/config.c:1990:8: style: Variable 'strid' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/config.c:2067:15: style: Parameter 'duid' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/config.c:2207:19: style: Parameter 'addr1' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/config.c:2207:27: style: Parameter 'addr2' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/config.c:1245:18: error: Uninitialized variable: cp [uninitvar] wide-dhcpv6-20080615/config.c:1207:9: style: Variable 'cp' is not assigned a value. [unassignedVariable] wide-dhcpv6-20080615/dhcp6_ctl.c:91:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6_ctl.c:159:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGESTLENGTH [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6_ctl.c:303:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6_ctl.c:82:8: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6_ctl.c:82:15: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6_ctl.c:285:10: style: Parameter 'read_fds' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6_ctl.c:290:19: style: Variable 'ctlhead' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/dhcp6_ctlclient.c:111:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6_ctlclient.c:348:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6CTL_VERSION [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6_ctlclient.c:428:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6CTL_BINDING [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6_ctlclient.c:466:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6CTL_INTERFACE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6_ctlclient.c:502:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6CTL_INTERFACE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6_ctlclient.c:563:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6CTL_BINDING_IA [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6_ctlclient.c:607:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6CTL_IA_PD [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6_ctlclient.c:698:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6_ctlclient.c:301:8: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6_ctlclient.c:639:7: style: Parameter 'buflenp' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6c.c:175:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:249:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:263:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DUID_FILE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:397:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6S_INIT [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:428:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dhcp6_if [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:445:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dhcp6_if [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:477:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dhcp6_if [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:536:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:620:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:762:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6CTL_COMMAND_START [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:824:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6S_RELEASE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:946:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_LISTVAL_IAPD [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:1031:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_LISTVAL_IAPD [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:1099:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_EVDATA_IANA [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:1151:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:1391:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:1490:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6_XIDMASK [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:1707:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6_XIDMASK [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:1946:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6OPT_AUTHFLAG_NOINFO [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:2075:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6S_INFOREQ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:2138:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_MAX [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c.c:161:19: style: Variable 'ifp' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/dhcp6c.c:615:19: style: Variable 'ctlhead' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/dhcp6c.c:1111:22: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6c.c:1368:18: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6c.c:1368:22: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6c.c:1682:22: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6c.c:599:9: warning: Size of pointer 'ifbuf' used instead of size of its data. [pointerSize] wide-dhcpv6-20080615/dhcp6c.c:932:10: warning: Size of pointer 'evd' used instead of size of its data. [pointerSize] wide-dhcpv6-20080615/dhcp6c.c:1408:28: error: Uninitialized variable: from [uninitvar] wide-dhcpv6-20080615/dhcp6c.c:215:12: style: Variable 'ifp' is assigned a value that is never used. [unreadVariable] wide-dhcpv6-20080615/dhcp6c.c:2147:8: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] wide-dhcpv6-20080615/dhcp6c_ia.c:125:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c_ia.c:292:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c_ia.c:314:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c_ia.c:405:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c_ia.c:444:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c_ia.c:516:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c_ia.c:556:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c_ia.c:696:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c_ia.c:96:21: style: Parameter 'ialist' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6c_ia.c:104:20: style: Variable 'ianac' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/dhcp6c_ia.c:413:19: style: Parameter 'ifp' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6c_ia.c:729:18: style: Parameter 'iac' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6c_script.c:159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6c_script.c:79:24: style: Parameter 'optinfo' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6c_script.c:87:7: style: Variable 'reason' can be declared as const array [constVariable] wide-dhcpv6-20080615/dhcp6relay.c:128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay.c:152:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay.c:238:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay.c:304:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plink [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay.c:566:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay.c:593:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IF_NAMESIZE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay.c:736:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_IPV6 [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay.c:772:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay.c:922:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay.c:715:22: style: Parameter 'pktinfo' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6relay.c:760:23: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6relay.c:834:23: style: Variable 'dh6relay0' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/dhcp6relay.c:750:6: style: Variable 'cm' is assigned a value that is never used. [unreadVariable] wide-dhcpv6-20080615/dhcp6relay_script.c:90:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay_script.c:234:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay_script.c:275:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6relay_script.c:79:20: style: Variable 't' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/dhcp6relay_script.c:228:24: style: Parameter 'iav' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6relay_script.c:231:16: style: Variable 'comma' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/dhcp6relay_script.c:269:24: style: Parameter 'iav' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6relay_script.c:272:16: style: Variable 'comma' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/dhcp6s.c:241:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dnslist [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:350:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:383:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALDBDIR [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:624:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:711:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dhcp6ctl [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:858:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:1079:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dhcp6 [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:1136:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sipnamelist [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:1286:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_PREF_UNDEF [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:1500:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_STCODE_USEMULTICAST [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:1731:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_STCODE_USEMULTICAST [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:1844:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6_REBIND [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:1962:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_STCODE_USEMULTICAST [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:2091:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_STCODE_USEMULTICAST [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:2155:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_STCODE_SUCCESS [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:2360:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6_INFORM_REQ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:2415:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_STCODE_NOBINDING [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:2557:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_STCODE_NOBINDING [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:2632:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DH6OPT_STCODE_NOBINDING [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:2707:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:2831:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_LISTVAL_STCODE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:2904:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_LISTVAL_IANA [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:2990:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATCHLIST_PREFIXLEN [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:3052:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_LISTVAL_STATEFULADDR6 [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:3070:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_DURATION_INFINITE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:3116:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_DURATION_INFINITE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:3177:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_DURATION_INFINITE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:3301:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_DURATION_INFINITE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:3335:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_LISTVAL_IANA [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:3397:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_LISTVAL_IANA [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:3452:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_MAX [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:3505:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_AUTHALG_HMACMD5 [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/dhcp6s.c:1962:13: style: Local variable 'stcode' shadows outer variable [shadowVariable] wide-dhcpv6-20080615/dhcp6s.c:1900:12: note: Shadowed declaration wide-dhcpv6-20080615/dhcp6s.c:1962:13: note: Shadow variable wide-dhcpv6-20080615/dhcp6s.c:696:19: style: Variable 'ctlhead' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/dhcp6s.c:2700:16: style: Parameter 'origmsg' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6s.c:3023:24: style: Parameter 'spec' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/dhcp6s.c:3453:8: style: Variable 'iatype' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/if.c:86:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DHCP6_AUTHPROTO_UNDEF [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/if.c:160:8: style: Parameter 'ifname' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/lease.c:96:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/lease.c:119:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/lease.c:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/lease.c:157:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/lease.c:242:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lh_first [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/lease.c:278:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/lease.c:298:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/lease.c:319:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lh_first [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/lease.c:273:3: error: Memory leak: entry [memleak] wide-dhcpv6-20080615/lease.c:180:12: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/lease.c:195:20: style: Variable 'addr1' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/lease.c:196:20: style: Variable 'addr2' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/missing/arc4random.c:51:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/missing/daemon.c:42:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/missing/getifaddrs.c:46:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/missing/getifaddrs.c:105:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/missing/getifaddrs.c:124:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGLIFFLAGS [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/missing/getifaddrs.c:173:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/missing/getifaddrs.c:194:52: style: Condition 'populate(ifa,fd4,ifr4,nif4,AF_INET,&buf)==-1' is always false [knownConditionTrueFalse] wide-dhcpv6-20080615/missing/getifaddrs.c:194:14: note: Calling function 'populate' returns 0 wide-dhcpv6-20080615/missing/getifaddrs.c:194:52: note: Condition 'populate(ifa,fd4,ifr4,nif4,AF_INET,&buf)==-1' is always false wide-dhcpv6-20080615/missing/getifaddrs.c:198:60: style: Condition 'populate(ifa+nif4,fd6,ifr6,nif6,AF_INET6,&buf)==-1' is always false [knownConditionTrueFalse] wide-dhcpv6-20080615/missing/getifaddrs.c:198:14: note: Calling function 'populate' returns 0 wide-dhcpv6-20080615/missing/getifaddrs.c:198:60: note: Condition 'populate(ifa+nif4,fd6,ifr6,nif6,AF_INET6,&buf)==-1' is always false wide-dhcpv6-20080615/missing/getifaddrs.c:100:34: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/missing/warnx.c:36:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/missing/warnx.c:46:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/missing/warnx.c:57:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/prefixconf.c:279:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/prefixconf.c:393:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/prefixconf.c:410:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable callback [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/prefixconf.c:441:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] wide-dhcpv6-20080615/prefixconf.c:474:16: style: Variable 'b' is reassigned a value before the old one has been used. [redundantAssignment] wide-dhcpv6-20080615/prefixconf.c:473:4: note: b is assigned wide-dhcpv6-20080615/prefixconf.c:474:16: note: b is overwritten wide-dhcpv6-20080615/prefixconf.c:257:26: style: Parameter 'head' can be declared as pointer to const [constParameterPointer] wide-dhcpv6-20080615/prefixconf.c:300:19: style: Variable 'iac_pd' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/prefixconf.c:311:19: style: Variable 'iac_pd' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/prefixconf.c:353:19: style: Variable 'iac_pd' can be declared as pointer to const [constVariablePointer] wide-dhcpv6-20080615/timer.c:52:11: error: syntax error [syntaxError] diff: DONE