2025-05-05 11:30 ftp://ftp.de.debian.org/debian/pool/main/l/leafnode/leafnode_1.12.0.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 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: fcc0493 (2025-05-05 13:08:11 +0200) count: 204 201 elapsed-time: 11.4 11.8 head-timing-info: old-timing-info: head results: leafnode-1.12.0/activutil.c:247:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] leafnode-1.12.0/activutil.c:298:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] leafnode-1.12.0/activutil.c:392:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] leafnode-1.12.0/activutil.c:532:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] leafnode-1.12.0/activutil.c:599:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/activutil.c:536:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/activutil.c:549:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/activutil.c:549:28: warning: If resource allocation fails, then there is a possible null pointer dereference: ng [nullPointerOutOfResources] leafnode-1.12.0/activutil.c:548:18: note: Assuming allocation function fails leafnode-1.12.0/activutil.c:548:18: note: Assignment 'ng=opendir(".")', assigned value is 0 leafnode-1.12.0/activutil.c:549:28: note: Null pointer dereference leafnode-1.12.0/activutil.c:565:15: warning: If resource allocation fails, then there is a possible null pointer dereference: ng [nullPointerOutOfResources] leafnode-1.12.0/activutil.c:548:18: note: Assuming allocation function fails leafnode-1.12.0/activutil.c:548:18: note: Assignment 'ng=opendir(".")', assigned value is 0 leafnode-1.12.0/activutil.c:565:15: note: Null pointer dereference leafnode-1.12.0/activutil.c:277:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] leafnode-1.12.0/activutil.c:329:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] leafnode-1.12.0/activutil.c:78:33: style:inconclusive: Function 'insertgroup' argument 4 names different: declaration 'date' definition 'age'. [funcArgNamesDifferent] leafnode-1.12.0/leafnode.h:131:11: note: Function 'insertgroup' argument 4 names different: declaration 'date' definition 'age'. leafnode-1.12.0/activutil.c:78:33: note: Function 'insertgroup' argument 4 names different: declaration 'date' definition 'age'. leafnode-1.12.0/activutil.c:242:30: style:inconclusive: Function 'xfindgroup' argument 1 names different: declaration 'active' definition 'act'. [funcArgNamesDifferent] leafnode-1.12.0/leafnode.h:136:48: note: Function 'xfindgroup' argument 1 names different: declaration 'active' definition 'act'. leafnode-1.12.0/activutil.c:242:30: note: Function 'xfindgroup' argument 1 names different: declaration 'active' definition 'act'. leafnode-1.12.0/activutil.c:242:67: style:inconclusive: Function 'xfindgroup' argument 3 names different: declaration 'size' definition 'actsize'. [funcArgNamesDifferent] leafnode-1.12.0/leafnode.h:137:16: note: Function 'xfindgroup' argument 3 names different: declaration 'size' definition 'actsize'. leafnode-1.12.0/activutil.c:242:67: note: Function 'xfindgroup' argument 3 names different: declaration 'size' definition 'actsize'. leafnode-1.12.0/activutil.c:82:27: style: Variable 'o' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/activutil.c:520:20: style: Variable 'nga' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/agetcwd.c:17:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/agetcwd.c:10:33: style:inconclusive: Function 'agetcwd' argument 2 names different: declaration 'capa' definition 'size'. [funcArgNamesDifferent] leafnode-1.12.0/leafnode.h:392:53: note: Function 'agetcwd' argument 2 names different: declaration 'capa' definition 'size'. leafnode-1.12.0/agetcwd.c:10:33: note: Function 'agetcwd' argument 2 names different: declaration 'capa' definition 'size'. leafnode-1.12.0/applyfilter.c:144:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] leafnode-1.12.0/applyfilter.c:204:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/applyfilter.c:266:3: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] leafnode-1.12.0/artutil.c:33:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] leafnode-1.12.0/artutil.c:144:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/artutil.c:152:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] leafnode-1.12.0/artutil.c:85:38: style:inconclusive: Function 'store' argument 3 names different: declaration 'newsgroups' definition 'ngs'. [funcArgNamesDifferent] leafnode-1.12.0/leafnode.h:192:36: note: Function 'store' argument 3 names different: declaration 'newsgroups' definition 'ngs'. leafnode-1.12.0/artutil.c:85:38: note: Function 'store' argument 3 names different: declaration 'newsgroups' definition 'ngs'. leafnode-1.12.0/artutil.c:89:30: style: Variable 'cg_active' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/checkgroups.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] leafnode-1.12.0/checkgroups.c:83:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] leafnode-1.12.0/checkgroups.c:33:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] leafnode-1.12.0/checkpeerlocal.c:299:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/checkpeerlocal.c:443:13: style: Local variable 'buf' shadows outer variable [shadowVariable] leafnode-1.12.0/checkpeerlocal.c:284:12: note: Shadowed declaration leafnode-1.12.0/checkpeerlocal.c:443:13: note: Shadow variable leafnode-1.12.0/checkpeerlocal.c:286:25: style: Variable 'end' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/configutil.c:183:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/configutil.c:225:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] leafnode-1.12.0/configutil.c:610:23: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] leafnode-1.12.0/configutil.c:610:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/configutil.c:672:24: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] leafnode-1.12.0/critmem.c:50:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:95:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:132:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:216:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:360:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:394:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:593:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:723:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:1525:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:1659:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:1815:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:2045:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:2229:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:2338:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] leafnode-1.12.0/fetchnews.c:757:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] leafnode-1.12.0/fetchnews.c:757:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] leafnode-1.12.0/fetchnews.c:1512:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/fetchnews.c:1580:27: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] leafnode-1.12.0/fetchnews.c:1840:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/fetchnews.c:2138:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/fetchnews.c:2195:7: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] leafnode-1.12.0/fetchnews.c:2266:6: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] leafnode-1.12.0/fetchnews.c:2340:30: warning: Either the condition '!nptr' is redundant or there is possible null pointer dereference: nptr. [nullPointerRedundantCheck] leafnode-1.12.0/fetchnews.c:2341:10: note: Assuming that condition '!nptr' is not redundant leafnode-1.12.0/fetchnews.c:2340:30: note: Null pointer dereference leafnode-1.12.0/fetchnews.c:574:71: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] leafnode-1.12.0/fetchnews.c:76:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/fetchnews.c:301:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/fetchnews.c:570:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/fetchnews.c:1305:12: style: Variable 't' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/fetchnews.c:1335:12: style: Variable 't' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/fetchnews.c:1389:12: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/fetchnews.c:2091:16: style: Variable 't' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/fetchnews.c:2337:12: style: Variable 'nptr' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/fetchnews.c:1556:16: style: Variable 'reply' is assigned a value that is never used. [unreadVariable] leafnode-1.12.0/fetchnews_check_date.c:29:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/filterutil.c:46:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/filterutil.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_ERROR_NOMATCH [valueFlowBailoutIncompleteVar] leafnode-1.12.0/filterutil.c:33:18: style:inconclusive: Function 'readfilter' argument 1 names different: declaration 'filterfile' definition 'fifi'. [funcArgNamesDifferent] leafnode-1.12.0/leafnode.h:184:23: note: Function 'readfilter' argument 1 names different: declaration 'filterfile' definition 'fifi'. leafnode-1.12.0/filterutil.c:33:18: note: Function 'readfilter' argument 1 names different: declaration 'filterfile' definition 'fifi'. leafnode-1.12.0/getaline.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/getfoldedline.c:34:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] leafnode-1.12.0/getfoldedline.c:19:11: style: Variable 'l1' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/getline.c:36:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] leafnode-1.12.0/grouplist.c:55:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/grouplist.c:76:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] leafnode-1.12.0/groupselect.c:20:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_ERROR_NOMEMORY [valueFlowBailoutIncompleteVar] leafnode-1.12.0/groupselect.c:39:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_ZERO_TERMINATED [valueFlowBailoutIncompleteVar] leafnode-1.12.0/groupselect.c:28:34: style:inconclusive: Function 'gs_match' argument 1 names different: declaration 'p' definition 're'. [funcArgNamesDifferent] leafnode-1.12.0/groupselect.h:9:34: note: Function 'gs_match' argument 1 names different: declaration 'p' definition 're'. leafnode-1.12.0/groupselect.c:28:34: note: Function 'gs_match' argument 1 names different: declaration 'p' definition 're'. leafnode-1.12.0/leafnode-version.c:19:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] leafnode-1.12.0/ln_log.c:49:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/ln_log.c:108:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] leafnode-1.12.0/ln_log.c:118:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] leafnode-1.12.0/ln_log.c:128:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] leafnode-1.12.0/ln_log.c:103:12: style:inconclusive: Function 'ln_log' argument 1 names different: declaration 'severity' definition 'sev'. [funcArgNamesDifferent] leafnode-1.12.0/ln_log.h:36:24: note: Function 'ln_log' argument 1 names different: declaration 'severity' definition 'sev'. leafnode-1.12.0/ln_log.c:103:12: note: Function 'ln_log' argument 1 names different: declaration 'severity' definition 'sev'. leafnode-1.12.0/ln_log.c:103:21: style:inconclusive: Function 'ln_log' argument 2 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] leafnode-1.12.0/ln_log.h:36:38: note: Function 'ln_log' argument 2 names different: declaration 'context' definition 'ctx'. leafnode-1.12.0/ln_log.c:103:21: note: Function 'ln_log' argument 2 names different: declaration 'context' definition 'ctx'. leafnode-1.12.0/ln_log.c:113:15: style:inconclusive: Function 'ln_log_so' argument 1 names different: declaration 'severity' definition 'sev'. [funcArgNamesDifferent] leafnode-1.12.0/ln_log.h:43:27: note: Function 'ln_log_so' argument 1 names different: declaration 'severity' definition 'sev'. leafnode-1.12.0/ln_log.c:113:15: note: Function 'ln_log_so' argument 1 names different: declaration 'severity' definition 'sev'. leafnode-1.12.0/ln_log.c:113:24: style:inconclusive: Function 'ln_log_so' argument 2 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] leafnode-1.12.0/ln_log.h:43:41: note: Function 'ln_log_so' argument 2 names different: declaration 'context' definition 'ctx'. leafnode-1.12.0/ln_log.c:113:24: note: Function 'ln_log_so' argument 2 names different: declaration 'context' definition 'ctx'. leafnode-1.12.0/ln_log.c:123:16: style:inconclusive: Function 'ln_log_prt' argument 1 names different: declaration 'severity' definition 'sev'. [funcArgNamesDifferent] leafnode-1.12.0/ln_log.h:50:28: note: Function 'ln_log_prt' argument 1 names different: declaration 'severity' definition 'sev'. leafnode-1.12.0/ln_log.c:123:16: note: Function 'ln_log_prt' argument 1 names different: declaration 'severity' definition 'sev'. leafnode-1.12.0/ln_log.c:123:25: style:inconclusive: Function 'ln_log_prt' argument 2 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] leafnode-1.12.0/ln_log.h:50:42: note: Function 'ln_log_prt' argument 2 names different: declaration 'context' definition 'ctx'. leafnode-1.12.0/ln_log.c:123:25: note: Function 'ln_log_prt' argument 2 names different: declaration 'context' definition 'ctx'. leafnode-1.12.0/ln_log.c:133:16: style:inconclusive: Function 'ln_log_sys' argument 1 names different: declaration 'severity' definition 'sev'. [funcArgNamesDifferent] leafnode-1.12.0/ln_log.h:57:28: note: Function 'ln_log_sys' argument 1 names different: declaration 'severity' definition 'sev'. leafnode-1.12.0/ln_log.c:133:16: note: Function 'ln_log_sys' argument 1 names different: declaration 'severity' definition 'sev'. leafnode-1.12.0/ln_log.c:133:25: style:inconclusive: Function 'ln_log_sys' argument 2 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] leafnode-1.12.0/ln_log.h:57:42: note: Function 'ln_log_sys' argument 2 names different: declaration 'context' definition 'ctx'. leafnode-1.12.0/ln_log.c:133:25: note: Function 'ln_log_sys' argument 2 names different: declaration 'context' definition 'ctx'. leafnode-1.12.0/ln_log.c:87:8: style: Variable 'k' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/lockfile.c:88:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] leafnode-1.12.0/lockfile.c:213:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/lockfile.c:328:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] leafnode-1.12.0/lockfile.c:83:11: style: Variable 'pid' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/log_unlink.c:16:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/lsort.c:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] leafnode-1.12.0/lsort.c:32:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/masock_sa2name.c:79:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] leafnode-1.12.0/masock_sa2name.c:76:7: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] leafnode-1.12.0/masock_sa2name.c:47:24: style:inconclusive: Function 'masock_sa2name' argument 2 names different: declaration 'h_error' definition 'h_e'. [funcArgNamesDifferent] leafnode-1.12.0/masock.h:14:86: note: Function 'masock_sa2name' argument 2 names different: declaration 'h_error' definition 'h_e'. leafnode-1.12.0/masock_sa2name.c:47:24: note: Function 'masock_sa2name' argument 2 names different: declaration 'h_error' definition 'h_e'. leafnode-1.12.0/masock_sa2name.c:50:21: style: Variable 'he' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/mastring.c:234:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/mastring.c:321:20: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] leafnode-1.12.0/mastring.c:328:19: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] leafnode-1.12.0/mgetaline.c:57:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/mgetaline.c:44:5: style: Statements following noreturn function 'siglongjmp()' will never be executed. [unreachableCode] leafnode-1.12.0/miscutil.c:53:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] leafnode-1.12.0/miscutil.c:86:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/miscutil.c:169:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] leafnode-1.12.0/miscutil.c:280:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] leafnode-1.12.0/miscutil.c:299:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CRIT [valueFlowBailoutIncompleteVar] leafnode-1.12.0/miscutil.c:380:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/miscutil.c:533:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/miscutil.c:86:24: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/miscutil.c:175:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] leafnode-1.12.0/miscutil.c:285:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/miscutil.c:398:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] leafnode-1.12.0/miscutil.c:398:36: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] leafnode-1.12.0/miscutil.c:408:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] leafnode-1.12.0/miscutil.c:408:36: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] leafnode-1.12.0/miscutil.c:531:51: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] leafnode-1.12.0/miscutil.c:782:12: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] leafnode-1.12.0/miscutil.c:301:5: style: Statements following noreturn function 'abort()' will never be executed. [unreachableCode] leafnode-1.12.0/miscutil.c:77:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] leafnode-1.12.0/miscutil.c:108:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] leafnode-1.12.0/miscutil.c:457:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] leafnode-1.12.0/miscutil.c:792:42: style:inconclusive: Function 'ngmatch' argument 2 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] leafnode-1.12.0/leafnode.h:307:46: note: Function 'ngmatch' argument 2 names different: declaration 'string' definition 'str'. leafnode-1.12.0/miscutil.c:792:42: note: Function 'ngmatch' argument 2 names different: declaration 'string' definition 'str'. leafnode-1.12.0/miscutil.c:80:17: style: Variable 'de' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/miscutil.c:150:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/miscutil.c:274:20: style: Variable 'de' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/miscutil.c:364:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/miscutil.c:523:21: style: Variable 'he' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/miscutil.c:525:11: style: Variable 'x' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/miscutil.c:576:47: style: Parameter 'needle' can be declared as pointer to const [constParameterPointer] leafnode-1.12.0/miscutil.c:594:49: style: Parameter 'needle' can be declared as pointer to const [constParameterPointer] leafnode-1.12.0/mkstemp.c:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] leafnode-1.12.0/mkstemp.c:31:10: style: Variable 'use' can be declared as const array [constVariable] leafnode-1.12.0/mysigact.c:14:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_NOCLDSTOP [valueFlowBailoutIncompleteVar] leafnode-1.12.0/newsq.c:62:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] leafnode-1.12.0/newsq.c:72:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/newsq.c:57:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] leafnode-1.12.0/newsq.c:59:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] leafnode-1.12.0/nntpd.c:278:42: error: There is an unknown macro here somewhere. Configuration is required. If NEWS_USER is a macro then please configure it. [unknownMacro] leafnode-1.12.0/nntpd_dodate.c:13:7: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] leafnode-1.12.0/nntpd_dodate.c:12:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/nntputil.c:67:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] leafnode-1.12.0/nntputil.c:81:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/nntputil.c:115:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/nntputil.c:198:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/nntputil.c:420:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] leafnode-1.12.0/nntputil.c:336:7: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] leafnode-1.12.0/nntputil.c:376:10: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] leafnode-1.12.0/pcre_extract.c:59:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_CASELESS [valueFlowBailoutIncompleteVar] leafnode-1.12.0/pcre_extract.c:60:17: style: Variable 'ovec' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/quickmkdir.c:53:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEWS_USER [valueFlowBailoutIncompleteVar] leafnode-1.12.0/quickmkdir.c:53:16: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] leafnode-1.12.0/quickmkdir.c:58:16: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] leafnode-1.12.0/quickmkdir.c:46:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/quickmkdir.c:47:19: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/snprintf.c:105:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/snprintf.c:84:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/syslog.c:30:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PID [valueFlowBailoutIncompleteVar] leafnode-1.12.0/test1.c:33:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] leafnode-1.12.0/test1.c:32:11: style: Variable 'c' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/testgen.c:39:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] leafnode-1.12.0/texpire.c:112:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] leafnode-1.12.0/texpire.c:233:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/texpire.c:483:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] leafnode-1.12.0/texpire.c:509:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] leafnode-1.12.0/texpire.c:596:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/texpire.c:699:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] leafnode-1.12.0/texpire.c:204:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/texpire.c:299:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/texpire.c:612:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/texpire.c:266:20: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] leafnode-1.12.0/texpire.c:264:13: note: Assuming that condition 'p' is not redundant leafnode-1.12.0/texpire.c:266:20: note: Null pointer dereference leafnode-1.12.0/texpire.c:567:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] leafnode-1.12.0/timegm.c:50:20: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] leafnode-1.12.0/validatefqdn.c:119:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] leafnode-1.12.0/validatefqdn.c:66:30: style:inconclusive: Function 'is_validfqdn' argument 1 names different: declaration 'fqdn' definition 'f'. [funcArgNamesDifferent] leafnode-1.12.0/validatefqdn.h:5:30: note: Function 'is_validfqdn' argument 1 names different: declaration 'fqdn' definition 'f'. leafnode-1.12.0/validatefqdn.c:66:30: note: Function 'is_validfqdn' argument 1 names different: declaration 'fqdn' definition 'f'. leafnode-1.12.0/validatefqdn.c:68:11: style: Local variable 'fqdn' shadows outer variable [shadowVariable] leafnode-1.12.0/leafnode.h:289:13: note: Shadowed declaration leafnode-1.12.0/validatefqdn.c:68:11: note: Shadow variable leafnode-1.12.0/wildmat.c:87:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] leafnode-1.12.0/xoverutil.c:389:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] leafnode-1.12.0/xoverutil.c:467:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] leafnode-1.12.0/xoverutil.c:441:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/xoverutil.c:560:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/xoverutil.c:700:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] leafnode-1.12.0/xoverutil.c:82:18: style: Condition '!l' is always false [knownConditionTrueFalse] leafnode-1.12.0/xoverutil.c:84:17: style: Condition '!body' is always true [knownConditionTrueFalse] leafnode-1.12.0/xoverutil.c:82:10: note: Assuming that condition 'body' is not redundant leafnode-1.12.0/xoverutil.c:84:17: note: Condition '!body' is always true leafnode-1.12.0/xoverutil.c:513:14: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] leafnode-1.12.0/xoverutil.c:511:10: note: Assuming that condition 'p' is not redundant leafnode-1.12.0/xoverutil.c:513:14: note: Null pointer dereference leafnode-1.12.0/xoverutil.c:206:48: style:inconclusive: Function 'legalxoverline' argument 2 names different: declaration 'errmsg' definition 'e'. [funcArgNamesDifferent] leafnode-1.12.0/leafnode.h:388:62: note: Function 'legalxoverline' argument 2 names different: declaration 'errmsg' definition 'e'. leafnode-1.12.0/xoverutil.c:206:48: note: Function 'legalxoverline' argument 2 names different: declaration 'errmsg' definition 'e'. leafnode-1.12.0/xoverutil.c:523:10: style: Local variable 'tt' shadows outer variable [shadowVariable] leafnode-1.12.0/xoverutil.c:425:11: note: Shadowed declaration leafnode-1.12.0/xoverutil.c:523:10: note: Shadow variable leafnode-1.12.0/xoverutil.c:523:28: style: Local variable 's_tt' shadows outer variable [shadowVariable] leafnode-1.12.0/xoverutil.c:425:29: note: Shadowed declaration leafnode-1.12.0/xoverutil.c:523:28: note: Shadow variable leafnode-1.12.0/xoverutil.c:539:13: style: Local variable 'tt' shadows outer variable [shadowVariable] leafnode-1.12.0/xoverutil.c:425:11: note: Shadowed declaration leafnode-1.12.0/xoverutil.c:539:13: note: Shadow variable leafnode-1.12.0/xoverutil.c:539:31: style: Local variable 's_tt' shadows outer variable [shadowVariable] leafnode-1.12.0/xoverutil.c:425:29: note: Shadowed declaration leafnode-1.12.0/xoverutil.c:539:31: note: Shadow variable leafnode-1.12.0/xoverutil.c:690:20: style: Variable 'de' can be declared as pointer to const [constVariablePointer] leafnode-1.12.0/xsnprintf.c:14:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] leafnode-1.12.0/critmem.c:96:35: warning: Null pointer dereference: source [ctunullpointer] leafnode-1.12.0/artutil.c:47:13: note: Assuming that condition 'q' is not redundant leafnode-1.12.0/artutil.c:49:22: note: Calling function critstrdup, 1st argument is null leafnode-1.12.0/critmem.c:96:35: note: Dereferencing argument source that is null diff: head leafnode-1.12.0/fetchnews.c:757:34: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] head leafnode-1.12.0/miscutil.c:398:36: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] head leafnode-1.12.0/miscutil.c:408:36: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] DONE