2025-11-27 05:04 ftp://ftp.de.debian.org/debian/pool/main/i/inetutils/inetutils_2.6.orig.tar.xz 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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 9486fde (2025-11-26 08:20:02 +0100) count: 1435 1455 elapsed-time: 3.6 3.9 head-timing-info: old-timing-info: head results: inetutils-2.6/ftp/cmdtab.c:218:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/cmdtab.c:218:13: style: Variable 'q' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/domacro.c:143:7: style: Variable 'line' is assigned an expression that holds the same value. [redundantAssignment] inetutils-2.6/ftp/domacro.c:126:9: note: line2 is assigned 'line' here. inetutils-2.6/ftp/domacro.c:143:7: note: Variable 'line' is assigned an expression that holds the same value. inetutils-2.6/ftp/domacro.c:144:7: style: Variable 'linelen' is assigned an expression that holds the same value. [redundantAssignment] inetutils-2.6/ftp/domacro.c:127:12: note: line2len is assigned 'linelen' here. inetutils-2.6/ftp/domacro.c:144:7: note: Variable 'linelen' is assigned an expression that holds the same value. inetutils-2.6/ftp/domacro.c:95:9: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/ftp.c:152:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:327:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:406:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:429:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:476:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:595:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:610:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:900:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:912:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:1244:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:1609:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:1638:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:1771:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:1793:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_I [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:1920:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:1968:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:1989:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/main.c:150:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_DEBUG [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/main.c:232:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/main.c:405:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:230:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPLETE [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:428:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPLETE [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:447:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_I [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:723:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOCHECK [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:850:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:917:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1040:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_TMP [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1134:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1285:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1296:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1307:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1385:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_DEBUG [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1441:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1539:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1663:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1734:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTINUE [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1815:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1904:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:2016:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:2049:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_BRACE [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:2134:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:2611:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:2681:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPLETE [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/main.c:277:8: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] inetutils-2.6/ftp/main.c:279:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] inetutils-2.6/ftp/main.c:281:10: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] inetutils-2.6/ftp/ruserpass.c:113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ruserpass.c:352:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/main.c:319:15: style:inconclusive: Function 'intr' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ftp/extern.h:86:16: note: Function 'intr' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/main.c:319:15: note: Function 'intr' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/main.c:325:19: style:inconclusive: Function 'lostpeer' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ftp/extern.h:89:20: note: Function 'lostpeer' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/main.c:325:19: note: Function 'lostpeer' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/main.c:484:10: style: Local variable 'argp' shadows outer variable [shadowVariable] inetutils-2.6/ftp/main.c:209:20: note: Shadowed declaration inetutils-2.6/ftp/main.c:484:10: note: Shadow variable inetutils-2.6/ftp/main.c:145:57: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'MAYBE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/ftp/main.c:210:19: note: You might need to cast the function pointer here inetutils-2.6/ftp/main.c:145:57: note: Parameter 'MAYBE_UNUSED' can be declared as pointer to const inetutils-2.6/ftp/main.c:218:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/main.c:219:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftpd/auth.c:95:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_FTPUSERS [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/auth.c:191:12: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] inetutils-2.6/ftpd/auth.c:203:7: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] inetutils-2.6/ftpd/auth.c:186:8: style: Variable 'xpasswd' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftpd/auth.c:187:8: style: Variable 'salt' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftpd/auth.c:201:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftpd/conf.c:48:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/conf.c:65:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ruserpass.c:165:22: warning: If memory allocation fails, then there is a possible null pointer dereference: myname [nullPointerOutOfMemory] inetutils-2.6/ftp/ruserpass.c:163:22: note: Assuming allocation function fails inetutils-2.6/ftp/ruserpass.c:163:22: note: Assignment 'myname=xstrdup("")', assigned value is 0 inetutils-2.6/ftp/ruserpass.c:165:22: note: Null pointer dereference inetutils-2.6/ftp/ruserpass.c:354:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] inetutils-2.6/ftp/ruserpass.c:111:24: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftp/ruserpass.c:113:9: style: Variable 'hdir' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/ruserpass.c:114:18: style: Variable 'mydomain' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftpd/conf.c:103:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] inetutils-2.6/ftpd/conf.c:121:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] inetutils-2.6/ftpd/conf.c:67:18: style: Local variable 'pwd' shadows outer function [shadowFunction] inetutils-2.6/ftpd/extern.h:71:13: note: Shadowed declaration inetutils-2.6/ftpd/conf.c:67:18: note: Shadow variable inetutils-2.6/ftpd/conf.c:111:19: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftpd/conf.c:112:11: style: Variable 'gname' can be declared as pointer to const [constVariablePointer] ftpcmd.y:212:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ss_family [valueFlowBailoutIncompleteVar] ftpcmd.y:1435:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmpline [valueFlowBailoutIncompleteVar] ftpcmd.y:1528:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout [valueFlowBailoutIncompleteVar] ftpcmd.y:1550:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout [valueFlowBailoutIncompleteVar] ftpcmd.y:1941:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ftpcmd.y:1965:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:339:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:463:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_program_authors [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:624:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:633:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:728:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_FTPLOGINMESG [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:793:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:933:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:969:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1069:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1154:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1263:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_A [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1382:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1526:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1586:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1621:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1694:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1713:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1749:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1776:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1812:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1837:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1855:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1875:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1897:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1924:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:1963:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:2111:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/ftpd.c:2134:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOCHECK [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/cmds.c:1764:4: error: Address of local auto-variable assigned to a function parameter. [autoVariables] inetutils-2.6/ftp/cmds.c:268:9: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] inetutils-2.6/ftp/cmds.c:284:12: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] inetutils-2.6/ftp/cmds.c:873:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] inetutils-2.6/ftp/cmds.c:1047:11: warning: Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead. [prohibitedmktempCalled] inetutils-2.6/ftp/cmds.c:2461:14: style: Condition '*cp2' is always true [knownConditionTrueFalse] inetutils-2.6/ftp/cmds.c:179:20: error: Dereferencing 'arg' after it is deallocated / released [deallocuse] inetutils-2.6/ftp/cmds.c:184:3: error: Memory pointed to by 'buffer' is freed twice. [doubleFree] inetutils-2.6/ftp/cmds.c:174:4: note: Memory pointed to by 'buffer' is freed twice. inetutils-2.6/ftp/cmds.c:184:3: note: Memory pointed to by 'buffer' is freed twice. inetutils-2.6/ftp/cmds.c:193:14: error: Dereferencing 'arg' after it is deallocated / released [deallocuse] inetutils-2.6/ftp/cmds.c:195:7: error: Memory pointed to by 'arg' is freed twice. [doubleFree] inetutils-2.6/ftp/cmds.c:175:4: note: Memory pointed to by 'arg' is freed twice. inetutils-2.6/ftp/cmds.c:195:7: note: Memory pointed to by 'arg' is freed twice. inetutils-2.6/ftp/cmds.c:203:7: error: Memory pointed to by 'arg' is freed twice. [doubleFree] inetutils-2.6/ftp/cmds.c:175:4: note: Memory pointed to by 'arg' is freed twice. inetutils-2.6/ftp/cmds.c:203:7: note: Memory pointed to by 'arg' is freed twice. inetutils-2.6/ftp/cmds.c:208:66: error: Dereferencing 'arg' after it is deallocated / released [deallocuse] inetutils-2.6/ftp/cmds.c:210:23: error: Dereferencing 'arg' after it is deallocated / released [deallocuse] inetutils-2.6/ftp/cmds.c:211:3: error: Memory pointed to by 'arg' is freed twice. [doubleFree] inetutils-2.6/ftp/cmds.c:175:4: note: Memory pointed to by 'arg' is freed twice. inetutils-2.6/ftp/cmds.c:211:3: note: Memory pointed to by 'arg' is freed twice. inetutils-2.6/ftp/cmds.c:1111:7: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] inetutils-2.6/ftp/cmds.c:128:18: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] inetutils-2.6/ftp/cmds.c:964:27: note: Assuming allocation function fails inetutils-2.6/ftp/cmds.c:964:27: note: Calling function 'strdown', 1st argument 'strdup(tp)' value is 0 inetutils-2.6/ftp/cmds.c:128:12: note: Assignment 'p=str', assigned value is 0 inetutils-2.6/ftp/cmds.c:128:18: note: Null pointer dereference inetutils-2.6/ftp/cmds.c:169:30: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] inetutils-2.6/ftp/cmds.c:155:28: note: Assuming allocation function fails inetutils-2.6/ftp/cmds.c:155:12: note: Assignment 'buffer=(char*)malloc(sizeof(char)*(strlen(prompt)+4))', assigned value is 0 inetutils-2.6/ftp/cmds.c:169:30: note: Null pointer dereference inetutils-2.6/ftp/cmds.c:200:41: warning: Either the condition '!arg' is redundant or there is possible null pointer dereference: arg. [nullPointerRedundantCheck] inetutils-2.6/ftp/cmds.c:191:7: note: Assuming that condition '!arg' is not redundant inetutils-2.6/ftp/cmds.c:200:41: note: Null pointer dereference inetutils-2.6/ftp/cmds.c:209:3: warning: Either the condition '!new' is redundant or there is possible null pointer dereference: line. [nullPointerRedundantCheck] inetutils-2.6/ftp/cmds.c:201:7: note: Assuming that condition '!new' is not redundant inetutils-2.6/ftp/cmds.c:207:10: note: Assignment 'line=new', assigned value is 0 inetutils-2.6/ftp/cmds.c:209:3: note: Null pointer dereference inetutils-2.6/ftp/cmds.c:2469:14: style: Variable 'match' is reassigned a value before the old one has been used. [redundantAssignment] inetutils-2.6/ftp/cmds.c:2459:10: note: match is assigned inetutils-2.6/ftp/cmds.c:2469:14: note: match is overwritten inetutils-2.6/ftp/cmds.c:1920:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] inetutils-2.6/ftp/cmds.c:2233:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] inetutils-2.6/ftp/cmds.c:2099:20: style:inconclusive: Function 'proxabort' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ftp/extern.h:103:21: note: Function 'proxabort' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/cmds.c:2099:20: note: Function 'proxabort' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/cmds.c:1012:14: style: Local variable 'mode' shadows outer variable [shadowVariable] inetutils-2.6/ftp/ftp_var.h:107:16: note: Shadowed declaration inetutils-2.6/ftp/cmds.c:1012:14: note: Shadow variable inetutils-2.6/ftp/cmds.c:1595:14: style: Local variable 'mode' shadows outer variable [shadowVariable] inetutils-2.6/ftp/ftp_var.h:107:16: note: Shadowed declaration inetutils-2.6/ftp/cmds.c:1595:14: note: Shadow variable inetutils-2.6/ftp/cmds.c:105:18: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftp/cmds.c:115:18: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftp/cmds.c:266:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/cmds.c:282:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/cmds.c:396:13: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/cmds.c:1012:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/cmds.c:1223:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/cmds.c:1661:31: style: Variable 'namep' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/cmds.c:1901:15: style: Parameter 'initial' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftp/cmds.c:2014:16: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftp/cmds.c:2014:27: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftp/cmds.c:2311:44: style: Parameter 'toks' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftp/cmds.c:2315:9: style: Variable 'src' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/cmds.c:297:11: style: Unused variable: overbose [unusedVariable] inetutils-2.6/ftp/cmds.c:2504:9: style: Variable 'match' is assigned a value that is never used. [unreadVariable] ftpcmd.c:1343:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] inetutils-2.6/ftp/ftp.c:314:22: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] inetutils-2.6/ftp/ftp.c:318:24: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] ftpcmd.y:648:9: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] ftpcmd.y:1096:8: portability: %jx in format string (no. 1) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 2) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 3) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 4) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 5) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 6) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 7) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 8) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 9) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 10) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 11) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 12) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 13) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 14) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 15) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] ftpcmd.y:1096:8: portability: %jx in format string (no. 16) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] inetutils-2.6/ftp/ftp.c:1759:7: style: Condition 'abrtflag' is always false [knownConditionTrueFalse] inetutils-2.6/ftp/ftp.c:1691:14: note: Assignment 'abrtflag=0', assigned value is 0 inetutils-2.6/ftp/ftp.c:1759:7: note: Condition 'abrtflag' is always false ftpcmd.y:1878:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] ftpcmd.y:1874:14: note: Assuming allocation function fails ftpcmd.y:1874:14: note: Assignment 'p=malloc(strlen(s)+1)', assigned value is 0 ftpcmd.y:1878:11: note: Null pointer dereference ftpcmd.c:1428:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] ftpcmd.c:1370:31: note: 'yystate' is assigned value '0' here. ftpcmd.c:1428:3: note: The comparison '0 <= yystate' is always true. inetutils-2.6/ftpd/ftpd.c:474:3: warning: Return value of function freopen() is not used. [ignoredReturnValue] ftpcmd.y:1414:30: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] ftpcmd.y:1504:19: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ftpcmd.y:1539:14: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] ftpcmd.y:1870:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftpd/ftpd.c:2226:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] inetutils-2.6/ftp/ftp.c:402:19: style:inconclusive: Function 'cmdabort' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ftp/extern.h:62:20: note: Function 'cmdabort' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/ftp.c:402:19: note: Function 'cmdabort' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/ftp.c:589:20: style:inconclusive: Function 'abortsend' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ftp/extern.h:55:21: note: Function 'abortsend' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/ftp.c:589:20: note: Function 'abortsend' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/ftp.c:894:20: style:inconclusive: Function 'abortrecv' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ftp/extern.h:54:21: note: Function 'abortrecv' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/ftp.c:894:20: note: Function 'abortrecv' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/ftp.c:1654:18: style:inconclusive: Function 'psabort' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ftp/extern.h:105:19: note: Function 'psabort' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/ftp.c:1654:18: note: Function 'psabort' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/ftp.c:1767:18: style:inconclusive: Function 'abortpt' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ftp/extern.h:53:19: note: Function 'abortpt' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/ftp.c:1767:18: note: Function 'abortpt' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/ftp/ftp.c:124:7: style: Local variable 'status' shadows outer function [shadowFunction] inetutils-2.6/ftp/extern.h:154:6: note: Shadowed declaration inetutils-2.6/ftp/ftp.c:124:7: note: Shadow variable inetutils-2.6/ftp/ftp.c:294:9: style: Local variable 'user' shadows outer function [shadowFunction] inetutils-2.6/ftp/extern.h:156:6: note: Shadowed declaration inetutils-2.6/ftp/ftp.c:294:9: note: Shadow variable inetutils-2.6/ftp/ftp.c:1549:13: style: Local variable 'h' shadows outer variable [shadowVariable] inetutils-2.6/ftp/ftp.c:1238:21: note: Shadowed declaration inetutils-2.6/ftp/ftp.c:1549:13: note: Shadow variable inetutils-2.6/ftp/ftp.c:1549:17: style: Local variable 'p' shadows outer variable [shadowVariable] inetutils-2.6/ftp/ftp.c:1232:9: note: Shadowed declaration inetutils-2.6/ftp/ftp.c:1549:17: note: Shadow variable inetutils-2.6/ftpd/popen.c:117:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOCHECK [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/popen.c:252:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:120:15: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftp/ftp.c:318:19: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftp/ftp.c:905:58: style: Parameter 'lmode' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftp/ftp.c:1625:18: style: Parameter 'direction' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftp/ftp.c:1932:16: style: Parameter 'local' can be declared as pointer to const [constParameterPointer] ftpcmd.c:1343:11: style: Variable 'yymsg' is assigned a value that is never used. [unreadVariable] inetutils-2.6/ftpd/ftpd.c:662:9: style: Local variable 'cwd' shadows outer function [shadowFunction] inetutils-2.6/ftpd/extern.h:56:13: note: Shadowed declaration inetutils-2.6/ftpd/ftpd.c:662:9: note: Shadow variable inetutils-2.6/ftpd/ftpd.c:858:9: style: Local variable 'remotehost' shadows outer variable [shadowVariable] inetutils-2.6/ftpd/extern.h:106:14: note: Shadowed declaration inetutils-2.6/ftpd/ftpd.c:858:9: note: Shadow variable inetutils-2.6/ftpd/ftpd.c:1614:18: style: Variable 'a' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftpd/ftpd.c:1614:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftpd/ftpd.c:1883:25: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ftpd/ftpd.c:1954:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftpd/ftpd.c:2124:18: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ftpd/ftpd.c:182:15: style: Variable 'bufs' is not assigned a value. [unassignedVariable] inetutils-2.6/ftpd/ftpd.c:1319:28: style: Unused variable: bp [unusedVariable] inetutils-2.6/ftpd/ftpd.c:1321:9: style: Unused variable: len [unusedVariable] inetutils-2.6/ftpd/ftpd.c:1321:14: style: Unused variable: filesize [unusedVariable] inetutils-2.6/ftpd/ftpd.c:2267:16: style: Variable 'freeglob' is assigned a value that is never used. [unreadVariable] inetutils-2.6/ftpd/server_mode.c:98:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ftpd/server_mode.c:123:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] inetutils-2.6/ftp/ftp.c:125:10: style: Unused variable: tos [unusedVariable] inetutils-2.6/ftp/ftp.c:1600:10: style: Unused variable: tos [unusedVariable] inetutils-2.6/ftp/ftp.c:1628:10: style: Unused variable: s [unusedVariable] inetutils-2.6/ftp/ftp.c:1628:13: style: Unused variable: bs [unusedVariable] inetutils-2.6/ftpd/popen.c:108:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] inetutils-2.6/ftpd/popen.c:146:17: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] inetutils-2.6/ftpd/server_mode.c:129:8: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] inetutils-2.6/ftpd/server_mode.c:131:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] inetutils-2.6/ftpd/popen.c:253:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] inetutils-2.6/ftpd/server_mode.c:114:19: style: Variable 'sv' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/changeif.c:394:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/ifconfig.c:61:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/changeif.c:73:37: style: Parameter 'ifr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:73:48: style: Parameter 'address' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:140:37: style: Parameter 'ifr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:140:48: style: Parameter 'netmask' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:155:37: style: Parameter 'ifr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:155:48: style: Parameter 'dstaddr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:221:37: style: Parameter 'ifr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:221:48: style: Parameter 'brdaddr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:236:36: style: Parameter 'ifr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:236:47: style: Parameter 'hwaddr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:288:33: style: Parameter 'ifr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:310:36: style: Parameter 'ifr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/changeif.c:333:35: style: Parameter 'ifr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/flags.c:263:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_LOOPBACK [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/options.c:291:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/options.c:348:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/options.c:359:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ifp [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/options.c:405:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_POINTOPOINT [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/options.c:456:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/options.c:542:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_BROADCAST [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/options.c:659:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_IN_ORDER [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/system/generic.c:40:41: style:inconclusive: Function 'system_parse_opt' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:43:48: note: Function 'system_parse_opt' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:40:41: note: Function 'system_parse_opt' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:41:17: style:inconclusive: Function 'system_parse_opt' argument 2 names different: declaration 'option' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:43:58: note: Function 'system_parse_opt' argument 2 names different: declaration 'option' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:41:17: note: Function 'system_parse_opt' argument 2 names different: declaration 'option' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:41:44: style:inconclusive: Function 'system_parse_opt' argument 3 names different: declaration 'optarg' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:44:15: note: Function 'system_parse_opt' argument 3 names different: declaration 'optarg' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:41:44: note: Function 'system_parse_opt' argument 3 names different: declaration 'optarg' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:47:46: style:inconclusive: Function 'system_parse_opt_rest' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:51:53: note: Function 'system_parse_opt_rest' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:47:46: note: Function 'system_parse_opt_rest' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:48:19: style:inconclusive: Function 'system_parse_opt_rest' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:51:62: note: Function 'system_parse_opt_rest' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:48:19: note: Function 'system_parse_opt_rest' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:54:30: style:inconclusive: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:67:30: note: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:54:30: note: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:54:62: style:inconclusive: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:67:49: note: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:54:62: note: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:60:27: style:inconclusive: Function 'system_configure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:68:27: note: Function 'system_configure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:60:27: note: Function 'system_configure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:61:23: style:inconclusive: Function 'system_configure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:68:46: note: Function 'system_configure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:61:23: note: Function 'system_configure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:62:33: style:inconclusive: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:69:33: note: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:62:33: note: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/generic.c:41:44: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/generic.c:54:62: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/generic.c:61:23: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/generic.c:62:33: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/bsd.c:781:1: error: There is an unknown macro here somewhere. Configuration is required. If _IU_CAT2 is a macro then please configure it. [unknownMacro] inetutils-2.6/ifconfig/flags.c:288:15: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] inetutils-2.6/ifconfig/flags.c:284:17: note: Assuming allocation function fails inetutils-2.6/ifconfig/flags.c:284:17: note: Assignment 'str=xmalloc(len+1)', assigned value is 0 inetutils-2.6/ifconfig/flags.c:285:5: note: p is assigned 'str' here. inetutils-2.6/ifconfig/flags.c:288:15: note: Null pointer dereference inetutils-2.6/ifconfig/flags.c:481:52: style:inconclusive: Function 'print_if_flags' argument 3 names different: declaration 'seperator' definition 'separator'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/flags.h:63:56: note: Function 'print_if_flags' argument 3 names different: declaration 'seperator' definition 'separator'. inetutils-2.6/ifconfig/flags.c:481:52: note: Function 'print_if_flags' argument 3 names different: declaration 'seperator' definition 'separator'. inetutils-2.6/ifconfig/flags.c:325:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/flags.c:465:24: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/printif.c:400:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/printif.c:414:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/printif.c:520:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/printif.c:605:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/printif.c:617:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/printif.c:650:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/printif.c:1171:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/system/hurd.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SERVERS_SOCKET [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/system/hurd.c:233:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_UP [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/system/hurd.c:277:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ifr_name [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/options.c:382:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] inetutils-2.6/ifconfig/options.c:527:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] inetutils-2.6/ifconfig/system/linux.c:505:1: error: There is an unknown macro here somewhere. Configuration is required. If _IU_CAT2 is a macro then please configure it. [unknownMacro] inetutils-2.6/ifconfig/options.c:421:20: warning: Either the condition 'frm==NULL' is redundant or there is possible null pointer dereference: frm. [nullPointerRedundantCheck] inetutils-2.6/ifconfig/options.c:419:11: note: Assuming that condition 'frm==NULL' is not redundant inetutils-2.6/ifconfig/options.c:421:20: note: Null pointer dereference inetutils-2.6/ifconfig/options.c:459:32: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] inetutils-2.6/ifconfig/options.c:454:14: note: Assuming allocation function fails inetutils-2.6/ifconfig/options.c:454:14: note: Assignment 'fp=fopen(file,"r")', assigned value is 0 inetutils-2.6/ifconfig/options.c:459:32: note: Null pointer dereference inetutils-2.6/ifconfig/options.c:538:35: style: Checking if unsigned expression 'n' is less than zero. [unsignedLessThanZero] inetutils-2.6/ifconfig/options.c:339:3: style:inconclusive: Function 'parse_opt_set_mtu' argument 2 names different: declaration 'addr' definition 'arg'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/options.h:87:53: note: Function 'parse_opt_set_mtu' argument 2 names different: declaration 'addr' definition 'arg'. inetutils-2.6/ifconfig/options.c:339:3: note: Function 'parse_opt_set_mtu' argument 2 names different: declaration 'addr' definition 'arg'. inetutils-2.6/ifconfig/options.c:340:1: style:inconclusive: Function 'parse_opt_set_metric' argument 2 names different: declaration 'addr' definition 'arg'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/options.h:88:56: note: Function 'parse_opt_set_metric' argument 2 names different: declaration 'addr' definition 'arg'. inetutils-2.6/ifconfig/options.c:340:1: note: Function 'parse_opt_set_metric' argument 2 names different: declaration 'addr' definition 'arg'. inetutils-2.6/ifconfig/options.c:357:42: style:inconclusive: Function 'parse_opt_set_flag' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/options.h:90:43: note: Function 'parse_opt_set_flag' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/options.c:357:42: note: Function 'parse_opt_set_flag' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/options.c:679:21: style: Local variable 'ifp' shadows outer variable [shadowVariable] inetutils-2.6/ifconfig/options.c:652:20: note: Shadowed declaration inetutils-2.6/ifconfig/options.c:679:21: note: Shadow variable inetutils-2.6/ifconfig/options.c:382:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/options.c:612:61: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const. However it seems that 'default_help_filter' is a callback function, if 'MAYBE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/ifconfig/options.c:635:3: note: You might need to cast the function pointer here inetutils-2.6/ifconfig/options.c:612:61: note: Parameter 'MAYBE_UNUSED' can be declared as pointer to const inetutils-2.6/ifconfig/options.c:672:35: style: Variable 'ifnxp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/system/hurd.c:115:11: warning: If memory allocation fails, then there is a possible null pointer dereference: new_argz [nullPointerOutOfMemory] inetutils-2.6/ifconfig/system/hurd.c:114:21: note: Assuming allocation function fails inetutils-2.6/ifconfig/system/hurd.c:114:21: note: Assignment 'new_argz=malloc(argz_len)', assigned value is 0 inetutils-2.6/ifconfig/system/hurd.c:115:11: note: Null pointer dereference inetutils-2.6/ifconfig/system/hurd.c:161:41: style:inconclusive: Function 'system_parse_opt' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:43:48: note: Function 'system_parse_opt' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:161:41: note: Function 'system_parse_opt' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:162:17: style:inconclusive: Function 'system_parse_opt' argument 2 names different: declaration 'option' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:43:58: note: Function 'system_parse_opt' argument 2 names different: declaration 'option' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:162:17: note: Function 'system_parse_opt' argument 2 names different: declaration 'option' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:162:44: style:inconclusive: Function 'system_parse_opt' argument 3 names different: declaration 'optarg' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:44:15: note: Function 'system_parse_opt' argument 3 names different: declaration 'optarg' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:162:44: note: Function 'system_parse_opt' argument 3 names different: declaration 'optarg' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:275:30: style:inconclusive: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:67:30: note: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:275:30: note: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:275:62: style:inconclusive: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:67:49: note: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:275:62: note: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:283:27: style:inconclusive: Function 'system_configure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:68:27: note: Function 'system_configure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:283:27: note: Function 'system_configure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:284:23: style:inconclusive: Function 'system_configure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:68:46: note: Function 'system_configure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:284:23: note: Function 'system_configure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:285:33: style:inconclusive: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:69:33: note: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:285:33: note: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/hurd.c:81:10: style: Variable 'ifname' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/system/hurd.c:162:44: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/hurd.c:284:23: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/hurd.c:285:33: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/hurd.c:293:69: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/qnx.c:61:30: style:inconclusive: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:67:30: note: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/qnx.c:61:30: note: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/qnx.c:61:62: style:inconclusive: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:67:49: note: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/qnx.c:61:62: note: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/qnx.c:67:71: style:inconclusive: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'ifs'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:69:33: note: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'ifs'. inetutils-2.6/ifconfig/system/qnx.c:67:71: note: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'ifs'. inetutils-2.6/ifconfig/system/qnx.c:49:61: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/qnx.c:55:63: style: Parameter 'argv' can be declared as const array [constParameter] inetutils-2.6/ifconfig/system/qnx.c:61:62: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/qnx.c:67:42: style: Parameter 'ifr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/qnx.c:67:71: style: Parameter 'ifs' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/inttostr.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/argp.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/argp-fmtstream.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/ifconfig/system/solaris.c:133:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFF_UP [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/system/solaris.c:65:41: style:inconclusive: Function 'system_parse_opt' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:43:48: note: Function 'system_parse_opt' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/solaris.c:65:41: note: Function 'system_parse_opt' argument 1 names different: declaration 'ifp' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/solaris.c:66:17: style:inconclusive: Function 'system_parse_opt' argument 2 names different: declaration 'option' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:43:58: note: Function 'system_parse_opt' argument 2 names different: declaration 'option' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/solaris.c:66:17: note: Function 'system_parse_opt' argument 2 names different: declaration 'option' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/solaris.c:66:44: style:inconclusive: Function 'system_parse_opt' argument 3 names different: declaration 'optarg' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:44:15: note: Function 'system_parse_opt' argument 3 names different: declaration 'optarg' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/solaris.c:66:44: note: Function 'system_parse_opt' argument 3 names different: declaration 'optarg' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/solaris.c:175:30: style:inconclusive: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:67:30: note: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/solaris.c:175:30: note: Function 'system_preconfigure' argument 1 names different: declaration 'sfd' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/solaris.c:175:62: style:inconclusive: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:67:49: note: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/solaris.c:175:62: note: Function 'system_preconfigure' argument 2 names different: declaration 'ifr' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/system/solaris.c:181:71: style:inconclusive: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'ifs'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/system.h:69:33: note: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'ifs'. inetutils-2.6/ifconfig/system/solaris.c:181:71: note: Function 'system_configure' argument 3 names different: declaration '__ifs' definition 'ifs'. inetutils-2.6/ifconfig/system/solaris.c:66:44: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ifconfig/system/solaris.c:175:62: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/argp-version-etc.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argp_program_version_hook [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/vasnprintf.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/openat.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/basename-lgpl.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/ifconfig/printif.c:277:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] inetutils-2.6/ifconfig/printif.c:282:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] inetutils-2.6/ifconfig/printif.c:286:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] inetutils-2.6/ifconfig/printif.c:1090:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] inetutils-2.6/ifconfig/printif.c:1097:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] inetutils-2.6/ifconfig/printif.c:1103:9: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] inetutils-2.6/lib/bitrotate.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/btowc.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/printif.c:401:21: warning: Either the condition '!frm' is redundant or there is possible null pointer dereference: frm. [nullPointerRedundantCheck] inetutils-2.6/ifconfig/printif.c:399:7: note: Assuming that condition '!frm' is not redundant inetutils-2.6/ifconfig/printif.c:401:21: note: Null pointer dereference inetutils-2.6/ifconfig/printif.c:415:21: warning: Either the condition '!frm' is redundant or there is possible null pointer dereference: frm. [nullPointerRedundantCheck] inetutils-2.6/ifconfig/printif.c:413:7: note: Assuming that condition '!frm' is not redundant inetutils-2.6/ifconfig/printif.c:415:21: note: Null pointer dereference inetutils-2.6/ifconfig/printif.c:121:30: style:inconclusive: Function 'put_char' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:62:30: note: Function 'put_char' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:121:30: note: Function 'put_char' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:149:29: style:inconclusive: Function 'put_int' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:64:29: note: Function 'put_int' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:149:29: note: Function 'put_int' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:205:31: style:inconclusive: Function 'put_ulong' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:65:31: note: Function 'put_ulong' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:205:31: note: Function 'put_ulong' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:206:43: style:inconclusive: Function 'put_ulong' argument 4 names different: declaration 'val' definition 'value'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:66:17: note: Function 'put_ulong' argument 4 names different: declaration 'val' definition 'value'. inetutils-2.6/ifconfig/printif.c:206:43: note: Function 'put_ulong' argument 4 names different: declaration 'val' definition 'value'. inetutils-2.6/ifconfig/printif.c:378:32: style:inconclusive: Function 'fh_nothing' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:77:32: note: Function 'fh_nothing' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:378:32: note: Function 'fh_nothing' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:379:15: style:inconclusive: Function 'fh_nothing' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:77:42: note: Function 'fh_nothing' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:379:15: note: Function 'fh_nothing' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:438:42: style:inconclusive: Function 'fh_newline' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:83:42: note: Function 'fh_newline' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:438:42: note: Function 'fh_newline' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:445:44: style:inconclusive: Function 'fh_tabulator' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:84:44: note: Function 'fh_tabulator' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:445:44: note: Function 'fh_tabulator' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:614:43: style:inconclusive: Function 'fh_progname' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:93:43: note: Function 'fh_progname' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:614:43: note: Function 'fh_progname' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:621:29: style:inconclusive: Function 'fh_exit' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:94:29: note: Function 'fh_exit' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:621:29: note: Function 'fh_exit' argument 1 names different: declaration 'form' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:632:39: style:inconclusive: Function 'fh_name' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:95:39: note: Function 'fh_name' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:632:39: note: Function 'fh_name' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:644:40: style:inconclusive: Function 'fh_index' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:97:40: note: Function 'fh_index' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:644:40: note: Function 'fh_index' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:922:40: style:inconclusive: Function 'fh_media' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:124:40: note: Function 'fh_media' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:922:40: note: Function 'fh_media' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:939:41: style:inconclusive: Function 'fh_status' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ifconfig/printif.h:126:41: note: Function 'fh_status' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:939:41: note: Function 'fh_status' argument 2 names different: declaration 'argc' definition 'MAYBE_UNUSED'. inetutils-2.6/ifconfig/printif.c:151:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/printif.c:208:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/c32_get_type_test.c:47:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c32isalnum [valueFlowBailoutIncompleteVar] inetutils-2.6/ifconfig/printif.c:262:49: style: Parameter 'argv' can be declared as const array [constParameter] inetutils-2.6/ifconfig/printif.c:274:23: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/printif.c:275:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/printif.c:395:18: style: Variable 'frm' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/printif.c:408:18: style: Variable 'frm' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/printif.c:419:55: style: Parameter 'argv' can be declared as const array. However it seems that 'fh_foreachformat' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/ifconfig/printif.c:65:21: note: You might need to cast the function pointer here inetutils-2.6/ifconfig/printif.c:419:55: note: Parameter 'argv' can be declared as const array inetutils-2.6/ifconfig/printif.c:452:45: style: Parameter 'argv' can be declared as const array. However it seems that 'fh_rep' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/ifconfig/printif.c:70:11: note: You might need to cast the function pointer here inetutils-2.6/ifconfig/printif.c:452:45: note: Parameter 'argv' can be declared as const array inetutils-2.6/ifconfig/printif.c:516:45: style: Parameter 'argv' can be declared as const array. However it seems that 'fh_tab' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/ifconfig/printif.c:73:11: note: You might need to cast the function pointer here inetutils-2.6/ifconfig/printif.c:516:45: note: Parameter 'argv' can be declared as const array inetutils-2.6/ifconfig/printif.c:583:22: style: Variable 'frm' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ifconfig/printif.c:621:59: style: Parameter 'argv' can be declared as const array. However it seems that 'fh_exit' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/ifconfig/printif.c:79:12: note: You might need to cast the function pointer here inetutils-2.6/ifconfig/printif.c:621:59: note: Parameter 'argv' can be declared as const array inetutils-2.6/ifconfig/printif.c:524:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] inetutils-2.6/lib/calloc.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/pathmax.h:44:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/closedir.c:60:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/dirfd.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/same-inode.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/dirname.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/dup-safer.c:33:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/error.c:155:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] inetutils-2.6/lib/filenamecat.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/filemode.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/fd-safer.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/attribute.h:93:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/fopen.c:84:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/fseeko.c:111:0: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] inetutils-2.6/lib/stat-time.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/ftell.c:34:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/sockets.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/fts_.h:54:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/getcwd-lgpl.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/getcwd-lgpl.c:82:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/getdelim.c:70:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/getdomainname.c:75:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/gettext.h:254:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] inetutils-2.6/lib/gettext.h:246:15: note: Array decayed to pointer here. inetutils-2.6/lib/gettext.h:233:8: note: Variable created here. inetutils-2.6/lib/gettext.h:254:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. inetutils-2.6/lib/getdomainname.c:73:18: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] inetutils-2.6/lib/getdomainname.c:70:24: note: Assignment 'result=""', assigned value is "" inetutils-2.6/lib/getdomainname.c:71:30: note: Assignment 'result_len=strlen(result)', assigned value is 0 inetutils-2.6/lib/getdomainname.c:73:18: note: Unsigned less than zero inetutils-2.6/lib/getgroups.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/getgroups.c:33:54: style: Parameter 'groups' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/malloca.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. inetutils-2.6/lib/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. inetutils-2.6/lib/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. inetutils-2.6/lib/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. inetutils-2.6/lib/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. inetutils-2.6/lib/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. inetutils-2.6/lib/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. inetutils-2.6/lib/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. inetutils-2.6/lib/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. inetutils-2.6/lib/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. inetutils-2.6/lib/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. inetutils-2.6/lib/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. inetutils-2.6/lib/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. inetutils-2.6/lib/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. inetutils-2.6/lib/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. inetutils-2.6/lib/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. inetutils-2.6/lib/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. inetutils-2.6/lib/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. inetutils-2.6/lib/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. inetutils-2.6/lib/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. inetutils-2.6/lib/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. inetutils-2.6/lib/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. inetutils-2.6/lib/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. inetutils-2.6/lib/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. inetutils-2.6/lib/getpass.c:103:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/w32sock.h:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/getpeername.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/getpeername.c:32:60: style: Parameter 'addrlen' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/fnmatch_loop.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_EXTMATCH [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/fnmatch_loop.c:945:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/fnmatch_loop.c:1007:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/minmax.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/timespec.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/gettimeofday.c:142:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] inetutils-2.6/lib/getugroups.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/getugroups.c:40:31: style: Parameter 'grouplist' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/xalloc.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/getopt.c:282:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/getopt.c:624:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/hard-locale.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/hash.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/i-ring.h:20:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/ialloc.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/inet_ntop.c:107:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/inet_ntop.c:136:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/inet_ntop.c:92:27: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/ioctl.c:68:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/ioctl.c:62:43: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/glob.c:216:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_ALTDIRFUNC [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/glob.c:244:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_ALTDIRFUNC [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/glob.c:256:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOESCAPE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/glob.c:303:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __GLOB_FLAGS [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/glob.c:1295:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOESCAPE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/getopt.c:272:18: warning: The address of variable 'ambig_fallback' might be accessed at non-zero index. [objectIndex] inetutils-2.6/lib/getopt.c:251:21: note: Address of variable taken here. inetutils-2.6/lib/getopt.c:272:18: note: The address of variable 'ambig_fallback' might be accessed at non-zero index. inetutils-2.6/lib/getopt.c:265:18: style: Condition 'ambig_set!=&ambig_fallback' is always true [knownConditionTrueFalse] inetutils-2.6/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant inetutils-2.6/lib/getopt.c:265:18: note: Condition 'ambig_set!=&ambig_fallback' is always true inetutils-2.6/lib/fnmatch_loop.c:925:38: style: Condition 'n!=string_end' is always true [knownConditionTrueFalse] inetutils-2.6/lib/fnmatch_loop.c:1109:36: style: Condition 'rs==string' is always false [knownConditionTrueFalse] inetutils-2.6/lib/getopt.c:267:16: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] inetutils-2.6/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant inetutils-2.6/lib/getopt.c:267:16: note: Null pointer dereference inetutils-2.6/lib/getopt.c:268:8: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] inetutils-2.6/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant inetutils-2.6/lib/getopt.c:268:8: note: Null pointer dereference inetutils-2.6/lib/getopt.c:267:16: error: Null pointer dereference [nullPointer] inetutils-2.6/lib/fnmatch_loop.c:934:18: style:inconclusive: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] inetutils-2.6/lib/fnmatch_loop.c:37:37: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. inetutils-2.6/lib/fnmatch_loop.c:934:18: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. inetutils-2.6/lib/fnmatch_loop.c:1096:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] inetutils-2.6/lib/fnmatch_loop.c:1105:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] inetutils-2.6/lib/fnmatch_loop.c:1113:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] inetutils-2.6/lib/fnmatch_loop.c:1137:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] inetutils-2.6/lib/fnmatch_loop.c:1154:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] inetutils-2.6/lib/fnmatch_loop.c:1164:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] inetutils-2.6/lib/fnmatch_loop.c:1150:31: style: Variable 'runp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/getopt.c:474:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. inetutils-2.6/lib/getopt.c:474:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. inetutils-2.6/lib/getopt.c:474:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. inetutils-2.6/lib/getopt.c:474:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. inetutils-2.6/lib/getopt.c:474:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. inetutils-2.6/lib/getopt.c:474:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. inetutils-2.6/lib/getopt.c:475:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. inetutils-2.6/lib/getopt.c:475:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. inetutils-2.6/lib/getopt.c:475:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. inetutils-2.6/lib/getopt.c:475:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. inetutils-2.6/lib/getopt.c:476:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. inetutils-2.6/lib/getopt.c:476:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. inetutils-2.6/lib/getopt.c:476:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. inetutils-2.6/lib/getopt.c:476:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. inetutils-2.6/lib/getopt.c:476:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. inetutils-2.6/lib/getopt.c:476:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. inetutils-2.6/lib/getopt.c:706:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. inetutils-2.6/lib/getopt.c:706:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. inetutils-2.6/lib/getopt.c:706:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. inetutils-2.6/lib/getopt.c:706:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. inetutils-2.6/lib/getopt.c:706:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. inetutils-2.6/lib/getopt.c:706:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. inetutils-2.6/lib/getopt.c:707:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. inetutils-2.6/lib/getopt.c:707:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. inetutils-2.6/lib/getopt.c:707:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. inetutils-2.6/lib/getopt.c:707:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. inetutils-2.6/lib/getopt.c:707:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. inetutils-2.6/lib/getopt.c:707:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. inetutils-2.6/lib/getopt.c:708:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] inetutils-2.6/lib/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. inetutils-2.6/lib/getopt.c:708:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. inetutils-2.6/lib/login_tty.c:59:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/localcharset.c:1090:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] inetutils-2.6/lib/localcharset.c:1081:24: note: Assignment 'locale=NULL', assigned value is 0 inetutils-2.6/lib/localcharset.c:1090:14: note: Condition 'locale==NULL' is always true inetutils-2.6/lib/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] inetutils-2.6/lib/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] inetutils-2.6/lib/localcharset.c:1099:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] inetutils-2.6/lib/lseek.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/login_tty.c:56:18: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] inetutils-2.6/lib/login_tty.c:53:11: style: Variable 'slave_name' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/malloc.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/malloc/dynarray-skeleton.c:95:0: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] inetutils-2.6/lib/malloc/dynarray_emplace_enlarge.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/malloc/dynarray_finalize.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable array [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/malloc/dynarray_finalize.c:29:33: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_finalize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/lib/malloc/dynarray_finalize.c:66:18: note: You might need to cast the function pointer here inetutils-2.6/lib/malloc/dynarray_finalize.c:29:33: note: Parameter 'scratch' can be declared as pointer to const inetutils-2.6/lib/malloc/dynarray_resize.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/malloc/dynarray_resize.c:31:31: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_resize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/lib/malloc/dynarray_resize.c:68:18: note: You might need to cast the function pointer here inetutils-2.6/lib/malloc/dynarray_resize.c:31:31: note: Parameter 'scratch' can be declared as pointer to const inetutils-2.6/lib/malloc/scratch_buffer_grow.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/malloc/dynarray_emplace_enlarge.c:31:40: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_emplace_enlarge' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/lib/malloc/dynarray_emplace_enlarge.c:77:18: note: You might need to cast the function pointer here inetutils-2.6/lib/malloc/dynarray_emplace_enlarge.c:31:40: note: Parameter 'scratch' can be declared as pointer to const inetutils-2.6/lib/malloc/scratch_buffer_grow_preserve.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/malloc/scratch_buffer_set_array_size.c:41:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/strnlen1.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/mbtowc-impl.h:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/mgetgroups.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/mgetgroups.c:131:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/msvc-inval.h:57:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/msvc-nothrow.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/mgetgroups.c:184:14: style: Variable 'next' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/mgetgroups.c:185:14: style: Variable 'groups_end' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/nl_langinfo.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/nl_langinfo.c:388:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decimal_point [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/open-safer.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/open.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/obstack.c:117:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obstack_alloc_failed_handler [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/obstack.c:181:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obstack_alloc_failed_handler [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/obstack.c:322:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/nl_langinfo.c:462:5: style: Statements following 'return' will never be executed. [unreachableCode] inetutils-2.6/lib/openat-proc.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/opendir.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/opendirat.c:42:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/glob.c:649:27: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] inetutils-2.6/lib/glob.c:822:17: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] inetutils-2.6/lib/pipe-safer.c:41:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/openpty.c:79:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/openpty.c:67:9: style: Variable 'slave_name' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/glob.c:546:27: style: Condition 'glob_use_alloca(alloca_used,dirlen+1)' is always false [knownConditionTrueFalse] inetutils-2.6/lib/glob.c:546:27: note: Calling function 'glob_use_alloca' returns 0 inetutils-2.6/lib/glob.c:546:27: note: Condition 'glob_use_alloca(alloca_used,dirlen+1)' is always false inetutils-2.6/lib/glob.c:760:35: style: Condition 'glob_use_alloca(alloca_used,end_name-dirname)' is always false [knownConditionTrueFalse] inetutils-2.6/lib/glob.c:760:35: note: Calling function 'glob_use_alloca' returns 0 inetutils-2.6/lib/glob.c:760:35: note: Condition 'glob_use_alloca(alloca_used,end_name-dirname)' is always false inetutils-2.6/lib/glob.c:840:37: style: Condition 'glob_use_alloca(alloca_used,home_len+rest_len+1)' is always false [knownConditionTrueFalse] inetutils-2.6/lib/glob.c:840:37: note: Calling function 'glob_use_alloca' returns 0 inetutils-2.6/lib/glob.c:840:37: note: Condition 'glob_use_alloca(alloca_used,home_len+rest_len+1)' is always false inetutils-2.6/lib/glob.c:1311:11: style: Condition 'alloca_fullname' is always false [knownConditionTrueFalse] inetutils-2.6/lib/glob.c:1309:31: note: Calling function 'glob_use_alloca' returns 0 inetutils-2.6/lib/glob.c:1309:12: note: Assignment 'alloca_fullname=!ckd_add(&fullsize,dirlen+1,patlen+1)&&glob_use_alloca(alloca_used,fullsize)', assigned value is 0 inetutils-2.6/lib/glob.c:1311:11: note: Condition 'alloca_fullname' is always false inetutils-2.6/lib/glob.c:1415:43: style: Condition 'glob_use_alloca(alloca_used,size)' is always false [knownConditionTrueFalse] inetutils-2.6/lib/glob.c:1415:43: note: Calling function 'glob_use_alloca' returns 0 inetutils-2.6/lib/glob.c:1415:43: note: Condition 'glob_use_alloca(alloca_used,size)' is always false inetutils-2.6/lib/pipe.c:48:0: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] inetutils-2.6/lib/glob.c:218:39: warning:inconclusive: Possible null pointer dereference: fullname [nullPointer] inetutils-2.6/lib/glob.c:1312:20: note: Assignment 'fullname=((void)(fullsize),(void)(alloca_used),(void*)0)', assigned value is 0 inetutils-2.6/lib/glob.c:1323:37: note: Calling function 'glob_lstat', 3rd argument 'fullname' value is 0 inetutils-2.6/lib/glob.c:218:39: note: Null pointer dereference inetutils-2.6/lib/glob.c:1421:23: warning: Possible null pointer dereference: newnames [nullPointer] inetutils-2.6/lib/glob.c:1417:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 inetutils-2.6/lib/glob.c:1421:23: note: Null pointer dereference inetutils-2.6/lib/glob.c:1422:23: warning: Possible null pointer dereference: newnames [nullPointer] inetutils-2.6/lib/glob.c:1417:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 inetutils-2.6/lib/glob.c:1422:23: note: Null pointer dereference inetutils-2.6/lib/glob.c:1426:19: warning: Possible null pointer dereference: names [nullPointer] inetutils-2.6/lib/glob.c:1417:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 inetutils-2.6/lib/glob.c:1423:31: note: Assignment 'names=newnames', assigned value is 0 inetutils-2.6/lib/glob.c:1426:19: note: Null pointer dereference inetutils-2.6/lib/glob.c:1427:23: warning: Possible null pointer dereference: names [nullPointer] inetutils-2.6/lib/glob.c:1417:27: note: Assignment 'newnames=names_alloca=((void)(size),(void)(alloca_used),(void*)0)', assigned value is 0 inetutils-2.6/lib/glob.c:1423:31: note: Assignment 'names=newnames', assigned value is 0 inetutils-2.6/lib/glob.c:1427:23: note: Null pointer dereference inetutils-2.6/lib/obstack.c:220:39: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/obstack.c:220:48: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/obstack.c:271:39: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/poll.c:332:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLHUP [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/poll.c:374:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/glob.c:576:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/glob.c:633:30: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/glob.c:739:17: style: Variable 'end_name' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/glob.c:804:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/glob.c:966:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/glob.c:1195:31: style: Variable 's1' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/xsize.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/glob.c:1196:31: style: Variable 's2' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/glob.c:1346:16: style: Variable 'dirp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/glob.c:1278:12: style: struct member 'Anonymous1::next' is never used. [unusedStructMember] inetutils-2.6/lib/glob.c:1278:12: style: struct member 'Anonymous1::count' is never used. [unusedStructMember] inetutils-2.6/lib/progname.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/glob.c:1278:12: style: struct member 'Anonymous1::name' is never used. [unusedStructMember] inetutils-2.6/lib/glob.c:634:29: style: Unused variable: pwbuf [unusedVariable] inetutils-2.6/lib/poll.c:309:46: style: Parameter 'rfds' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/poll.c:309:60: style: Parameter 'wfds' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/poll.c:309:74: style: Parameter 'efds' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/pselect.c:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/read-file.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/rawmemchr.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/readdir.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/readline.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/rawmemchr.c:120:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] inetutils-2.6/lib/rawmemchr.c:61:36: note: s is assigned inetutils-2.6/lib/rawmemchr.c:120:16: note: s is overwritten inetutils-2.6/lib/realloc.c:90:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/rawmemchr.c:120:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] inetutils-2.6/lib/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/readutmp.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/regex.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __GNUC_PREREQ( ... ) [syntaxError] inetutils-2.6/lib/rewinddir.c:40:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regcomp.c:125:5: error: There is an unknown macro here somewhere. Configuration is required. If gettext_noop is a macro then please configure it. [unknownMacro] inetutils-2.6/lib/select.c:576:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/sethostname.c:40:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_NAME_MAX [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:79:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:141:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:494:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:586:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:902:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:939:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:951:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:966:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:999:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1023:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1116:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1166:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1254:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1311:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1387:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1460:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1508:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1545:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1598:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1646:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/setlocale_null-unlocked.c:125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/setlocale_null.c:205:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/sleep.c:72:0: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] inetutils-2.6/lib/sigprocmask.c:116:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/sigprocmask.c:139:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/sigprocmask.c:159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/sigprocmask.c:180:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/sigprocmask.c:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/sigprocmask.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/sigprocmask.c:245:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/sigprocmask.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/strchrnul.c:138:12: style: Variable 'char_ptr' is reassigned a value before the old one has been used. [redundantAssignment] inetutils-2.6/lib/strchrnul.c:129:12: note: char_ptr is assigned inetutils-2.6/lib/strchrnul.c:138:12: note: char_ptr is overwritten inetutils-2.6/lib/strerror-override.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/strnlen.c:32:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] inetutils-2.6/lib/strtol.c:257:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/tempname.c:96:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_NONBLOCK [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/tempname.c:130:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/tempname.c:137:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/tempname.c:145:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/tempname.c:196:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/tempname.c:247:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] inetutils-2.6/lib/tempname.c:126:17: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_file' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/lib/tempname.c:177:21: note: You might need to cast the function pointer here inetutils-2.6/lib/tempname.c:126:17: note: Parameter 'tmpl' can be declared as pointer to const inetutils-2.6/lib/tempname.c:128:8: style: Variable 'openflags' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/tempname.c:135:16: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/lib/tempname.c:178:20: note: You might need to cast the function pointer here inetutils-2.6/lib/tempname.c:135:16: note: Parameter 'tmpl' can be declared as pointer to const inetutils-2.6/lib/tempname.c:135:39: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/lib/tempname.c:178:20: note: You might need to cast the function pointer here inetutils-2.6/lib/tempname.c:135:39: note: Parameter 'flags' can be declared as pointer to const inetutils-2.6/lib/tempname.c:141:21: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_nocreate' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/lib/tempname.c:179:25: note: You might need to cast the function pointer here inetutils-2.6/lib/tempname.c:141:21: note: Parameter 'tmpl' can be declared as pointer to const inetutils-2.6/lib/regexec.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1042:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1205:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1315:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1477:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1557:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1605:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1668:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1695:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1714:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1798:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1846:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1880:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:1994:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:2076:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:2172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:2203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:2279:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:2371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:2442:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable accept_mb [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:2511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:2620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:2768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:2982:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:3059:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:3110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:3156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:3244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:3444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:3619:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_UTF8_PERIOD [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:3918:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_CHARS [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:3956:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:4018:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:4094:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:4143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:4170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regexec.c:4201:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/strtol.c:329:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] inetutils-2.6/lib/strtol.c:322:11: note: Assignment 'end=NULL', assigned value is 0 inetutils-2.6/lib/strtol.c:331:13: note: Assuming that condition 's==end' is not redundant inetutils-2.6/lib/strtol.c:303:10: note: Assignment 'save=s', assigned value is 0 inetutils-2.6/lib/strtol.c:303:8: note: save is assigned 's' here. inetutils-2.6/lib/strtol.c:329:13: note: Null pointer dereference inetutils-2.6/lib/vasnprintf.c:67:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [syntaxError] inetutils-2.6/lib/version-etc.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/wcrtomb.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/wcrtomb.c:28:42: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/windows-mutex.c:78:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-mutex.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-mutex.c:115:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/regex_internal.c:1611:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/regex_internal.c:1661:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/windows-recmutex.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-recmutex.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-recmutex.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-recmutex.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-rwlock.c:56:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-rwlock.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-rwlock.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-rwlock.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-rwlock.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-rwlock.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/windows-rwlock.c:367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/xvasprintf.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/xgetcwd.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/xgetdomainname.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/xgethostname.h:20:0: error: #error "Please include config.h first." [preprocessorErrorDirective] inetutils-2.6/lib/xstrtol.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/libicmp/icmp_address.c:38:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_MASKLEN [valueFlowBailoutIncompleteVar] inetutils-2.6/libicmp/icmp_echo.c:38:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_MINLEN [valueFlowBailoutIncompleteVar] inetutils-2.6/libicmp/icmp_echo.c:63:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_MINLEN [valueFlowBailoutIncompleteVar] inetutils-2.6/libicmp/icmp_echo.c:85:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_ECHO [valueFlowBailoutIncompleteVar] inetutils-2.6/libicmp/icmp_timestamp.c:42:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_TSLEN [valueFlowBailoutIncompleteVar] inetutils-2.6/lib/xstrtol.c:52:15: style: Checking if unsigned expression '*x' is less than zero. [unsignedLessThanZero] inetutils-2.6/libinetutils/daemon.c:110:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] inetutils-2.6/libinetutils/daemon.c:153:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] inetutils-2.6/libinetutils/if_index.c:67:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFNAMSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/libinetutils/if_index.c:193:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/libinetutils/daemon.c:181:19: style: The comparison 'fdlimit == -1' is always true. [knownConditionTrueFalse] inetutils-2.6/libinetutils/daemon.c:173:23: note: 'fdlimit' is assigned value '-1' here. inetutils-2.6/libinetutils/daemon.c:181:19: note: The comparison 'fdlimit == -1' is always true. inetutils-2.6/libinetutils/if_index.c:62:13: style: Condition 'idx!=NULL' is always false [knownConditionTrueFalse] inetutils-2.6/libinetutils/if_index.c:61:24: note: Calling function 'if_nameindex' returns 0 inetutils-2.6/libinetutils/if_index.c:61:24: note: Assignment 'idx=if_nameindex()', assigned value is 0 inetutils-2.6/libinetutils/if_index.c:62:13: note: Condition 'idx!=NULL' is always false inetutils-2.6/libinetutils/if_index.c:64:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libinetutils/argcv.c:156:7: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] inetutils-2.6/libinetutils/argcv.c:138:45: style:inconclusive: Function 'argcv_string' argument 3 names different: declaration 'string' definition 'pstring'. [funcArgNamesDifferent] inetutils-2.6/libinetutils/argcv.h:34:58: note: Function 'argcv_string' argument 3 names different: declaration 'string' definition 'pstring'. inetutils-2.6/libinetutils/argcv.c:138:45: note: Function 'argcv_string' argument 3 names different: declaration 'string' definition 'pstring'. inetutils-2.6/libinetutils/logwtmp.c:61:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_APPEND [valueFlowBailoutIncompleteVar] inetutils-2.6/libinetutils/localhost.c:50:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/libinetutils/logwtmp.c:52:24: style: Parameter 'ut' can be declared as pointer to const [constParameterPointer] inetutils-2.6/libinetutils/logwtmp.c:98:16: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] inetutils-2.6/libinetutils/logwtmp.c:66:19: style: Unused variable: st [unusedVariable] inetutils-2.6/libinetutils/logwtmp.c:59:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_APPEND [valueFlowBailoutIncompleteVar] inetutils-2.6/libinetutils/logwtmp.c:96:26: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] inetutils-2.6/libinetutils/localhost.c:101:28: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] inetutils-2.6/libinetutils/localhost.c:107:9: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] inetutils-2.6/libinetutils/localhost.c:63:34: warning:inconclusive: Possible null pointer dereference: buf [nullPointer] inetutils-2.6/libinetutils/localhost.c:43:15: note: Assignment 'buf=NULL', assigned value is 0 inetutils-2.6/libinetutils/localhost.c:63:34: note: Null pointer dereference inetutils-2.6/libinetutils/localhost.c:64:16: warning:inconclusive: Possible null pointer dereference: buf [nullPointer] inetutils-2.6/libinetutils/localhost.c:43:15: note: Assignment 'buf=NULL', assigned value is 0 inetutils-2.6/libinetutils/localhost.c:64:16: note: Null pointer dereference inetutils-2.6/libinetutils/utmp_init.c:170:31: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] inetutils-2.6/libinetutils/tftpsubs.c:172:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEGSIZE [valueFlowBailoutIncompleteVar] inetutils-2.6/libinetutils/tftpsubs.c:290:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEGSIZE [valueFlowBailoutIncompleteVar] inetutils-2.6/libinetutils/ttymsg.c:85:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_TTY_PFX [valueFlowBailoutIncompleteVar] inetutils-2.6/libinetutils/ttymsg.c:231:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/libinetutils/utmp_logout.c:67:20: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] inetutils-2.6/libinetutils/tftpsubs.c:232:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libinetutils/tftpsubs.c:235:19: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libinetutils/ttymsg.c:267:7: style: Condition 'len' is always true [knownConditionTrueFalse] inetutils-2.6/libinetutils/ttymsg.c:74:56: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] inetutils-2.6/libinetutils/ttymsg.c:278:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libls/stat_flags.c:75:18: style: Condition 'prefix==NULL' is always true [knownConditionTrueFalse] inetutils-2.6/libls/stat_flags.c:74:12: note: Assignment 'prefix=NULL', assigned value is 0 inetutils-2.6/libls/stat_flags.c:75:18: note: Condition 'prefix==NULL' is always true inetutils-2.6/libls/stat_flags.c:71:9: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libls/print.c:119:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_ROOTLEVEL [valueFlowBailoutIncompleteVar] inetutils-2.6/libls/print.c:211:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/libls/print.c:304:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_ROOTLEVEL [valueFlowBailoutIncompleteVar] inetutils-2.6/libls/print.c:376:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] inetutils-2.6/libls/print.c:393:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_ROOTLEVEL [valueFlowBailoutIncompleteVar] inetutils-2.6/libls/util.c:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/libls/ls.c:141:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] inetutils-2.6/libls/ls.c:370:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/libls/ls.c:469:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_ERR [valueFlowBailoutIncompleteVar] inetutils-2.6/libls/ls.c:619:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_ERR [valueFlowBailoutIncompleteVar] inetutils-2.6/libls/print.c:130:2: warning: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'signed long long'. [invalidPrintfArgType_uint] inetutils-2.6/libls/print.c:143:2: warning: %llu in format string (no. 4) requires 'unsigned long long' but the argument type is 'signed long long'. [invalidPrintfArgType_uint] inetutils-2.6/libls/print.c:146:2: warning: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'signed long long'. [invalidPrintfArgType_uint] inetutils-2.6/libls/print.c:259:14: warning: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'signed long long'. [invalidPrintfArgType_uint] inetutils-2.6/libls/print.c:305:5: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'signed long long'. [invalidPrintfArgType_uint] inetutils-2.6/libls/print.c:116:10: style: Variable 'np' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libls/print.c:251:16: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libls/print.c:272:9: style: Variable 'longstring' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libls/print.c:385:20: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] inetutils-2.6/libtelnet/genget.c:111:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] inetutils-2.6/libtelnet/misc.c:83:26: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] inetutils-2.6/libtelnet/misc.c:96:24: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/libping.c:52:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_TIMESTAMP [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/libping.c:72:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/libping.c:181:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/libping.c:202:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICMP_ECHO [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/libping.c:216:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmp6_hdr [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/libping.c:346:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping.c:150:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATTERN [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping.c:292:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_BROADCAST [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping.c:364:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOPT_TSONLY [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping.c:404:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_FLOOD [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping.c:493:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USE_IPV6 [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping.c:511:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/libping.c:69:11: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] inetutils-2.6/ping/libping.c:365:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] inetutils-2.6/ping/libping.c:50:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/libping.c:198:14: style: Variable 'orig_icmp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping.c:338:9: style: Local variable 'ping_type' shadows outer variable [shadowVariable] inetutils-2.6/ping/ping.c:76:7: note: Shadowed declaration inetutils-2.6/ping/ping.c:338:9: note: Shadow variable inetutils-2.6/ping/ping.c:392:20: style: Variable 't' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping_address.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ping [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_address.c:83:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PEV_DUPLICATE [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_address.c:93:43: style:inconclusive: Function 'print_address' argument 2 names different: declaration 'closure' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ping/ping_address.c:50:47: note: Function 'print_address' argument 2 names different: declaration 'closure' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_address.c:93:43: note: Function 'print_address' argument 2 names different: declaration 'closure' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_address.c:94:34: style:inconclusive: Function 'print_address' argument 3 names different: declaration 'dest' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ping/ping_address.c:51:27: note: Function 'print_address' argument 3 names different: declaration 'dest' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_address.c:94:34: note: Function 'print_address' argument 3 names different: declaration 'dest' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_address.c:96:23: style:inconclusive: Function 'print_address' argument 5 names different: declaration 'ip' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ping/ping_address.c:52:18: note: Function 'print_address' argument 5 names different: declaration 'ip' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_address.c:96:23: note: Function 'print_address' argument 5 names different: declaration 'ip' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_address.c:95:29: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping_address.c:96:48: style: Parameter 'icmp' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping6.c:154:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SO_DEBUG [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:273:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:374:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:432:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:457:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:507:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NUMERICHOST [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:551:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmp6_hdr [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:718:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:806:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeval [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:831:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:890:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmp6_hdr [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:944:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmp6_hdr [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:1021:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_common.c:159:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable icmp6_hdr [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_common.c:198:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_common.c:241:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_common.c:287:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_common.c:287:8: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] inetutils-2.6/ping/ping_common.c:97:11: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] inetutils-2.6/ping/ping_common.c:274:13: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] inetutils-2.6/ping/ping_common.c:273:17: note: Assuming allocation function fails inetutils-2.6/ping/ping_common.c:273:17: note: Assignment 'buf=xmalloc(len)', assigned value is 0 inetutils-2.6/ping/ping_common.c:274:13: note: Null pointer dereference inetutils-2.6/ping/ping_common.c:63:34: style: Parameter 'pat' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping_common.c:174:31: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping_common.c:176:14: style: Variable 'icmp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping_common.c:196:25: style: Parameter 'ping' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping_common.c:196:46: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping_common.c:237:30: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping_common.c:282:19: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping_common.c:292:19: style: Variable 'ipstr' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping_echo.c:76:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_INTERVAL [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_echo.c:164:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PEV_DUPLICATE [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_echo.c:191:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PING_HEADER_LEN [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_echo.c:309:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_VERBOSE [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_echo.c:351:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPROTO_TCP [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_echo.c:375:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_VERBOSE [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_echo.c:419:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_VERBOSE [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_echo.c:452:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] inetutils-2.6/libls/ls.c:524:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] inetutils-2.6/libls/ls.c:527:11: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] inetutils-2.6/libls/ls.c:121:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libls/ls.c:435:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] inetutils-2.6/libls/ls.c:446:9: style: Variable 'user' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libls/ls.c:446:23: style: Variable 'group' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libls/ls.c:449:9: style: Variable 'flags' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libls/ls.c:517:23: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] inetutils-2.6/libls/ls.c:518:22: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping_router.c:47:29: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping6.c:523:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] inetutils-2.6/ping/ping_echo.c:352:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] inetutils-2.6/ping/ping_echo.c:352:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] inetutils-2.6/ping/ping_echo.c:355:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] inetutils-2.6/ping/ping_echo.c:355:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] inetutils-2.6/ping/ping_echo.c:362:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] inetutils-2.6/ping/ping_echo.c:362:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] inetutils-2.6/ping/ping_echo.c:613:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] inetutils-2.6/ping/ping_timestamp.c:62:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ping [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_timestamp.c:82:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PEV_DUPLICATE [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping_timestamp.c:116:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable options [valueFlowBailoutIncompleteVar] inetutils-2.6/ping/ping6.c:541:17: style:inconclusive: Function 'print_echo' argument 1 names different: declaration 'dup' definition 'dupflag'. [funcArgNamesDifferent] inetutils-2.6/ping/ping6.c:477:28: note: Function 'print_echo' argument 1 names different: declaration 'dup' definition 'dupflag'. inetutils-2.6/ping/ping6.c:541:17: note: Function 'print_echo' argument 1 names different: declaration 'dup' definition 'dupflag'. inetutils-2.6/ping/ping_echo.c:175:17: style:inconclusive: Function 'print_echo' argument 1 names different: declaration 'dup' definition 'dupflag'. [funcArgNamesDifferent] inetutils-2.6/ping/ping_echo.c:58:21: note: Function 'print_echo' argument 1 names different: declaration 'dup' definition 'dupflag'. inetutils-2.6/ping/ping_echo.c:175:17: note: Function 'print_echo' argument 1 names different: declaration 'dup' definition 'dupflag'. inetutils-2.6/ping/ping6.c:541:54: style:inconclusive: Function 'print_echo' argument 3 names different: declaration 'stat' definition 'ping_stat'. [funcArgNamesDifferent] inetutils-2.6/ping/ping6.c:477:61: note: Function 'print_echo' argument 3 names different: declaration 'stat' definition 'ping_stat'. inetutils-2.6/ping/ping6.c:541:54: note: Function 'print_echo' argument 3 names different: declaration 'stat' definition 'ping_stat'. inetutils-2.6/ping/ping_echo.c:175:44: style:inconclusive: Function 'print_echo' argument 2 names different: declaration 'stat' definition 'ping_stat'. [funcArgNamesDifferent] inetutils-2.6/ping/ping_echo.c:58:44: note: Function 'print_echo' argument 2 names different: declaration 'stat' definition 'ping_stat'. inetutils-2.6/ping/ping_echo.c:175:44: note: Function 'print_echo' argument 2 names different: declaration 'stat' definition 'ping_stat'. inetutils-2.6/ping/ping6.c:542:32: style:inconclusive: Function 'print_echo' argument 4 names different: declaration 'dest' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ping/ping6.c:478:31: note: Function 'print_echo' argument 4 names different: declaration 'dest' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping6.c:542:32: note: Function 'print_echo' argument 4 names different: declaration 'dest' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_echo.c:176:31: style:inconclusive: Function 'print_echo' argument 3 names different: declaration 'dest' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ping/ping_echo.c:59:23: note: Function 'print_echo' argument 3 names different: declaration 'dest' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_echo.c:176:31: note: Function 'print_echo' argument 3 names different: declaration 'dest' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping6.c:820:21: style:inconclusive: Function 'ping_init' argument 1 names different: declaration 'type' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ping/ping6.h:25:29: note: Function 'ping_init' argument 1 names different: declaration 'type' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping6.c:820:21: note: Function 'ping_init' argument 1 names different: declaration 'type' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_echo.c:177:26: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping_echo.c:178:32: style: Parameter 'icmp' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping_echo.c:285:44: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping_echo.c:287:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping_echo.c:304:18: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping_echo.c:343:18: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping_echo.c:407:17: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping_echo.c:410:14: style: Variable 'orig_ip' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping_echo.c:632:25: style: Variable 'ping_stat' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping6.c:335:20: style: Variable 't' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping6.c:543:27: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping6.c:543:51: style: Parameter 'icmp6' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping6.c:640:38: style: Parameter 'icmp6' can be declared as pointer to const. However it seems that 'print_dst_unreach' is a callback function, if 'icmp6' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/ping/ping6.c:769:23: note: You might need to cast the function pointer here inetutils-2.6/ping/ping6.c:640:38: note: Parameter 'icmp6' can be declared as pointer to const inetutils-2.6/ping/ping6.c:642:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping6.c:659:41: style: Parameter 'icmp6' can be declared as pointer to const. However it seems that 'print_packet_too_big' is a callback function, if 'icmp6' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/ping/ping6.c:770:26: note: You might need to cast the function pointer here inetutils-2.6/ping/ping6.c:659:41: note: Parameter 'icmp6' can be declared as pointer to const inetutils-2.6/ping/ping6.c:670:40: style: Parameter 'icmp6' can be declared as pointer to const. However it seems that 'print_time_exceeded' is a callback function, if 'icmp6' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/ping/ping6.c:771:25: note: You might need to cast the function pointer here inetutils-2.6/ping/ping6.c:670:40: note: Parameter 'icmp6' can be declared as pointer to const inetutils-2.6/ping/ping6.c:672:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping6.c:695:37: style: Parameter 'icmp6' can be declared as pointer to const. However it seems that 'print_param_prob' is a callback function, if 'icmp6' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/ping/ping6.c:772:22: note: You might need to cast the function pointer here inetutils-2.6/ping/ping6.c:695:37: note: Parameter 'icmp6' can be declared as pointer to const inetutils-2.6/ping/ping6.c:697:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping6.c:740:20: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping6.c:808:25: style: Variable 'ping_stat' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping6.c:920:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping6.c:923:21: style: Variable 'orig_icmp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/ping/ping_echo.c:112:7: style: Variable 'type' is assigned a value that is never used. [unreadVariable] inetutils-2.6/ping/ping_echo.c:115:7: style: Variable 'type' is assigned a value that is never used. [unreadVariable] inetutils-2.6/ping/ping_echo.c:117:7: style: Variable 'type' is assigned a value that is never used. [unreadVariable] inetutils-2.6/ping/ping_timestamp.c:93:45: style:inconclusive: Function 'print_timestamp' argument 2 names different: declaration 'closure' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ping/ping_timestamp.c:49:49: note: Function 'print_timestamp' argument 2 names different: declaration 'closure' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_timestamp.c:93:45: note: Function 'print_timestamp' argument 2 names different: declaration 'closure' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_timestamp.c:94:29: style:inconclusive: Function 'print_timestamp' argument 3 names different: declaration 'dest' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ping/ping_timestamp.c:50:29: note: Function 'print_timestamp' argument 3 names different: declaration 'dest' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_timestamp.c:94:29: note: Function 'print_timestamp' argument 3 names different: declaration 'dest' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_timestamp.c:96:18: style:inconclusive: Function 'print_timestamp' argument 5 names different: declaration 'ip' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/ping/ping_timestamp.c:51:46: note: Function 'print_timestamp' argument 5 names different: declaration 'ip' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_timestamp.c:96:18: note: Function 'print_timestamp' argument 5 names different: declaration 'ip' definition 'MAYBE_UNUSED'. inetutils-2.6/ping/ping_timestamp.c:95:24: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] inetutils-2.6/ping/ping_timestamp.c:96:43: style: Parameter 'icmp' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/dnsdomainname.c:55:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/hostname.c:83:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xgethostname [valueFlowBailoutIncompleteVar] inetutils-2.6/src/hostname.c:159:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xgethostname [valueFlowBailoutIncompleteVar] inetutils-2.6/src/hostname.c:177:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/hostname.c:241:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/hostname.c:297:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/hostname.c:363:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/hostname.c:385:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/hostname.c:401:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/inetd.c:193:36: error: There is an unknown macro here somewhere. Configuration is required. If PATH_INETDPID is a macro then please configure it. [unknownMacro] inetutils-2.6/src/logger.c:109:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] inetutils-2.6/src/logger.c:157:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] inetutils-2.6/src/logger.c:309:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PID [valueFlowBailoutIncompleteVar] inetutils-2.6/src/logger.c:381:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/src/logger.c:510:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inetutils-2.6/src/hostname.c:259:8: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] inetutils-2.6/src/hostname.c:290:8: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] inetutils-2.6/src/hostname.c:315:8: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] inetutils-2.6/src/hostname.c:414:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] inetutils-2.6/src/hostname.c:257:3: warning: If memory allocation fails, then there is a possible null pointer dereference: aliases [nullPointerOutOfMemory] inetutils-2.6/src/hostname.c:256:21: note: Assuming allocation function fails inetutils-2.6/src/hostname.c:256:21: note: Assignment 'aliases=xmalloc(sizeof(char)*size)', assigned value is 0 inetutils-2.6/src/hostname.c:257:3: note: Null pointer dereference inetutils-2.6/src/hostname.c:313:3: warning: If memory allocation fails, then there is a possible null pointer dereference: addresses [nullPointerOutOfMemory] inetutils-2.6/src/hostname.c:312:23: note: Assuming allocation function fails inetutils-2.6/src/hostname.c:312:23: note: Assignment 'addresses=xmalloc(sizeof(char)*size)', assigned value is 0 inetutils-2.6/src/hostname.c:313:3: note: Null pointer dereference inetutils-2.6/src/hostname.c:407:40: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] inetutils-2.6/src/hostname.c:399:16: note: Assuming allocation function fails inetutils-2.6/src/hostname.c:399:16: note: Assignment 'file=fopen(file_name,"r")', assigned value is 0 inetutils-2.6/src/hostname.c:407:40: note: Null pointer dereference inetutils-2.6/src/hostname.c:414:30: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] inetutils-2.6/src/hostname.c:413:28: note: Assuming allocation function fails inetutils-2.6/src/hostname.c:413:11: note: Assignment 'name=(char*)xmalloc(sizeof(char)*(nread+1))', assigned value is 0 inetutils-2.6/src/hostname.c:414:30: note: Null pointer dereference inetutils-2.6/src/hostname.c:420:16: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] inetutils-2.6/src/hostname.c:399:16: note: Assuming allocation function fails inetutils-2.6/src/hostname.c:399:16: note: Assignment 'file=fopen(file_name,"r")', assigned value is 0 inetutils-2.6/src/hostname.c:420:16: note: Null pointer dereference inetutils-2.6/src/hostname.c:423:11: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] inetutils-2.6/src/hostname.c:399:16: note: Assuming allocation function fails inetutils-2.6/src/hostname.c:399:16: note: Assignment 'file=fopen(file_name,"r")', assigned value is 0 inetutils-2.6/src/hostname.c:423:11: note: Null pointer dereference inetutils-2.6/src/hostname.c:76:27: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/hostname.c:133:19: note: You might need to cast the function pointer here inetutils-2.6/src/hostname.c:76:27: note: Parameter 'arg' can be declared as pointer to const inetutils-2.6/src/hostname.c:254:19: style: Variable 'ht' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/hostname.c:288:19: style: Variable 'ht' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/hostname.c:310:19: style: Variable 'ht' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rcp.c:266:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:312:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_program_authors [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:475:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_RSH [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:601:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_CP [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:721:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:820:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:898:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:1324:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:1391:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:1424:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:1473:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_BSHELL [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:1493:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/logger.c:475:24: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] inetutils-2.6/src/logger.c:269:7: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] inetutils-2.6/src/logger.c:226:12: style: Local variable 'ret' shadows outer variable [shadowVariable] inetutils-2.6/src/logger.c:141:7: note: Shadowed declaration inetutils-2.6/src/logger.c:226:12: note: Shadow variable inetutils-2.6/src/logger.c:475:19: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/logger.c:274:16: warning: Uninitialized variable: family [uninitvar] inetutils-2.6/src/logger.c:145:44: note: Assuming condition is false inetutils-2.6/src/logger.c:274:16: note: Uninitialized variable: family inetutils-2.6/src/rexec.c:114:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rexec.c:151:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rexec.c:239:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rexec.c:259:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rexecd.c:147:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rexecd.c:186:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_program_authors [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rexecd.c:251:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rexecd.c:668:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rexecd.c:494:7: warning: Return value of function pipe() is not used. [ignoredReturnValue] inetutils-2.6/src/rexecd.c:360:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] inetutils-2.6/src/rexecd.c:376:15: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] inetutils-2.6/src/rexecd.c:137:31: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'MAYBE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/rexecd.c:161:3: note: You might need to cast the function pointer here inetutils-2.6/src/rexecd.c:137:31: note: Parameter 'MAYBE_UNUSED' can be declared as pointer to const inetutils-2.6/src/rexecd.c:138:30: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'MAYBE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/rexecd.c:161:3: note: You might need to cast the function pointer here inetutils-2.6/src/rexecd.c:138:30: note: Parameter 'MAYBE_UNUSED' can be declared as pointer to const inetutils-2.6/src/rexecd.c:224:35: style: Parameter 'pwd' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/rexecd.c:240:16: style: Variable 'pass' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rexecd.c:242:9: style: Variable 'namep' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rexecd.c:242:17: style: Variable 'pw_password' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rexec.c:422:29: warning: Either the condition 'err<0' is redundant or write() argument nr 3 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] inetutils-2.6/src/rexec.c:411:12: note: Assuming that condition 'err<0' is not redundant inetutils-2.6/src/rexec.c:422:29: note: Invalid argument inetutils-2.6/src/rexec.c:359:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] inetutils-2.6/src/rexec.c:287:13: warning: Either the condition 'ai==NULL' is redundant or there is possible null pointer dereference: ai. [nullPointerRedundantCheck] inetutils-2.6/src/rexec.c:281:10: note: Assuming that condition 'ai==NULL' is not redundant inetutils-2.6/src/rexec.c:287:13: note: Null pointer dereference inetutils-2.6/src/rexec.c:288:18: warning: Either the condition 'ai==NULL' is redundant or there is possible null pointer dereference: ai. [nullPointerRedundantCheck] inetutils-2.6/src/rexec.c:281:10: note: Assuming that condition 'ai==NULL' is not redundant inetutils-2.6/src/rexec.c:288:18: note: Null pointer dereference inetutils-2.6/src/rexec.c:288:31: warning: Either the condition 'ai==NULL' is redundant or there is possible null pointer dereference: ai. [nullPointerRedundantCheck] inetutils-2.6/src/rexec.c:281:10: note: Assuming that condition 'ai==NULL' is not redundant inetutils-2.6/src/rexec.c:288:31: note: Null pointer dereference inetutils-2.6/src/rexec.c:386:11: style: Local variable 'ret' shadows outer variable [shadowVariable] inetutils-2.6/src/rexec.c:247:13: note: Shadowed declaration inetutils-2.6/src/rexec.c:386:11: note: Shadow variable inetutils-2.6/src/rexec.c:89:27: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/rexec.c:131:14: note: You might need to cast the function pointer here inetutils-2.6/src/rexec.c:89:27: note: Parameter 'arg' can be declared as pointer to const inetutils-2.6/src/rcp.c:337:8: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] inetutils-2.6/src/rcp.c:345:9: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] inetutils-2.6/src/rcp.c:1056:12: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] inetutils-2.6/src/rcp.c:1153:8: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] inetutils-2.6/src/rcp.c:1460:9: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] inetutils-2.6/src/rexec.c:379:15: warning: Uninitialized variable: sock [uninitvar] inetutils-2.6/src/rexec.c:265:21: note: Assuming condition is false inetutils-2.6/src/rexec.c:379:15: note: Uninitialized variable: sock inetutils-2.6/src/rexec.c:477:13: style: Variable 'consumed' is assigned a value that is never used. [unreadVariable] inetutils-2.6/src/rlogin.c:324:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:1012:13: style: Condition 'need>cursize' is always true [knownConditionTrueFalse] inetutils-2.6/src/rcp.c:1011:39: note: Assignment 'need=strlen(targ)+strlen(cp)+250', assigned value is greater than 249 inetutils-2.6/src/rcp.c:1012:13: note: Condition 'need>cursize' is always true inetutils-2.6/src/rlogin.c:362:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_program_authors [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:779:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCCS [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:894:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:918:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:945:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:963:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:993:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:1115:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:1127:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:1144:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable winsize [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:1187:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:1301:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:1377:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSADRAIN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rlogin.c:1409:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rcp.c:341:10: warning: Either the condition 'sp==NULL' is redundant or there is possible null pointer dereference: sp. [nullPointerRedundantCheck] inetutils-2.6/src/rcp.c:339:10: note: Assuming that condition 'sp==NULL' is not redundant inetutils-2.6/src/rcp.c:341:10: note: Null pointer dereference inetutils-2.6/src/rcp.c:1017:14: warning: Possible null pointer dereference: namebuf [nullPointer] inetutils-2.6/src/rcp.c:1007:27: note: Assignment 'namebuf=NULL', assigned value is 0 inetutils-2.6/src/rcp.c:1012:13: note: Assuming condition is false inetutils-2.6/src/rcp.c:1017:14: note: Null pointer dereference inetutils-2.6/src/rcp.c:1022:22: warning:inconclusive: Possible null pointer dereference: np [nullPointer] inetutils-2.6/src/rcp.c:1007:27: note: Assignment 'namebuf=NULL', assigned value is 0 inetutils-2.6/src/rcp.c:1012:13: note: Assuming condition is false inetutils-2.6/src/rcp.c:1018:9: note: Assignment 'np=namebuf', assigned value is 0 inetutils-2.6/src/rcp.c:1022:22: note: Null pointer dereference inetutils-2.6/src/rcp.c:1402:8: warning: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] inetutils-2.6/src/rcp.c:404:24: note: Assuming allocation function fails inetutils-2.6/src/rcp.c:404:24: note: Assignment 'target=xstrdup(argv[argc-1])', assigned value is 0 inetutils-2.6/src/rcp.c:408:17: note: Calling function 'colon', 1st argument 'target' value is 0 inetutils-2.6/src/rcp.c:1402:8: note: Null pointer dereference inetutils-2.6/src/rcp.c:208:27: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/rcp.c:274:3: note: You might need to cast the function pointer here inetutils-2.6/src/rcp.c:208:27: note: Parameter 'arg' can be declared as pointer to const inetutils-2.6/src/rcp.c:208:57: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'MAYBE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/rcp.c:274:3: note: You might need to cast the function pointer here inetutils-2.6/src/rcp.c:208:57: note: Parameter 'MAYBE_UNUSED' can be declared as pointer to const inetutils-2.6/src/rcp.c:304:19: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rcp.c:721:9: style: Variable 'last' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rcp.c:812:18: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rcp.c:813:9: style: Variable 'last' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rcp.c:1434:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rlogind.c:1297:0: error: #error Unable to use mandatory iruserok/ruserok. This should not happen. [preprocessorErrorDirective] inetutils-2.6/src/rcp.c:423:10: style: Unused variable: tos [unusedVariable] inetutils-2.6/src/rcp.c:588:10: style: Unused variable: tos [unusedVariable] inetutils-2.6/lib/regexec.c:1950:27: style:inconclusive: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. [funcArgNamesDifferent] inetutils-2.6/lib/regexec.c:94:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. inetutils-2.6/lib/regexec.c:1950:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. inetutils-2.6/lib/regexec.c:3425:21: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. [funcArgNamesDifferent] inetutils-2.6/lib/regexec.c:163:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. inetutils-2.6/lib/regexec.c:3425:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. inetutils-2.6/lib/regexec.c:3425:43: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. [funcArgNamesDifferent] inetutils-2.6/lib/regexec.c:164:22: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. inetutils-2.6/lib/regexec.c:3425:43: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. inetutils-2.6/lib/regexec.c:3613:35: style:inconclusive: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. [funcArgNamesDifferent] inetutils-2.6/lib/regexec.c:156:39: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. inetutils-2.6/lib/regexec.c:3613:35: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. inetutils-2.6/lib/regexec.c:4010:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] inetutils-2.6/lib/regexec.c:20:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. inetutils-2.6/lib/regexec.c:4010:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. inetutils-2.6/lib/regexec.c:4073:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] inetutils-2.6/lib/regexec.c:23:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. inetutils-2.6/lib/regexec.c:4073:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. inetutils-2.6/lib/regexec.c:4088:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] inetutils-2.6/lib/regexec.c:24:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. inetutils-2.6/lib/regexec.c:4088:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. inetutils-2.6/lib/regexec.c:798:20: style: Variable 'pstate' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/regexec.c:1307:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/regexec.c:1307:45: style: Parameter 'prevregs' can be declared as pointer to const [constParameterPointer] inetutils-2.6/lib/regexec.c:1844:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/regexec.c:1953:34: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/regexec.c:1988:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/regexec.c:2084:38: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] inetutils-2.6/lib/regexec.c:2536:35: style: Variable 'bkref_ent' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rshd.c:1473:0: error: #error Unable to use mandatory iruserok/ruserok. This should not happen. [preprocessorErrorDirective] inetutils-2.6/src/rsh.c:219:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rsh.c:263:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_program_authors [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rsh.c:639:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/src/rsh.c:835:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/syslogd.c:376:4: error: There is an unknown macro here somewhere. Configuration is required. If PATH_LOGPID is a macro then please configure it. [unknownMacro] inetutils-2.6/src/rsh.c:293:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] inetutils-2.6/src/rsh.c:297:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] inetutils-2.6/src/rsh.c:338:10: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] inetutils-2.6/src/rsh.c:337:10: style: Condition 'sp==NULL' is always true [knownConditionTrueFalse] inetutils-2.6/src/rsh.c:325:8: note: Assignment 'sp=NULL', assigned value is 0 inetutils-2.6/src/rsh.c:337:10: note: Condition 'sp==NULL' is always true inetutils-2.6/src/rsh.c:172:57: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'MAYBE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/rsh.c:226:14: note: You might need to cast the function pointer here inetutils-2.6/src/rsh.c:172:57: note: Parameter 'MAYBE_UNUSED' can be declared as pointer to const inetutils-2.6/src/rlogin.c:368:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] inetutils-2.6/src/rlogin.c:372:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] inetutils-2.6/src/rlogin.c:406:10: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] inetutils-2.6/src/rlogin.c:405:10: style: Condition 'sp==NULL' is always true [knownConditionTrueFalse] inetutils-2.6/src/rlogin.c:390:8: note: Assignment 'sp=NULL', assigned value is 0 inetutils-2.6/src/rlogin.c:405:10: note: Condition 'sp==NULL' is always true inetutils-2.6/src/rlogin.c:921:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] inetutils-2.6/src/rlogin.c:417:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rlogin.c:423:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/rlogin.c:1291:19: style: Parameter 'osmask' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/rlogin.c:1459:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/tftpd.c:191:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftpd.c:217:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_program_authors [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftpd.c:456:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADOP [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftpd.c:543:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCESS [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftpd.c:648:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tftphdr [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftpd.c:726:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tftphdr [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftpd.c:853:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftpd.c:876:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] inetutils-2.6/src/traceroute.c:265:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/traceroute.c:299:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/src/traceroute.c:377:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] inetutils-2.6/src/traceroute.c:453:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/src/traceroute.c:479:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/traceroute.c:544:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPORT_RESERVED [valueFlowBailoutIncompleteVar] inetutils-2.6/src/traceroute.c:563:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXIPLEN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/traceroute.c:678:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/traceroute.c:761:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/src/uucpd.c:124:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/uucpd.c:142:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_program_authors [valueFlowBailoutIncompleteVar] inetutils-2.6/src/uucpd.c:197:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/src/uucpd.c:328:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:262:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:280:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_program_authors [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:334:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:411:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:610:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:721:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:810:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:844:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:922:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:994:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tftphdr [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:1107:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tftphdr [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:1249:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEGSIZE [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:1295:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:1322:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RRQ [valueFlowBailoutIncompleteVar] inetutils-2.6/src/uucpd.c:205:8: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] inetutils-2.6/src/uucpd.c:230:17: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] inetutils-2.6/src/uucpd.c:360:8: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] inetutils-2.6/src/uucpd.c:152:14: style: Redundant initialization for 'hisaddrlen'. The initialized value is overwritten before it is read. [redundantInitialization] inetutils-2.6/src/uucpd.c:139:24: note: hisaddrlen is initialized inetutils-2.6/src/uucpd.c:152:14: note: hisaddrlen is overwritten inetutils-2.6/src/uucpd.c:116:57: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'MAYBE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/uucpd.c:130:17: note: You might need to cast the function pointer here inetutils-2.6/src/uucpd.c:116:57: note: Parameter 'MAYBE_UNUSED' can be declared as pointer to const inetutils-2.6/src/uucpd.c:193:9: style: Variable 'xpasswd' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/uucpd.c:340:19: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/uucpd.c:341:9: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/uucpd.c:364:7: style: Variable '(remotehost)[sizeof(remotehost)-1]' is assigned a value that is never used. [unreadVariable] inetutils-2.6/talk/ctl.c:84:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/ctl.c:108:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftpd.c:345:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] inetutils-2.6/src/tftpd.c:359:14: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] inetutils-2.6/src/tftpd.c:828:15: style: Local variable 'buf' shadows outer variable [shadowVariable] inetutils-2.6/src/tftpd.c:112:13: note: Shadowed declaration inetutils-2.6/src/tftpd.c:828:15: note: Shadow variable inetutils-2.6/src/tftpd.c:164:27: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/tftpd.c:199:3: note: You might need to cast the function pointer here inetutils-2.6/src/tftpd.c:164:27: note: Parameter 'arg' can be declared as pointer to const inetutils-2.6/src/tftpd.c:339:22: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/tftpd.c:340:21: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/tftpd.c:535:19: style: Variable 'dirp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/tftpd.c:873:38: style: Parameter 'fromp' can be declared as pointer to const [constParameterPointer] inetutils-2.6/talk/ctl_transact.c:76:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/display.c:135:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curscr [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/get_addrs.c:167:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/get_addrs.c:164:8: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] inetutils-2.6/talk/get_addrs.c:218:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] inetutils-2.6/talk/get_addrs.c:232:8: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] inetutils-2.6/talk/get_addrs.c:74:9: style: Variable 'lhost' can be declared as pointer to const [constVariablePointer] inetutils-2.6/talk/get_addrs.c:74:17: style: Variable 'rhost' can be declared as pointer to const [constVariablePointer] inetutils-2.6/talk/get_addrs.c:80:19: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/traceroute.c:453:5: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] inetutils-2.6/src/traceroute.c:487:35: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] inetutils-2.6/talk/display.c:157:22: style: Local variable 'i' shadows outer variable [shadowVariable] inetutils-2.6/talk/display.c:121:7: note: Shadowed declaration inetutils-2.6/talk/display.c:157:22: note: Shadow variable inetutils-2.6/talk/display.c:119:29: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/traceroute.c:358:21: style:inconclusive: Function 'do_try' argument 3 names different: declaration 'max_hops' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/src/traceroute.c:100:17: note: Function 'do_try' argument 3 names different: declaration 'max_hops' definition 'MAYBE_UNUSED'. inetutils-2.6/src/traceroute.c:358:21: note: Function 'do_try' argument 3 names different: declaration 'max_hops' definition 'MAYBE_UNUSED'. inetutils-2.6/src/traceroute.c:450:31: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/traceroute.c:587:18: style: Variable 'port' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/traceroute.c:628:15: style: Variable 'old_icmp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/traceroute.c:773:36: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/traceroute.c:593:51: portability: '(void*)&ic->icmp_ip' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] inetutils-2.6/src/traceroute.c:631:46: portability: '(void*)old_ip' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] inetutils-2.6/talk/get_names.c:130:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TALK_VERSION [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/init_disp.c:114:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/init_disp.c:178:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGETP [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/get_names.c:78:18: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] inetutils-2.6/talk/get_names.c:82:17: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] inetutils-2.6/talk/get_names.c:73:20: style: Variable 'my_name' can be declared as pointer to const [constVariablePointer] inetutils-2.6/talk/get_names.c:75:9: style: Variable 'his_tty' can be declared as pointer to const [constVariablePointer] inetutils-2.6/talk/get_names.c:80:22: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] inetutils-2.6/talk/invite.c:98:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANNOUNCE [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/invite.c:135:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RING_WAIT [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/invite.c:190:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DELETE [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/io.c:79:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/io.c:151:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/look_up.c:68:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOOK_UP [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/look_up.c:110:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/msgs.c:82:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/msgs.c:94:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] inetutils-2.6/talk/talk.c:144:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/announce.c:103:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hostname [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/announce.c:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_TTY_PFX [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/print.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/print.c:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/print.c:70:47: style: Parameter 'rp' can be declared as pointer to const [constParameterPointer] inetutils-2.6/talkd/acl.c:91:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_NONE [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/acl.c:149:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/acl.c:305:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_ACL_NAME [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/acl.c:386:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_ALLOW [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/announce.c:99:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] inetutils-2.6/talkd/table.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable debug [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/table.c:95:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEAVE_INVITE [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/table.c:156:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/table.c:185:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/process.c:32:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TALK_VERSION [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/process.c:156:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/process.c:203:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_TTY_PFX [valueFlowBailoutIncompleteVar] inetutils-2.6/src/tftp.c:284:8: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] inetutils-2.6/src/tftp.c:460:12: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] inetutils-2.6/src/tftp.c:463:21: warning: Either the condition 'sp==0' is redundant or there is possible null pointer dereference: sp. [nullPointerRedundantCheck] inetutils-2.6/src/tftp.c:461:14: note: Assuming that condition 'sp==0' is not redundant inetutils-2.6/src/tftp.c:463:21: note: Null pointer dereference inetutils-2.6/talkd/table.c:93:22: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'fuzzy_comp' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/talkd/table.c:107:35: note: You might need to cast the function pointer here inetutils-2.6/talkd/table.c:93:22: note: Parameter 'ptr' can be declared as pointer to const inetutils-2.6/talkd/table.c:93:36: style: Parameter 'request' can be declared as pointer to const. However it seems that 'fuzzy_comp' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/talkd/table.c:107:35: note: You might need to cast the function pointer here inetutils-2.6/talkd/table.c:93:36: note: Parameter 'request' can be declared as pointer to const inetutils-2.6/talkd/table.c:93:60: style: Parameter 'MAYBE_UNUSED' can be declared as pointer to const. However it seems that 'fuzzy_comp' is a callback function, if 'MAYBE_UNUSED' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/talkd/table.c:107:35: note: You might need to cast the function pointer here inetutils-2.6/talkd/table.c:93:60: note: Parameter 'MAYBE_UNUSED' can be declared as pointer to const inetutils-2.6/talkd/table.c:111:36: style: Parameter 'request' can be declared as pointer to const. However it seems that 'exact_comp' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/talkd/table.c:130:35: note: You might need to cast the function pointer here inetutils-2.6/talkd/table.c:111:36: note: Parameter 'request' can be declared as pointer to const inetutils-2.6/talkd/table.c:111:53: style: Parameter 'now' can be declared as pointer to const. However it seems that 'exact_comp' is a callback function, if 'now' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/talkd/table.c:130:35: note: You might need to cast the function pointer here inetutils-2.6/talkd/table.c:111:53: note: Parameter 'now' can be declared as pointer to const inetutils-2.6/src/tftp.c:808:17: style:inconclusive: Function 'intr' argument 1 names different: declaration 'signo' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/src/tftp.c:131:16: note: Function 'intr' argument 1 names different: declaration 'signo' definition 'MAYBE_UNUSED'. inetutils-2.6/src/tftp.c:808:17: note: Function 'intr' argument 1 names different: declaration 'signo' definition 'MAYBE_UNUSED'. inetutils-2.6/src/tftp.c:559:13: style: Local variable 'cp' shadows outer variable [shadowVariable] inetutils-2.6/src/tftp.c:546:9: note: Shadowed declaration inetutils-2.6/src/tftp.c:559:13: note: Shadow variable inetutils-2.6/src/tftp.c:911:10: style: Local variable 'argp' shadows outer variable [shadowVariable] inetutils-2.6/src/tftp.c:268:20: note: Shadowed declaration inetutils-2.6/src/tftp.c:911:10: note: Shadow variable inetutils-2.6/src/tftp.c:213:36: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/tftp.c:274:19: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/tftp.c:318:9: style: Variable 'rname' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/tftp.c:403:29: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/tftp.c:459:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/tftp.c:482:26: style: Parameter 'argv' can be declared as const array. However it seems that 'modecmd' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/tftp.c:181:19: note: You might need to cast the function pointer here inetutils-2.6/src/tftp.c:482:26: note: Parameter 'argv' can be declared as const array inetutils-2.6/src/tftp.c:485:9: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/tftp.c:531:20: style: Parameter 'newmode' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/tftp.c:645:17: style: Parameter 's' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/tftp.c:748:17: style: Parameter 's' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/tftp.c:874:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/tftp.c:874:13: style: Variable 'q' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/tftp.c:991:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/tftp.c:991:42: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/tftp.c:1104:25: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/tftp.c:1104:37: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] inetutils-2.6/src/tftp.c:1318:16: style: Variable 'opcodes' can be declared as const array [constVariable] inetutils-2.6/src/tftp.c:1319:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/tftp.c:1319:14: style: Variable 'file' can be declared as pointer to const [constVariablePointer] inetutils-2.6/src/tftp.c:1330:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] inetutils-2.6/talkd/talkd.c:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/talkd.c:131:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/talkd.c:141:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/talkd.c:169:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/talkd/process.c:162:8: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] inetutils-2.6/talkd/process.c:194:18: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/main.c:321:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/main.c:368:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_program_authors [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/network.c:84:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/network.c:107:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/network.c:174:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OOB [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/main.c:381:25: style: Local variable 'argp' shadows outer variable [shadowVariable] inetutils-2.6/telnet/main.c:331:20: note: Shadowed declaration inetutils-2.6/telnet/main.c:381:25: note: Shadow variable inetutils-2.6/talkd/acl.c:300:8: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] inetutils-2.6/talkd/acl.c:322:5: error: Memory leak: filename [memleak] inetutils-2.6/talkd/acl.c:291:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] inetutils-2.6/talkd/acl.c:296:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] inetutils-2.6/talkd/acl.c:399:17: style: Variable 'net' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/ring.c:151:21: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/ring.c:236:31: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/ring.c:284:30: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/sys_bsd.c:134:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/sys_bsd.c:194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VINTR [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/sys_bsd.c:256:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/sys_bsd.c:274:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGETA [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/sys_bsd.c:308:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VINTR [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/sys_bsd.c:433:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_FORCE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/sys_bsd.c:866:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CBAUD [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/sys_bsd.c:913:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/sys_bsd.c:1012:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/sys_bsd.c:1135:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/terminal.c:202:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_FLOW [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/terminal.c:155:23: style: Condition 'n' is always true [knownConditionTrueFalse] inetutils-2.6/telnet/terminal.c:153:9: note: Assuming that condition 'n>0' is not redundant inetutils-2.6/telnet/terminal.c:155:23: note: Condition 'n' is always true inetutils-2.6/telnet/commands.c:170:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:390:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:486:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:621:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_BINARY [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:669:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_BINARY [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:704:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_BINARY [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:931:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1100:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1178:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_LINEMODE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1292:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_LINEMODE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1303:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_LINEMODE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1409:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1527:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1550:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1608:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_BSHELL [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1679:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_LOGOUT [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1740:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1827:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1887:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:1996:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_NEW_ENVIRON [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:2364:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_LINEMODE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:2485:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/commands.c:3018:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/sys_bsd.c:975:15: style:inconclusive: Function 'susp' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/telnet/sys_bsd.c:77:16: note: Function 'susp' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/telnet/sys_bsd.c:975:15: note: Function 'susp' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/telnet/sys_bsd.c:145:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/sys_bsd.c:862:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/sys_bsd.c:888:27: style: Parameter 'rows' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/sys_bsd.c:888:39: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/sys_bsd.c:470:7: style: Variable 'old' is assigned a value that is never used. [unreadVariable] inetutils-2.6/telnet/sys_bsd.c:1319:6: style: Variable 'c' is assigned a value that is never used. [unreadVariable] inetutils-2.6/telnet/telnet.c:232:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:248:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:264:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:280:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:420:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_TM [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:458:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_TM [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:842:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_TTYPE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1149:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DONT [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1194:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WONT [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1235:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_MASK [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1280:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1349:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_LINEMODE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1357:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_LINEMODE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1400:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1429:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLC_FUNC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1500:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1524:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1533:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1546:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1567:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1696:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1707:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELQUAL_INFO [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1753:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEW_ENV_VAR [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:1881:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_ECHO [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2202:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_BINARY [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2376:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_LINEMODE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2479:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_SGA [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2686:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2698:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2710:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2717:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/utilities.c:129:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2726:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/utilities.c:185:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2741:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_STATUS [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/utilities.c:209:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2766:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/utilities.c:351:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_STATUS [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2782:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/utilities.c:1040:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2798:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/utilities.c:1063:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2814:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2830:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2837:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2852:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_NAWS [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2883:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_BINARY [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:2892:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_BINARY [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/pty.c:34:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_TTY_PFX [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/pty.c:60:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/pty.c:99:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/pty.c:133:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/pty.c:153:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/pty.c:133:32: warning: Either the condition '!cmd' is redundant or there is possible null pointer dereference: cmd. [nullPointerRedundantCheck] inetutils-2.6/telnetd/pty.c:129:7: note: Assuming that condition '!cmd' is not redundant inetutils-2.6/telnetd/pty.c:133:32: note: Null pointer dereference inetutils-2.6/telnetd/slc.c:80:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/slc.c:119:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/slc.c:147:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/slc.c:262:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/slc.c:334:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLC_LEVELBITS [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/slc.c:449:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSLC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/slc.c:329:18: style:inconclusive: Function 'change_slc' argument 1 names different: declaration 'func' definition 'func_c'. [funcArgNamesDifferent] inetutils-2.6/telnetd/telnetd.h:324:30: note: Function 'change_slc' argument 1 names different: declaration 'func' definition 'func_c'. inetutils-2.6/telnetd/slc.c:329:18: note: Function 'change_slc' argument 1 names different: declaration 'func' definition 'func_c'. inetutils-2.6/telnetd/slc.c:480:18: style: Variable 'end' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/utilities.c:151:18: style: Variable 'pThis' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/utilities.c:205:20: style: Parameter 'direction' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/utilities.c:218:13: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/utilities.c:755:12: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/utilities.c:1061:19: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnetd/state.c:110:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLC_EOF [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/state.c:139:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLC_SUSP [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/state.c:158:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLC_ABORT [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/state.c:185:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLC_IP [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/state.c:215:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/state.c:540:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_TM [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/state.c:623:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_SGA [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/state.c:819:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_TM [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/state.c:1005:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_LOGOUT [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/state.c:1164:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_TSPEED [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/state.c:1627:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/telnetd.c:190:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/telnetd.c:212:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_program_authors [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/telnetd.c:233:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/telnetd.c:312:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/telnetd.c:337:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/telnetd.c:545:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_SGA [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/telnetd.c:281:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] inetutils-2.6/telnetd/telnetd.c:281:44: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] inetutils-2.6/telnetd/telnetd.c:433:8: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] inetutils-2.6/telnetd/telnetd.c:449:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] inetutils-2.6/telnetd/telnetd.c:779:7: style: Condition '!im' is always true [knownConditionTrueFalse] inetutils-2.6/telnetd/telnetd.c:764:14: note: Assignment 'im=NULL', assigned value is 0 inetutils-2.6/telnetd/telnetd.c:779:7: note: Condition '!im' is always true inetutils-2.6/telnetd/telnetd.c:447:34: warning: Either the condition '!hp' is redundant or there is possible null pointer dereference: hp. [nullPointerRedundantCheck] inetutils-2.6/telnetd/telnetd.c:439:11: note: Assuming that condition '!hp' is not redundant inetutils-2.6/telnetd/telnetd.c:447:34: note: Null pointer dereference inetutils-2.6/telnetd/telnetd.c:449:27: warning: If memory allocation fails, then there is a possible null pointer dereference: remote_hostname [nullPointerOutOfMemory] inetutils-2.6/telnetd/telnetd.c:447:33: note: Assuming allocation function fails inetutils-2.6/telnetd/telnetd.c:447:33: note: Assignment 'remote_hostname=xstrdup(hp->h_name)', assigned value is 0 inetutils-2.6/telnetd/telnetd.c:449:27: note: Null pointer dereference inetutils-2.6/telnetd/telnetd.c:458:17: warning: Either the condition '!hp' is redundant or there is possible null pointer dereference: hp. [nullPointerRedundantCheck] inetutils-2.6/telnetd/telnetd.c:450:11: note: Assuming that condition '!hp' is not redundant inetutils-2.6/telnetd/telnetd.c:458:17: note: Null pointer dereference inetutils-2.6/telnetd/telnetd.c:791:23: style:inconclusive: Function 'chld_is_done' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. [funcArgNamesDifferent] inetutils-2.6/telnetd/telnetd.c:43:31: note: Function 'chld_is_done' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/telnetd/telnetd.c:791:23: note: Function 'chld_is_done' argument 1 names different: declaration 'sig' definition 'MAYBE_UNUSED'. inetutils-2.6/telnetd/telnetd.c:284:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnetd/telnetd.c:327:19: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/commands.c:1593:11: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] inetutils-2.6/telnet/commands.c:2748:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] inetutils-2.6/telnet/commands.c:2764:12: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] inetutils-2.6/telnet/commands.c:2840:34: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] inetutils-2.6/telnet/commands.c:2842:14: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] inetutils-2.6/telnetd/term.c:279:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable slctab [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:319:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:325:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IXON [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:331:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IXANY [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:338:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:346:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:364:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISTRIP [valueFlowBailoutIncompleteVar] inetutils-2.6/telnet/telnet.c:797:29: style: Condition 'init_term(tname,&err)==0' is always false [knownConditionTrueFalse] inetutils-2.6/telnet/telnet.c:797:15: note: Calling function 'init_term' returns -1 inetutils-2.6/telnet/telnet.c:797:29: note: Condition 'init_term(tname,&err)==0' is always false inetutils-2.6/telnetd/term.c:374:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSIZE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:389:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISTRIP [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:395:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPOST [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:401:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:407:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISIG [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:414:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:423:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISIG [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:498:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICRNL [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:507:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pty [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:598:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VEOF [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/term.c:437:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] inetutils-2.6/telnet/telnet.c:1685:5: error: Common realloc mistake: 'opt_reply' nulled but not freed upon failure [memleakOnRealloc] inetutils-2.6/telnet/telnet.c:1737:7: error: Common realloc mistake: 'opt_reply' nulled but not freed upon failure [memleakOnRealloc] inetutils-2.6/telnet/commands.c:1220:25: style: Condition '*c->variable' is always false [knownConditionTrueFalse] inetutils-2.6/telnet/commands.c:1217:23: note: Assignment '*c->variable=0', assigned value is 0 inetutils-2.6/telnet/commands.c:1220:25: note: Condition '*c->variable' is always false inetutils-2.6/telnetd/term.c:750:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnetd/term.c:765:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/commands.c:429:11: warning: Either the condition '(s=((struct sendlist*)genget(argv[i],(char**)Sendlist,sizeof(struct sendlist))))==0' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] inetutils-2.6/telnet/commands.c:424:35: note: Assuming that condition '(s=((struct sendlist*)genget(argv[i],(char**)Sendlist,sizeof(struct sendlist))))==0' is not redundant inetutils-2.6/telnet/commands.c:429:11: note: Null pointer dereference inetutils-2.6/telnet/commands.c:1944:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ep [nullPointerOutOfMemory] inetutils-2.6/telnet/commands.c:1943:39: note: Assuming allocation function fails inetutils-2.6/telnet/commands.c:1943:12: note: Assignment 'ep=(struct env_lst*)xmalloc(sizeof(struct env_lst))', assigned value is 0 inetutils-2.6/telnet/commands.c:1944:7: note: Null pointer dereference inetutils-2.6/telnet/commands.c:1946:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ep [nullPointerOutOfMemory] inetutils-2.6/telnet/commands.c:1943:39: note: Assuming allocation function fails inetutils-2.6/telnet/commands.c:1943:12: note: Assignment 'ep=(struct env_lst*)xmalloc(sizeof(struct env_lst))', assigned value is 0 inetutils-2.6/telnet/commands.c:1946:7: note: Null pointer dereference inetutils-2.6/telnet/commands.c:1947:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ep [nullPointerOutOfMemory] inetutils-2.6/telnet/commands.c:1943:39: note: Assuming allocation function fails inetutils-2.6/telnet/commands.c:1943:12: note: Assignment 'ep=(struct env_lst*)xmalloc(sizeof(struct env_lst))', assigned value is 0 inetutils-2.6/telnet/commands.c:1947:11: note: Null pointer dereference inetutils-2.6/telnet/commands.c:1950:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ep [nullPointerOutOfMemory] inetutils-2.6/telnet/commands.c:1943:39: note: Assuming allocation function fails inetutils-2.6/telnet/commands.c:1943:12: note: Assignment 'ep=(struct env_lst*)xmalloc(sizeof(struct env_lst))', assigned value is 0 inetutils-2.6/telnet/commands.c:1950:3: note: Null pointer dereference inetutils-2.6/telnet/commands.c:1951:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ep [nullPointerOutOfMemory] inetutils-2.6/telnet/commands.c:1943:39: note: Assuming allocation function fails inetutils-2.6/telnet/commands.c:1943:12: note: Assignment 'ep=(struct env_lst*)xmalloc(sizeof(struct env_lst))', assigned value is 0 inetutils-2.6/telnet/commands.c:1951:3: note: Null pointer dereference inetutils-2.6/telnet/commands.c:1952:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ep [nullPointerOutOfMemory] inetutils-2.6/telnet/commands.c:1943:39: note: Assuming allocation function fails inetutils-2.6/telnet/commands.c:1943:12: note: Assignment 'ep=(struct env_lst*)xmalloc(sizeof(struct env_lst))', assigned value is 0 inetutils-2.6/telnet/commands.c:1952:3: note: Null pointer dereference inetutils-2.6/telnet/commands.c:1953:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ep [nullPointerOutOfMemory] inetutils-2.6/telnet/commands.c:1943:39: note: Assuming allocation function fails inetutils-2.6/telnet/commands.c:1943:12: note: Assignment 'ep=(struct env_lst*)xmalloc(sizeof(struct env_lst))', assigned value is 0 inetutils-2.6/telnet/commands.c:1953:3: note: Null pointer dereference inetutils-2.6/telnet/commands.c:3129:24: warning: If memory allocation fails, then there is a possible null pointer dereference: rcname [nullPointerOutOfMemory] inetutils-2.6/telnet/commands.c:3126:19: note: Assuming allocation function fails inetutils-2.6/telnet/commands.c:3126:19: note: Assignment 'rcname=xstrdup("/.telnetrc")', assigned value is 0 inetutils-2.6/telnet/commands.c:3129:24: note: Null pointer dereference inetutils-2.6/telnet/telnet.c:593:18: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/telnet.c:850:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/telnet.c:992:29: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/telnet.c:1137:25: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/telnet.c:1164:25: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/telnet.c:1182:23: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/telnet.c:1209:25: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/telnet.c:1231:25: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/telnet.c:1794:24: style: Parameter 'ep' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnetd/state.c:197:35: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] inetutils-2.6/telnet/commands.c:1907:13: style: Local variable 'hostname' shadows outer variable [shadowVariable] inetutils-2.6/telnet/externs.h:160:3: note: Shadowed declaration inetutils-2.6/telnet/commands.c:1907:13: note: Shadow variable inetutils-2.6/telnet/commands.c:222:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/commands.c:452:44: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/commands.c:926:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/commands.c:1051:15: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/commands.c:1517:9: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/commands.c:1641:22: style: Parameter 'argv' can be declared as const array. However it seems that 'bye' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/telnet/commands.c:2903:24: note: You might need to cast the function pointer here inetutils-2.6/telnet/commands.c:1641:22: note: Parameter 'argv' can be declared as const array inetutils-2.6/telnet/commands.c:1677:28: style: Parameter 'argv' can be declared as const array. However it seems that 'logoutcmd' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/telnet/commands.c:2904:26: note: You might need to cast the function pointer here inetutils-2.6/telnet/commands.c:1677:28: note: Parameter 'argv' can be declared as const array inetutils-2.6/telnet/commands.c:1727:15: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/commands.c:1796:34: style: Parameter 'us2' can be declared as pointer to const. However it seems that 'env_help' is a callback function, if 'us2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/telnet/commands.c:1791:35: note: You might need to cast the function pointer here inetutils-2.6/telnet/commands.c:1796:34: note: Parameter 'us2' can be declared as pointer to const inetutils-2.6/telnet/commands.c:1814:18: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/commands.c:1908:13: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/commands.c:1933:36: style: Parameter 'value' can be declared as pointer to const. However it seems that 'env_define' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/telnet/commands.c:1776:4: note: You might need to cast the function pointer here inetutils-2.6/telnet/commands.c:1933:36: note: Parameter 'value' can be declared as pointer to const inetutils-2.6/telnet/commands.c:2020:33: style: Parameter 'd2' can be declared as pointer to const. However it seems that 'env_list' is a callback function, if 'd2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/telnet/commands.c:1785:4: note: You might need to cast the function pointer here inetutils-2.6/telnet/commands.c:2020:33: note: Parameter 'd2' can be declared as pointer to const inetutils-2.6/telnet/commands.c:2355:25: style: Parameter 'argv' can be declared as const array. However it seems that 'status' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/telnet/commands.c:2912:26: note: You might need to cast the function pointer here inetutils-2.6/telnet/commands.c:2355:25: note: Parameter 'argv' can be declared as const array inetutils-2.6/telnet/commands.c:2459:19: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/commands.c:2464:9: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/commands.c:2464:27: style: Variable 'portp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/commands.c:2464:50: style: Variable 'srchostp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/commands.c:2837:22: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/commands.c:2970:15: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/commands.c:2980:25: style: Parameter 'tbuf' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/commands.c:3109:14: style: Parameter 'm1' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/commands.c:3109:24: style: Parameter 'm2' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnet/telnet.c:764:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] inetutils-2.6/telnet/telnet.c:764:7: style: Variable 'err' is assigned a value that is never used. [unreadVariable] inetutils-2.6/telnetd/state.c:1188:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnetd/state.c:1328:13: style: Variable 'varp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnetd/state.c:1328:20: style: Variable 'valp' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnetd/termstat.c:162:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_BINARY [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/termstat.c:388:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_LFLOW [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/termstat.c:444:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WILL [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/termstat.c:682:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_TSPEED [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/state.c:1618:18: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnetd/state.c:1679:27: style: Variable 'cpe' can be declared as pointer to const [constVariablePointer] inetutils-2.6/telnet/telnet.c:2235:9: style: Variable 'tcc' is assigned a value that is never used. [unreadVariable] inetutils-2.6/telnet/telnet.c:2267:12: style: Variable 'tcc' is assigned a value that is never used. [unreadVariable] inetutils-2.6/telnet/commands.c:1560:10: style: Variable 'oldrows' is not assigned a value. [unassignedVariable] inetutils-2.6/telnet/commands.c:1588:8: style: Variable 'oldrows' is not assigned a value. [unassignedVariable] inetutils-2.6/telnetd/termstat.c:472:10: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] inetutils-2.6/telnetd/termstat.c:471:38: note: outer condition: uselinemode inetutils-2.6/telnetd/termstat.c:472:10: note: identical inner condition: uselinemode inetutils-2.6/tests/identify.c:172:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/tests/addrpeek.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] inetutils-2.6/tests/addrpeek.c:120:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] inetutils-2.6/tests/readutmp.c:67:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] inetutils-2.6/tests/runtime-ipv6.c:65:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] inetutils-2.6/tests/tcpget.c:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] inetutils-2.6/tests/runtime-ipv6.c:103:21: warning: Either the condition 'aiptr==NULL' is redundant or there is possible null pointer dereference: aiptr. [nullPointerRedundantCheck] inetutils-2.6/tests/runtime-ipv6.c:96:17: note: Assuming that condition 'aiptr==NULL' is not redundant inetutils-2.6/tests/runtime-ipv6.c:103:21: note: Null pointer dereference inetutils-2.6/tests/readutmp.c:59:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] inetutils-2.6/tests/readutmp.c:61:10: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] inetutils-2.6/tests/readutmp.c:52:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] inetutils-2.6/tests/readutmp.c:53:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] inetutils-2.6/tests/test-snprintf.c:55:40: error: Undefined behavior: Variable 'msg' is used as parameter and destination in snprintf(). [sprintfOverlappingData] inetutils-2.6/tests/tcpget.c:108:14: warning: Uninitialized variable: fd [uninitvar] inetutils-2.6/tests/tcpget.c:94:18: note: Assuming condition is false inetutils-2.6/tests/tcpget.c:108:14: note: Uninitialized variable: fd inetutils-2.6/whois/whois.c:445:23: error: There is an unknown macro here somewhere. Configuration is required. If IDSTRING is a macro then please configure it. [unknownMacro] inetutils-2.6/telnetd/utility.c:204:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:222:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:250:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:271:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:294:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:306:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:339:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:367:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:386:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:426:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:469:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:492:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:569:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:631:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OOB [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:668:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:690:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:706:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_TTYPE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:753:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TELOPT_TTYPE [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:985:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IAC [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:1919:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] inetutils-2.6/telnetd/utility.c:1709:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] inetutils-2.6/telnetd/utility.c:828:47: style: Condition '!terminaltypeok(terminaltype)' is always false [knownConditionTrueFalse] inetutils-2.6/telnetd/utility.c:828:63: note: Calling function 'terminaltypeok' returns 1 inetutils-2.6/telnetd/utility.c:828:47: note: Condition '!terminaltypeok(terminaltype)' is always false inetutils-2.6/telnetd/utility.c:838:27: style: Condition 'terminaltypeok(terminaltype)' is always true [knownConditionTrueFalse] inetutils-2.6/telnetd/utility.c:838:27: note: Calling function 'terminaltypeok' returns 1 inetutils-2.6/telnetd/utility.c:838:27: note: Condition 'terminaltypeok(terminaltype)' is always true inetutils-2.6/telnetd/utility.c:717:24: style:inconclusive: Function 'getterminaltype' argument 1 names different: declaration 'user_name' definition 'uname'. [funcArgNamesDifferent] inetutils-2.6/telnetd/telnetd.h:370:35: note: Function 'getterminaltype' argument 1 names different: declaration 'user_name' definition 'uname'. inetutils-2.6/telnetd/utility.c:717:24: note: Function 'getterminaltype' argument 1 names different: declaration 'user_name' definition 'uname'. inetutils-2.6/telnetd/utility.c:1904:26: style:inconclusive: Function 'expand_line' argument 1 names different: declaration 'fmt' definition 'line'. [funcArgNamesDifferent] inetutils-2.6/telnetd/telnetd.h:318:39: note: Function 'expand_line' argument 1 names different: declaration 'fmt' definition 'line'. inetutils-2.6/telnetd/utility.c:1904:26: note: Function 'expand_line' argument 1 names different: declaration 'fmt' definition 'line'. inetutils-2.6/telnetd/utility.c:666:21: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnetd/utility.c:688:27: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnetd/utility.c:877:23: style: Parameter 's' can be declared as pointer to const [constParameterPointer] inetutils-2.6/telnetd/utility.c:1693:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] diff: head inetutils-2.6/ftp/cmds.c:200:41: warning: Either the condition '!arg' is redundant or there is possible null pointer dereference: arg. [nullPointerRedundantCheck] inetutils-2.6/ftp/cmds.c:191:7: note: Assuming that condition '!arg' is not redundant inetutils-2.6/ftp/cmds.c:200:41: note: Null pointer dereference head inetutils-2.6/ftp/cmds.c:209:3: warning: Either the condition '!new' is redundant or there is possible null pointer dereference: line. [nullPointerRedundantCheck] inetutils-2.6/ftp/cmds.c:201:7: note: Assuming that condition '!new' is not redundant inetutils-2.6/ftp/cmds.c:207:10: note: Assignment 'line=new', assigned value is 0 inetutils-2.6/ftp/cmds.c:209:3: note: Null pointer dereference head inetutils-2.6/ftp/cmdtab.c:218:13: style: Variable 'q' can be declared as pointer to const [constVariablePointer] head inetutils-2.6/ifconfig/flags.c:465:24: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] 2.18.0 inetutils-2.6/lib/argp-fmtstream.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/argp.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/attribute.h:93:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/basename-lgpl.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/bitrotate.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/dirname.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/error.c:155:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/filemode.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/filenamecat.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head inetutils-2.6/lib/fnmatch_loop.c:1150:31: style: Variable 'runp' can be declared as pointer to const [constVariablePointer] 2.18.0 inetutils-2.6/lib/fseeko.c:111:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/fts_.h:54:4: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/gettimeofday.c:142:5: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] head inetutils-2.6/lib/glob.c:218:39: warning:inconclusive: Possible null pointer dereference: fullname [nullPointer] inetutils-2.6/lib/glob.c:1312:20: note: Assignment 'fullname=((void)(fullsize),(void)(alloca_used),(void*)0)', assigned value is 0 inetutils-2.6/lib/glob.c:1323:37: note: Calling function 'glob_lstat', 3rd argument 'fullname' value is 0 inetutils-2.6/lib/glob.c:218:39: note: Null pointer dereference 2.18.0 inetutils-2.6/lib/hash.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/i-ring.h:20:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/ialloc.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/inttostr.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/malloc/dynarray-skeleton.c:95:3: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/malloca.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head inetutils-2.6/lib/mgetgroups.c:184:14: style: Variable 'next' can be declared as pointer to const [constVariablePointer] 2.18.0 inetutils-2.6/lib/minmax.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/msvc-inval.h:57:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/msvc-nothrow.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/openat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/pathmax.h:44:4: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/pipe.c:48:3: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/read-file.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/readline.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/readutmp.h:27:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head inetutils-2.6/lib/regex.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __GNUC_PREREQ( ... ) [syntaxError] 2.18.0 inetutils-2.6/lib/same-inode.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/sleep.c:72:3: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/sockets.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/stat-time.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/strerror-override.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/strnlen1.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/timespec.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head inetutils-2.6/lib/vasnprintf.c:67:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [syntaxError] 2.18.0 inetutils-2.6/lib/vasnprintf.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/version-etc.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/xalloc.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/xgetcwd.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/xgetdomainname.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/xgethostname.h:20:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/xsize.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] 2.18.0 inetutils-2.6/lib/xvasprintf.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head inetutils-2.6/libinetutils/if_index.c:64:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head inetutils-2.6/ping/ping6.c:642:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head inetutils-2.6/ping/ping6.c:672:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head inetutils-2.6/ping/ping6.c:697:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head inetutils-2.6/ping/ping_echo.c:287:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head inetutils-2.6/src/hostname.c:76:27: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/hostname.c:133:19: note: You might need to cast the function pointer here inetutils-2.6/src/hostname.c:76:27: note: Parameter 'arg' can be declared as pointer to const head inetutils-2.6/src/rcp.c:1022:22: warning:inconclusive: Possible null pointer dereference: np [nullPointer] inetutils-2.6/src/rcp.c:1007:27: note: Assignment 'namebuf=NULL', assigned value is 0 inetutils-2.6/src/rcp.c:1012:13: note: Assuming condition is false inetutils-2.6/src/rcp.c:1018:9: note: Assignment 'np=namebuf', assigned value is 0 inetutils-2.6/src/rcp.c:1022:22: note: Null pointer dereference head inetutils-2.6/src/rexec.c:89:27: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inetutils-2.6/src/rexec.c:131:14: note: You might need to cast the function pointer here inetutils-2.6/src/rexec.c:89:27: note: Parameter 'arg' can be declared as pointer to const 2.18.0 inetutils-2.6/src/rlogind.c:1297:3: error: #error Unable to use mandatory iruserok/ruserok. This should not happen. [preprocessorErrorDirective] 2.18.0 inetutils-2.6/src/rshd.c:1473:4: error: #error Unable to use mandatory iruserok/ruserok. This should not happen. [preprocessorErrorDirective] head inetutils-2.6/src/tftp.c:874:13: style: Variable 'q' can be declared as pointer to const [constVariablePointer] head inetutils-2.6/src/tftpd.c:535:19: style: Variable 'dirp' can be declared as pointer to const [constVariablePointer] head inetutils-2.6/talkd/acl.c:399:17: style: Variable 'net' can be declared as pointer to const [constVariablePointer] head inetutils-2.6/telnet/commands.c:429:11: warning: Either the condition '(s=((struct sendlist*)genget(argv[i],(char**)Sendlist,sizeof(struct sendlist))))==0' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] inetutils-2.6/telnet/commands.c:424:35: note: Assuming that condition '(s=((struct sendlist*)genget(argv[i],(char**)Sendlist,sizeof(struct sendlist))))==0' is not redundant inetutils-2.6/telnet/commands.c:429:11: note: Null pointer dereference head inetutils-2.6/telnetd/term.c:750:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] head inetutils-2.6/telnetd/term.c:765:22: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] head inetutils-2.6/tests/tcpget.c:108:14: warning: Uninitialized variable: fd [uninitvar] inetutils-2.6/tests/tcpget.c:94:18: note: Assuming condition is false inetutils-2.6/tests/tcpget.c:108:14: note: Uninitialized variable: fd DONE