2024-04-22 12:10 ftp://ftp.de.debian.org/debian/pool/main/t/tacacs+/tacacs+_4.0.4.27a.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.14.0 head-info: ea2e716 (2024-04-21 15:59:20 +0200) count: 204 204 elapsed-time: 1.0 1.0 head-timing-info: old-timing-info: head results: tacacs+-F4.0.4.27a/aceclnt_fn.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACM_OK [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/aceclnt_fn.c:109:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDI_HANDLE_NONE [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/acct.c:38:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/author.c:43:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/authen.c:43:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/authen.c:87:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/authen.c:202:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/authen.c:311:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/aceclnt_fn.c:179:22: warning: Either the condition '!passwd' is redundant or there is possible null pointer dereference: passwd. [nullPointerRedundantCheck] tacacs+-F4.0.4.27a/aceclnt_fn.c:179:10: note: Assuming that condition '!passwd' is not redundant tacacs+-F4.0.4.27a/aceclnt_fn.c:179:22: note: Null pointer dereference tacacs+-F4.0.4.27a/aceclnt_fn.c:45:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/choose_authen.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/choose_authen.c:124:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/choose_authen.c:273:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/choose_authen.c:316:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/acct.c:125:28: style: Checking if unsigned expression 'acct_pak->port_len' is less than zero. [unsignedLessThanZero] tacacs+-F4.0.4.27a/acct.c:32:18: style: Variable 'acct_pak' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/acct.c:33:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/acct.c:34:10: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/acct.c:86:18: style: Variable 'acct_pak' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/acct.c:87:17: style: Variable 'argsizep' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/author.c:113:24: style: Checking if unsigned expression 'apak->port_len' is less than zero. [unsignedLessThanZero] tacacs+-F4.0.4.27a/default_v0_fn.c:82:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/default_fn.c:99:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/default_fn.c:238:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/default_fn.c:315:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/default_fn.c:350:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/default_fn.c:471:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/authen.c:111:25: style: Checking if unsigned expression 'start->port_len' is less than zero. [unsignedLessThanZero] tacacs+-F4.0.4.27a/authen.c:35:26: style: Variable 'start' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/authen.c:36:10: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/authen.c:82:26: style: Variable 'start' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/authen.c:194:25: style: Variable 'cont' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/default_v0_fn.c:141:9: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] tacacs+-F4.0.4.27a/default_v0_fn.c:147:6: note: Assuming that condition 'name' is not redundant tacacs+-F4.0.4.27a/default_v0_fn.c:141:9: note: Null pointer dereference tacacs+-F4.0.4.27a/do_acct.c:244:0: error: #error "unknown utmp time field" [preprocessorErrorDirective] tacacs+-F4.0.4.27a/dump.c:102:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/dump.c:137:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/dump.c:444:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/default_fn.c:95:9: warning: Either the condition 'name!=NULL' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] tacacs+-F4.0.4.27a/default_fn.c:101:12: note: Assuming that condition 'name!=NULL' is not redundant tacacs+-F4.0.4.27a/default_fn.c:95:9: note: Null pointer dereference tacacs+-F4.0.4.27a/config.c:332:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:383:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:399:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:425:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:460:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:960:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_AUTH [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1321:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1428:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1491:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1502:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1553:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1641:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1753:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1800:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1823:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1896:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1951:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1983:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:1996:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:2009:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:2025:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:2237:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:2340:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/config.c:2482:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/default_fn.c:342:27: style: Variable 'chal' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/default_fn.c:465:42: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/do_author.c:67:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/enable.c:47:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/do_author.c:182:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/enable.c:209:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/do_author.c:291:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/do_author.c:422:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/do_author.c:485:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/do_author.c:653:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/do_author.c:683:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/do_author.c:729:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/dump.c:29:26: style: Local variable 'authen' shadows outer function [shadowFunction] tacacs+-F4.0.4.27a/tac_plus.h:320:6: note: Shadowed declaration tacacs+-F4.0.4.27a/dump.c:29:26: note: Shadow variable tacacs+-F4.0.4.27a/dump.c:30:26: style: Local variable 'author' shadows outer function [shadowFunction] tacacs+-F4.0.4.27a/tac_plus.h:323:6: note: Shadowed declaration tacacs+-F4.0.4.27a/dump.c:30:26: note: Shadow variable tacacs+-F4.0.4.27a/dump.c:124:20: style: Local variable 'author' shadows outer function [shadowFunction] tacacs+-F4.0.4.27a/tac_plus.h:323:6: note: Shadowed declaration tacacs+-F4.0.4.27a/dump.c:124:20: note: Shadow variable tacacs+-F4.0.4.27a/dump.c:430:26: style: Local variable 'authen' shadows outer function [shadowFunction] tacacs+-F4.0.4.27a/tac_plus.h:320:6: note: Shadowed declaration tacacs+-F4.0.4.27a/dump.c:430:26: note: Shadow variable tacacs+-F4.0.4.27a/dump.c:431:26: style: Local variable 'author' shadows outer function [shadowFunction] tacacs+-F4.0.4.27a/tac_plus.h:323:6: note: Shadowed declaration tacacs+-F4.0.4.27a/dump.c:431:26: note: Shadow variable tacacs+-F4.0.4.27a/dump.c:28:10: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/dump.c:29:26: style: Variable 'authen' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/dump.c:30:26: style: Variable 'author' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/dump.c:434:17: style: Variable 'argsizep' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/dump.c:537:10: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/encrypt.c:113:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/expire.c:70:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] tacacs+-F4.0.4.27a/encrypt.c:39:39: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/encrypt.c:40:11: style: Parameter 'prev_hash' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/expire.c:57:24: style: Parameter 'date' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/encrypt.c:67:6: style: Variable 'mdp' is assigned a value that is never used. [unreadVariable] tacacs+-F4.0.4.27a/do_author.c:371:21: style: Variable 'v' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/do_author.c:672:32: style: Parameter 'protocol' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/hash.c:34:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/maxsess.c:43:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/maxsess.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/maxsess.c:86:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/maxsess.c:106:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/maxsess.c:151:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/maxsess.c:270:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/maxsess.c:360:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/maxsess.c:546:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/maxsessint.c:39:16: style: Parameter 'portname' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/config.c:2047:11: style: Variable 'user' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/config.c:223:17: style: union member 'hash::u' is never used. [unusedStructMember] tacacs+-F4.0.4.27a/config.c:227:17: style: union member 'hash::h' is never used. [unusedStructMember] tacacs+-F4.0.4.27a/maxsess.c:366:2: error: Memory leak: res [memleak] tacacs+-F4.0.4.27a/maxsess.c:114:36: style: Checking if unsigned expression 'fread(&pu,sizeof(pu),1,fp)' is less than zero. [unsignedLessThanZero] tacacs+-F4.0.4.27a/maxsess.c:83:42: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/maxsess.c:144:11: style: Variable 'nasport' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/maxsess.c:235:8: style: Variable 'avpair' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/maxsess.c:356:11: style: Variable 'curport' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/maxsess.c:357:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/md4.c:264:38: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/parse.c:50:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/parse.c:41:14: style: Variable 'n' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/packet.c:48:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/packet.c:96:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/packet.c:212:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/packet.c:233:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/packet.c:284:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/packet.c:367:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/packet.c:398:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/packet.c:418:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/packet.c:488:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLOUT [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/packet.c:555:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/programs.c:131:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/programs.c:207:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/programs.c:233:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/programs.c:291:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/programs.c:431:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/programs.c:504:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/md5.c:315:41: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/md5.c:332:41: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/packet.c:209:15: warning: Possible null pointer dereference: data [nullPointer] tacacs+-F4.0.4.27a/packet.c:394:51: note: Calling function 'send_acct_reply', 3rd argument 'NULL' value is 0 tacacs+-F4.0.4.27a/packet.c:209:15: note: Null pointer dereference tacacs+-F4.0.4.27a/packet.c:281:15: warning: Possible null pointer dereference: data [nullPointer] tacacs+-F4.0.4.27a/packet.c:239:71: note: Calling function 'send_authen_reply', 4th argument 'NULL' value is 0 tacacs+-F4.0.4.27a/packet.c:281:15: note: Null pointer dereference tacacs+-F4.0.4.27a/packet.c:355:15: warning: Possible null pointer dereference: data [nullPointer] tacacs+-F4.0.4.27a/packet.c:390:46: note: Calling function 'send_author_reply', 3rd argument 'NULL' value is 0 tacacs+-F4.0.4.27a/packet.c:355:15: note: Null pointer dereference tacacs+-F4.0.4.27a/packet.c:45:10: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/packet.c:172:38: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/packet.c:172:49: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/packet.c:231:25: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/packet.c:245:37: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/packet.c:245:65: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/packet.c:300:40: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/packet.c:300:51: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/pw.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/programs.c:66:14: style: Parameter 'sym' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/programs.c:128:19: style: Variable 'valuep' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/pwlib.c:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/pwlib.c:175:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/pwlib.c:244:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/pwlib.c:401:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/pwlib.c:444:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/report.c:187:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/pw.c:34:25: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/pw.c:44:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/pwlib.c:315:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] tacacs+-F4.0.4.27a/pwlib.c:455:18: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] tacacs+-F4.0.4.27a/pwlib.c:400:18: warning: Either the condition 'filename' is redundant or there is possible null pointer dereference: filename. [nullPointerRedundantCheck] tacacs+-F4.0.4.27a/pwlib.c:395:9: note: Assuming that condition 'filename' is not redundant tacacs+-F4.0.4.27a/pwlib.c:400:18: note: Null pointer dereference tacacs+-F4.0.4.27a/pwlib.c:302:30: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/sendauth.c:70:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_INFO [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/sendauth.c:101:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/sendauth.c:150:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/sendauth.c:184:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/sendpass.c:37:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/sendpass.c:87:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/sendpass.c:43:9: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] tacacs+-F4.0.4.27a/sendpass.c:52:9: note: Assuming that condition 'name' is not redundant tacacs+-F4.0.4.27a/sendpass.c:43:9: note: Null pointer dereference tacacs+-F4.0.4.27a/sendauth.c:42:9: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] tacacs+-F4.0.4.27a/sendauth.c:72:9: note: Assuming that condition 'name' is not redundant tacacs+-F4.0.4.27a/sendauth.c:42:9: note: Null pointer dereference tacacs+-F4.0.4.27a/sendauth.c:174:27: style: Variable 'chal' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/skey_fn.c:109:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_pwd.c:151:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_pwd.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/skey_fn.c:160:22: warning: Either the condition '!passwd' is redundant or there is possible null pointer dereference: passwd. [nullPointerRedundantCheck] tacacs+-F4.0.4.27a/skey_fn.c:160:10: note: Assuming that condition '!passwd' is not redundant tacacs+-F4.0.4.27a/skey_fn.c:160:22: note: Null pointer dereference tacacs+-F4.0.4.27a/tac_plus.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_plus.c:94:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_plus.c:122:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_plus.c:163:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_plus.c:260:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PID [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_plus.c:296:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_plus.c:701:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _NFILE [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_plus.c:752:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_plus.c:798:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_plus.c:825:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/utils.c:37:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/utils.c:56:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/utils.c:66:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/utils.c:76:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/utils.c:142:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/utils.c:222:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] tacacs+-F4.0.4.27a/tac_pwd.c:131:5: warning:inconclusive: The buffer 'hash' may not be null-terminated after the call to strncpy(). [terminateStrncpy] tacacs+-F4.0.4.27a/tac_pwd.c:118:12: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] tacacs+-F4.0.4.27a/tac_pwd.c:131:19: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] tacacs+-F4.0.4.27a/tac_pwd.c:111:14: style: Parameter 'passwd' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/tac_pwd.c:122:14: style: Parameter 'passwd' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/tac_pwd.c:142:12: style: Variable 'result' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/tac_pwd.c:145:12: style: Variable 'prompt' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/utils.c:190:6: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tacacs+-F4.0.4.27a/utils.c:71:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/utils.c:83:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/utils.c:107:26: style: Parameter 'substring' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/fdes.c:54:32: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] tacacs+-F4.0.4.27a/tac_plus.c:210:7: style: Variable 'flag' is reassigned a value before the old one has been used. [redundantAssignment] tacacs+-F4.0.4.27a/tac_plus.c:197:7: note: flag is assigned tacacs+-F4.0.4.27a/tac_plus.c:210:7: note: flag is overwritten tacacs+-F4.0.4.27a/tac_plus.c:709:10: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] tacacs+-F4.0.4.27a/tac_plus.c:615:6: warning: Uninitialized variable: newsockfd [uninitvar] tacacs+-F4.0.4.27a/tac_plus.c:606:16: note: Assuming condition is false tacacs+-F4.0.4.27a/tac_plus.c:615:6: note: Uninitialized variable: newsockfd tacacs+-F4.0.4.27a/tac_plus.c:165:12: style: Unused variable: inaddr [unusedVariable] diff: DONE