2025-05-07 01:47 ftp://ftp.de.debian.org/debian/pool/main/p/pen/pen_0.34.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8e656e5 (2025-05-06 23:42:00 +0200) count: 176 173 elapsed-time: 0.7 0.7 head-timing-info: old-timing-info: head results: pen-0.34.1/client.c:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pen-0.34.1/acl.c:88:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s6_addr [valueFlowBailoutIncompleteVar] pen-0.34.1/acl.c:261:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] pen-0.34.1/client.c:28:8: style: Variable 'ad6' can be declared as pointer to const [constVariablePointer] pen-0.34.1/client.c:48:39: portability: '*ad6' is of type 'void', the behaviour of 'sizeof(void)' is not covered by the ISO C standard. [sizeofDereferencedVoidPointer] pen-0.34.1/diag.c:51:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pen-0.34.1/diag.c:66:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pen-0.34.1/diag.c:48:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] pen-0.34.1/diag.c:41:13: style: Variable 'nowtm' can be declared as pointer to const [constVariablePointer] pen-0.34.1/dsr.c:692:20: style: Parameter 'dsr_if' can be declared as pointer to const [constParameterPointer] pen-0.34.1/dsr.c:692:34: style: Parameter 'dsr_ip' can be declared as pointer to const [constParameterPointer] pen-0.34.1/acl.c:76:41: style: Parameter 'ipaddr' can be declared as pointer to const [constParameterPointer] pen-0.34.1/acl.c:92:31: style: Parameter 'country' can be declared as pointer to const [constParameterPointer] pen-0.34.1/acl.c:116:54: style: Parameter 'cli_addr' can be declared as pointer to const [constParameterPointer] pen-0.34.1/acl.c:173:17: style: Variable 'client' can be declared as pointer to const [constVariablePointer] pen-0.34.1/acl.c:174:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] pen-0.34.1/acl.c:175:17: style: Variable 'mask' can be declared as pointer to const [constVariablePointer] pen-0.34.1/netconv.c:24:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pen-0.34.1/netconv.c:97:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pen-0.34.1/netconv.c:144:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] pen-0.34.1/netconv.c:175:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] pen-0.34.1/netconv.c:24:22: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] pen-0.34.1/netconv.c:22:19: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pen-0.34.1/netconv.c:24:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] pen-0.34.1/netconv.c:37:22: style: Variable 'si' can be declared as pointer to const [constVariablePointer] pen-0.34.1/netconv.c:38:23: style: Variable 'si6' can be declared as pointer to const [constVariablePointer] pen-0.34.1/netconv.c:84:22: style: Variable 'si' can be declared as pointer to const [constVariablePointer] pen-0.34.1/netconv.c:85:23: style: Variable 'si6' can be declared as pointer to const [constVariablePointer] pen-0.34.1/netconv.c:87:22: style: Variable 'su' can be declared as pointer to const [constVariablePointer] pen-0.34.1/netconv.c:160:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pen-0.34.1/mergelogs.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] pen-0.34.1/penctl.c:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pen-0.34.1/penctl.c:79:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] pen-0.34.1/penctl.c:96:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AI_ADDRCONFIG [valueFlowBailoutIncompleteVar] pen-0.34.1/penctl.c:71:35: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] pen-0.34.1/penctl.c:88:30: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] pen-0.34.1/penctl.c:88:42: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] pen-0.34.1/mergelogs.c:120:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] pen-0.34.1/mergelogs.c:136:2: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pen-0.34.1/mergelogs.c:168:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pen-0.34.1/mergelogs.c:250:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pen-0.34.1/mergelogs.c:289:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pen-0.34.1/mergelogs.c:132:34: style: Local variable 'tz' shadows outer variable [shadowVariable] pen-0.34.1/mergelogs.c:53:12: note: Shadowed declaration pen-0.34.1/mergelogs.c:132:34: note: Shadow variable pen-0.34.1/mergelogs.c:103:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pen-0.34.1/mergelogs.c:120:13: style: Variable 'tms' can be declared as pointer to const [constVariablePointer] pen-0.34.1/mergelogs.c:129:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pen-0.34.1/mergelogs.c:204:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] pen-0.34.1/mergelogs.c:214:58: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] pen-0.34.1/mergelogs.c:281:41: style: Parameter 's' can be declared as pointer to const [constParameterPointer] pen-0.34.1/mergelogs.c:281:58: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] pen-0.34.1/penlog.c:46:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pen-0.34.1/penlogd.c:100:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] pen-0.34.1/penlogd.c:185:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pen-0.34.1/penlogd.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] pen-0.34.1/penlogd.c:269:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] pen-0.34.1/select.c:66:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pen-0.34.1/select.c:91:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] pen-0.34.1/penlogd.c:146:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] pen-0.34.1/penlogd.c:251:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] pen-0.34.1/penlogd.c:290:11: warning: Either the condition '(ld=socket(PF_INET,SOCK_DGRAM,0))<0' is redundant or bind() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] pen-0.34.1/penlogd.c:282:44: note: Assuming that condition '(ld=socket(PF_INET,SOCK_DGRAM,0))<0' is not redundant pen-0.34.1/penlogd.c:290:11: note: Invalid argument pen-0.34.1/penlogd.c:278:11: warning: If resource allocation fails, then there is a possible null pointer dereference: pidfp [nullPointerOutOfResources] pen-0.34.1/penlogd.c:272:22: note: Assuming allocation function fails pen-0.34.1/penlogd.c:272:22: note: Assignment 'pidfp=fopen(pidfile,"w")', assigned value is 0 pen-0.34.1/penlogd.c:278:11: note: Null pointer dereference pen-0.34.1/penlogd.c:279:10: warning: If resource allocation fails, then there is a possible null pointer dereference: pidfp [nullPointerOutOfResources] pen-0.34.1/penlogd.c:272:22: note: Assuming allocation function fails pen-0.34.1/penlogd.c:272:22: note: Assignment 'pidfp=fopen(pidfile,"w")', assigned value is 0 pen-0.34.1/penlogd.c:279:10: note: Null pointer dereference pen-0.34.1/penlogd.c:76:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pen-0.34.1/penlogd.c:76:12: style: Variable 'q' can be declared as pointer to const [constVariablePointer] pen-0.34.1/penlogd.c:127:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] pen-0.34.1/server.c:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pen-0.34.1/server.c:352:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] pen-0.34.1/windows.c:20:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_NONE [valueFlowBailoutIncompleteVar] pen-0.34.1/windows.c:28:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] pen-0.34.1/windows.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_ERROR [valueFlowBailoutIncompleteVar] pen-0.34.1/windows.c:70:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_ALL_ACCESS [valueFlowBailoutIncompleteVar] pen-0.34.1/windows.c:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] pen-0.34.1/windows.c:169:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ServiceStart [valueFlowBailoutIncompleteVar] pen-0.34.1/windows.c:188:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_WIN32 [valueFlowBailoutIncompleteVar] pen-0.34.1/windows.c:256:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_PAUSED [valueFlowBailoutIncompleteVar] pen-0.34.1/windows.c:249:46: style:inconclusive: Function 'ServiceCtrlHandler' argument 1 names different: declaration 'opcode' definition 'Opcode'. [funcArgNamesDifferent] pen-0.34.1/windows.c:62:47: note: Function 'ServiceCtrlHandler' argument 1 names different: declaration 'opcode' definition 'Opcode'. pen-0.34.1/windows.c:249:46: note: Function 'ServiceCtrlHandler' argument 1 names different: declaration 'opcode' definition 'Opcode'. pen-0.34.1/windows.c:6:21: style: Parameter 'oldact' can be declared as pointer to const [constParameterPointer] pen-0.34.1/windows.c:243:59: style: Parameter 'argv' can be declared as pointer to const [constParameterPointer] pen-0.34.1/windows.c:243:72: style: Parameter 'specificError' can be declared as pointer to const [constParameterPointer] pen-0.34.1/server.c:88:6: warning:inconclusive: Width 999 given in format string (no. 1) is smaller than destination buffer 'address[1024]'. [invalidScanfFormatWidth_smaller] pen-0.34.1/server.c:366:7: style: Local variable 'n' shadows outer variable [shadowVariable] pen-0.34.1/server.c:321:6: note: Shadowed declaration pen-0.34.1/server.c:366:7: note: Shadow variable pen-0.34.1/server.c:48:17: style: Variable 'u' can be declared as pointer to const [constVariablePointer] pen-0.34.1/server.c:76:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] pen-0.34.1/server.c:80:8: style: Variable 'format' can be declared as pointer to const [constVariablePointer] pen-0.34.1/server.c:120:23: style: Variable 'si' can be declared as pointer to const [constVariablePointer] pen-0.34.1/pen.c:134:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:177:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:283:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:452:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:667:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:777:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:920:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:949:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:1025:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:1047:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:1239:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:1745:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:1858:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:1903:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:1962:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:2016:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:2054:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:2314:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:2506:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CORE [valueFlowBailoutIncompleteVar] pen-0.34.1/pen.c:196:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] pen-0.34.1/pen.c:246:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] pen-0.34.1/pen.c:374:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] pen-0.34.1/pen.c:1026:9: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] pen-0.34.1/pen.c:1133:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] pen-0.34.1/pen.c:1213:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1220:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1221:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1222:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1232:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1261:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1277:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1281:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1287:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1291:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1300:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1314:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1320:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1326:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1330:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1336:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1356:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1361:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1365:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1376:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1390:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1407:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1413:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1450:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1461:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1476:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1481:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1481:42: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1517:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1522:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1594:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1609:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1617:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1621:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1627:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:1638:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pen-0.34.1/pen.c:2554:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] pen-0.34.1/pen.c:1750:43: style: Condition 'udp' is always true [knownConditionTrueFalse] pen-0.34.1/pen.c:1029:5: warning: Either the condition 'hp==NULL' is redundant or there is possible null pointer dereference: hp. [nullPointerRedundantCheck] pen-0.34.1/pen.c:1027:11: note: Assuming that condition 'hp==NULL' is not redundant pen-0.34.1/pen.c:1029:5: note: Null pointer dereference pen-0.34.1/pen.c:1029:17: warning: Either the condition 'hp==NULL' is redundant or there is possible null pointer dereference: hp. [nullPointerRedundantCheck] pen-0.34.1/pen.c:1027:11: note: Assuming that condition 'hp==NULL' is not redundant pen-0.34.1/pen.c:1029:17: note: Null pointer dereference pen-0.34.1/pen.c:196:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] pen-0.34.1/pen.c:232:9: style: Local variable 'now' shadows outer variable [shadowVariable] pen-0.34.1/pen.h:20:15: note: Shadowed declaration pen-0.34.1/pen.c:232:9: note: Shadow variable pen-0.34.1/pen.c:369:9: style: Local variable 'now' shadows outer variable [shadowVariable] pen-0.34.1/pen.h:20:15: note: Shadowed declaration pen-0.34.1/pen.c:369:9: note: Shadow variable pen-0.34.1/pen.c:790:7: style: Local variable 'n' shadows outer variable [shadowVariable] pen-0.34.1/pen.c:750:6: note: Shadowed declaration pen-0.34.1/pen.c:790:7: note: Shadow variable pen-0.34.1/pen.c:1042:9: style: Local variable 'listenfd' shadows outer variable [shadowVariable] pen-0.34.1/pen.h:19:12: note: Shadowed declaration pen-0.34.1/pen.c:1042:9: note: Shadow variable pen-0.34.1/pen.c:1064:6: style: Local variable 'listenfd' shadows outer variable [shadowVariable] pen-0.34.1/pen.h:19:12: note: Shadowed declaration pen-0.34.1/pen.c:1064:6: note: Shadow variable pen-0.34.1/pen.c:233:13: style: Variable 'nowtm' can be declared as pointer to const [constVariablePointer] pen-0.34.1/pen.c:370:13: style: Variable 'nowtm' can be declared as pointer to const [constVariablePointer] pen-0.34.1/pen.c:448:33: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] pen-0.34.1/pen.c:468:50: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] pen-0.34.1/pen.c:499:57: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] pen-0.34.1/pen.c:1021:20: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] pen-0.34.1/pen.c:1040:37: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] pen-0.34.1/pen.c:1126:13: style: Variable 'nowtm' can be declared as pointer to const [constVariablePointer] pen-0.34.1/pen.c:1218:9: style: Variable 'no' can be declared as pointer to const [constVariablePointer] pen-0.34.1/pen.c:1218:14: style: Variable 'pd' can be declared as pointer to const [constVariablePointer] pen-0.34.1/pen.c:1247:26: style: Variable 'si6' can be declared as pointer to const [constVariablePointer] pen-0.34.1/pen.c:1653:7: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] pen-0.34.1/pen.c:2308:8: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] pen-0.34.1/pen.c:750:17: style: Variable 'err' is assigned a value that is never used. [unreadVariable] pen-0.34.1/pen.c:793:6: style: Variable 'n' is assigned a value that is never used. [unreadVariable] pen-0.34.1/pen.c:984:9: style: Variable 'server' is assigned a value that is never used. [unreadVariable] pen-0.34.1/pen.c:1380:7: style: Variable 'n' is assigned a value that is never used. [unreadVariable] pen-0.34.1/pen.c:1738:14: style: Variable 'one' is assigned a value that is never used. [unreadVariable] pen-0.34.1/pen.c:1778:9: style: Variable 'client' is assigned a value that is never used. [unreadVariable] pen-0.34.1/pen.c:1826:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] pen-0.34.1/pen.c:1738:10: style: Variable 'one' is assigned a value that is never used. [unreadVariable] diff: head pen-0.34.1/pen.c:1029:17: warning: Either the condition 'hp==NULL' is redundant or there is possible null pointer dereference: hp. [nullPointerRedundantCheck] pen-0.34.1/pen.c:1027:11: note: Assuming that condition 'hp==NULL' is not redundant pen-0.34.1/pen.c:1029:17: note: Null pointer dereference head pen-0.34.1/pen.c:1481:42: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] head pen-0.34.1/pen.c:1738:10: style: Variable 'one' is assigned a value that is never used. [unreadVariable] DONE