2024-03-25 02:18 ftp://ftp.de.debian.org/debian/pool/main/p/pam-ssh-agent-auth/pam-ssh-agent-auth_0.10.3.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.5.0-25-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.55 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 cppcheck: head 2.13.0 head-info: 51f8b53 (2024-03-24 16:07:43 +0100) count: 136 114 elapsed-time: 16.9 12.9 head-timing-info: old-timing-info: head results: pam_ssh_agent_auth-0.10.3/defines.h:159:0: error: #error "8 bit int type not found." [preprocessorErrorDirective] pam_ssh_agent_auth-0.10.3/ed25519-donna/ed25519-randombytes.h:86:47: style:inconclusive: Function 'ed25519_randombytes_unsafe' argument 1 names different: declaration 'out' definition 'p'. [funcArgNamesDifferent] pam_ssh_agent_auth-0.10.3/ed25519-donna/ed25519.h:22:39: note: Function 'ed25519_randombytes_unsafe' argument 1 names different: declaration 'out' definition 'p'. pam_ssh_agent_auth-0.10.3/ed25519-donna/ed25519-randombytes.h:86:47: note: Function 'ed25519_randombytes_unsafe' argument 1 names different: declaration 'out' definition 'p'. pam_ssh_agent_auth-0.10.3/ed25519-donna/ed25519-randombytes.h:86:57: style:inconclusive: Function 'ed25519_randombytes_unsafe' argument 2 names different: declaration 'count' definition 'len'. [funcArgNamesDifferent] pam_ssh_agent_auth-0.10.3/ed25519-donna/ed25519.h:22:51: note: Function 'ed25519_randombytes_unsafe' argument 2 names different: declaration 'count' definition 'len'. pam_ssh_agent_auth-0.10.3/ed25519-donna/ed25519-randombytes.h:86:57: note: Function 'ed25519_randombytes_unsafe' argument 2 names different: declaration 'count' definition 'len'. pam_ssh_agent_auth-0.10.3/ed25519-donna/ed25519-donna-batchverify.h:107:61: style: Parameter 'point' can be declared as pointer to const [constParameterPointer] pam_ssh_agent_auth-0.10.3/ed25519-donna/modm-donna-32bit.h:320:25: style: Variable 'v' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4003:7: style: Variable 's23' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4011:7: style: Variable 's22' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4019:7: style: Variable 's21' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4027:7: style: Variable 's20' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4035:7: style: Variable 's19' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4043:7: style: Variable 's18' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4064:7: style: Variable 's17' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4072:7: style: Variable 's16' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4080:7: style: Variable 's15' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4088:7: style: Variable 's14' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4096:7: style: Variable 's13' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4147:7: style: Variable 's12' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4348:7: style: Variable 's23' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4356:7: style: Variable 's22' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4364:7: style: Variable 's21' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4372:7: style: Variable 's20' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4380:7: style: Variable 's19' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4388:7: style: Variable 's18' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4409:7: style: Variable 's17' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4417:7: style: Variable 's16' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4425:7: style: Variable 's15' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4433:7: style: Variable 's14' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4441:7: style: Variable 's13' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/ed25519-ref10.c:4492:7: style: Variable 's12' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/fuzz-curve25519.c:79:2: error: Resource leak: f [resourceLeak] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/fuzz-ed25519.c:78:2: error: Resource leak: f [resourceLeak] pam_ssh_agent_auth-0.10.3/ed25519-donna/fuzz/fuzz-ed25519.c:151:24: style: Unused variable: j [unusedVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/test-internals.c:50:30: style: Unused variable: c [unusedVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/test-internals.c:51:9: style: Unused variable: i [unusedVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/test-internals.c:122:30: style: Unused variable: c [unusedVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/test-internals.c:123:9: style: Unused variable: i [unusedVariable] pam_ssh_agent_auth-0.10.3/ed25519-donna/test-ticks.h:35:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/base64.c:201:8: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/basename.c:29:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-asprintf.c:82:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-asprintf.c:50:2: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-misc.c:165:3: error: There is an unknown macro here somewhere. Configuration is required. If TIMEVAL_TO_TIMESPEC is a macro then please configure it. [unknownMacro] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-openpty.c:192:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-poll.c:48:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-poll.c:48:7: error: Uninitialized variable: fd [uninitvar] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:220:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:493:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:570:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:779:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:464:19: style: Condition 'maxlen>0' is always true [knownConditionTrueFalse] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:461:13: note: Assuming that condition 'maxlen!=0' is not redundant pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:464:19: note: Condition 'maxlen>0' is always true pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:747:5: style: Condition 'caps' is always false [knownConditionTrueFalse] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:684:13: note: Assignment 'caps=0', assigned value is 0 pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:747:5: note: Condition 'caps' is always false pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:449:7: style: Variable 'ch' is reassigned a value before the old one has been used. [redundantAssignment] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:443:8: note: ch is assigned pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:449:7: note: ch is overwritten pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:499:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:499:9: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:204:2: error: va_list 'args' used before va_start() was called. [va_list_usedBeforeStarted] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-waitpid.c:40:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/dirname.c:31:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:57:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAI_MEMORY [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:124:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:174:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AI_PASSIVE [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:68:9: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:168:18: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:202:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:208:20: style: Local variable 'in' shadows outer variable [shadowVariable] pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:156:17: note: Shadowed declaration pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:208:20: note: Shadow variable pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:50:22: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:155:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:208:20: style: Variable 'in' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:206:7: style: Variable 'cur' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/openbsd-compat/getcwd.c:75:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/getcwd.c:162:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] pam_ssh_agent_auth-0.10.3/openbsd-compat/getcwd.c:169:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] pam_ssh_agent_auth-0.10.3/openbsd-compat/getcwd.c:54:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/getcwd.c:65:14: style: Variable 'eup' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/getgrouplist.c:70:16: portability: Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'. [prohibitedgetgrentCalled] pam_ssh_agent_auth-0.10.3/openbsd-compat/getgrouplist.c:48:16: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/getopt.c:93:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/getrrsetbyname.c:219:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RES_INIT [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/getrrsetbyname.c:452:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/getrrsetbyname.c:499:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/getrrsetbyname.c:123:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pam_ssh_agent_auth-0.10.3/openbsd-compat/getrrsetbyname.c:137:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pam_ssh_agent_auth-0.10.3/openbsd-compat/getrrsetbyname.c:190:22: style: Variable '_resp' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/getrrsetbyname.c:123:2: style: Variable 'msgp' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/openbsd-compat/getrrsetbyname.c:137:2: style: Variable 'msgp' is assigned a value that is never used. [unreadVariable] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:171:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:243:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:350:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_TILDE [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:415:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:506:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:539:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_MARK [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:589:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:689:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOSPACE [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:793:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:811:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:823:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:375:15: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:384:14: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:225:7: style: Condition '!globexp2(ptr,pattern,pglob,&rv)' is always true [knownConditionTrueFalse] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:225:16: note: Calling function 'globexp2' returns 0 pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:225:7: note: Condition '!globexp2(ptr,pattern,pglob,&rv)' is always true pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:343:73: style: Parameter 'pglob' can be declared as pointer to const [constParameterPointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:345:17: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:624:11: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:791:17: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:809:15: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:821:14: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntoa.c:54:8: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntoa.c:54:8: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntoa.c:54:8: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntoa.c:54:8: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntoa.c:50:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntop.c:68:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntop.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntop.c:204:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntop.c:118:13: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/mktemp.c:85:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/mktemp.c:79:31: style: Variable 'suffp' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/realpath.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/regress/closefromtest.c:30:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/regress/closefromtest.c:41:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/regress/closefromtest.c:28:12: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/regress/snprintftest.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/regress/snprintftest.c:72:2: error: Memory leak: src [memleak] pam_ssh_agent_auth-0.10.3/openbsd-compat/regress/strtonumtest.c:48:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/regress/strtonumtest.c:58:26: style: Parameter 'argv' can be declared as const array [constParameter] pam_ssh_agent_auth-0.10.3/openbsd-compat/rresvport.c:70:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/setenv.c:52:16: style: Local variable 'environ' shadows outer variable [shadowVariable] pam_ssh_agent_auth-0.10.3/openbsd-compat/setenv.c:39:15: note: Shadowed declaration pam_ssh_agent_auth-0.10.3/openbsd-compat/setenv.c:52:16: note: Shadow variable pam_ssh_agent_auth-0.10.3/openbsd-compat/setproctitle.c:66:42: style: Parameter 'argv' can be declared as const array [constParameter] pam_ssh_agent_auth-0.10.3/openbsd-compat/strmode.c:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/strtoll.c:126:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/strtonum.c:45:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/strtoul.c:95:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pam_ssh_agent_auth-0.10.3/openbsd-compat/vis.c:157:8: style: Variable 'start' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/vis.c:168:16: style: Variable 'end' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/vis.c:213:8: style: Variable 'start' can be declared as pointer to const [constVariablePointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/xcrypt.c:78:19: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] pam_ssh_agent_auth-0.10.3/openbsd-compat/xcrypt.c:90:26: style: Parameter 'pw' can be declared as pointer to const [constParameterPointer] pam_ssh_agent_auth-0.10.3/openbsd-compat/xmmap.c:84:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] diff: head pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:493:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:570:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.13.0 pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:762:5: style: Condition 'caps' is always false [knownConditionTrueFalse] pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:684:13: note: Assignment 'caps=0', assigned value is 0 pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:762:5: note: Condition 'caps' is always false head pam_ssh_agent_auth-0.10.3/openbsd-compat/bsd-snprintf.c:779:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:124:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/fake-rfc2553.c:174:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AI_PASSIVE [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/getrrsetbyname.c:452:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/getrrsetbyname.c:499:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDNAME [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:243:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:350:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_TILDE [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:415:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:506:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:539:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_MARK [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:589:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:689:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOSPACE [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:793:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:811:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/glob.c:823:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntoa.c:50:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntop.c:204:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/inet_ntop.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/regress/closefromtest.c:41:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] head pam_ssh_agent_auth-0.10.3/openbsd-compat/regress/strtonumtest.c:58:26: style: Parameter 'argv' can be declared as const array [constParameter] head pam_ssh_agent_auth-0.10.3/openbsd-compat/setproctitle.c:66:42: style: Parameter 'argv' can be declared as const array [constParameter] DONE