2024-03-27 21:04 ftp://ftp.de.debian.org/debian/pool/main/libc/libcap2/libcap2_2.66.orig.tar.xz 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 -j2 platform: Linux-6.5.0-26-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: 98951f58 (2024-03-27 21:50:05 +0100) count: 141 71 elapsed-time: 12.5 6.1 head-timing-info: old-timing-info: head results: libcap-2.66/contrib/bug400591/bug.c:18:16: warning: Assert statement modifies 'caps'. [assignmentInAssert] libcap-2.66/contrib/capso/bind.c:25:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/capso/capso.c:58:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/capso/capso.c:146:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iovec [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/capso/capso.c:225:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_NET_BIND_SERVICE [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/capso/capso.c:101:10: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libcap-2.66/contrib/sucap/su.c:120:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:151:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:184:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:203:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:230:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:278:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_CHOWN [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:320:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_CHOWN [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:366:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:385:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:443:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:465:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:494:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:734:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:759:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:822:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:845:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:862:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INIT_PROCESS [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:878:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_LINESIZE [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:933:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:1009:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_LINESIZE [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:1087:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_LINESIZE [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:1150:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_USER [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:1171:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_TTY [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:1191:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_SETGID [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:1314:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:1328:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:1375:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SYSTEM_ERR [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:1446:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/contrib/sucap/su.c:1471:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_INHERITABLE [valueFlowBailoutIncompleteVar] libcap-2.66/libcap/_makenames.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/libcap/libcap.h:40:0: error: #error Kernel does not support library [preprocessorErrorDirective] libcap-2.66/contrib/sucap/su.c:675:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.66/contrib/sucap/su.c:687:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.66/contrib/sucap/su.c:778:25: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] libcap-2.66/contrib/sucap/su.c:788:22: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] libcap-2.66/contrib/sucap/su.c:1059:20: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] libcap-2.66/contrib/sucap/su.c:1211:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] libcap-2.66/contrib/sucap/su.c:687:25: style: Variable 'tmp' is reassigned a value before the old one has been used. [redundantAssignment] libcap-2.66/contrib/sucap/su.c:675:17: note: tmp is assigned libcap-2.66/contrib/sucap/su.c:687:25: note: tmp is overwritten libcap-2.66/contrib/sucap/su.c:393:48: style: Parameter 'argv' can be declared as const array [constParameter] libcap-2.66/contrib/sucap/su.c:919:36: style: Parameter 'u_tmp_p' can be declared as pointer to const [constParameterPointer] libcap-2.66/contrib/sucap/su.c:1056:22: style: Variable 'hptr' can be declared as pointer to const [constVariablePointer] libcap-2.66/contrib/sucap/su.c:889:30: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] libcap-2.66/libcap/execable.c:45:49: error: There is an unknown macro here somewhere. Configuration is required. If LIBRARY_VERSION is a macro then please configure it. [unknownMacro] libcap-2.66/libcap/psx_exec.c:10:49: error: There is an unknown macro here somewhere. Configuration is required. If LIBRARY_VERSION is a macro then please configure it. [unknownMacro] libcap-2.66/pam_cap/execable.c:27:17: error: There is an unknown macro here somewhere. Configuration is required. If LIBCAP_VERSION is a macro then please configure it. [unknownMacro] libcap-2.66/pam_cap/pam_cap.c:55:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NGROUPS_MAX [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/pam_cap.c:197:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_DATA_REPLACE [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/pam_cap.c:249:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/pam_cap.c:333:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CONS [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/pam_cap.c:360:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/pam_cap.c:380:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_CONV_AGAIN [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/pam_cap.c:436:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_ESTABLISH_CRED [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/test.c:7:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/test_pam_cap.c:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_CONV_AGAIN [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/test_pam_cap.c:46:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_USER [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/test_pam_cap.c:58:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/test_pam_cap.c:86:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/test_pam_cap.c:128:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_INHERITABLE [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/test_pam_cap.c:249:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_INHERITABLE [valueFlowBailoutIncompleteVar] libcap-2.66/pam_cap/pam_cap.c:61:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] libcap-2.66/pam_cap/pam_cap.c:77:26: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] libcap-2.66/pam_cap/test_pam_cap.c:55:11: style: Parameter 'cleanup' can be declared as pointer to const [constParameterPointer] libcap-2.66/pam_cap/test_pam_cap.c:185:16: style: Variable 'v' can be declared as pointer to const [constVariablePointer] libcap-2.66/pam_cap/pam_cap.c:54:20: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] libcap-2.66/pam_cap/test_pam_cap.c:293:12: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcap-2.66/progs/getcap.c:28:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/getcap.c:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTW_F [valueFlowBailoutIncompleteVar] libcap-2.66/progs/getcap.c:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] libcap-2.66/progs/getpcaps.c:16:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/getpcaps.c:68:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.66/progs/capsh.c:64:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/capsh.c:164:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap_get_bound [valueFlowBailoutIncompleteVar] libcap-2.66/progs/capsh.c:241:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_SET [valueFlowBailoutIncompleteVar] libcap-2.66/progs/capsh.c:292:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/capsh.c:352:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/capsh.c:409:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/capsh.c:449:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/capsh.c:491:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/capsh.c:538:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/old/execcap.c:20:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/old/execcap.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/old/setpcaps.c:18:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/old/setpcaps.c:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/old/setpcaps.c:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/old/sucap.c:27:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/old/sucap.c:46:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.66/progs/old/sucap.c:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/old/sucap.c:72:22: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] libcap-2.66/progs/old/sucap.c:82:21: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] libcap-2.66/progs/old/sucap.c:72:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] libcap-2.66/progs/old/sucap.c:82:16: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] libcap-2.66/progs/setcap.c:16:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/setcap.c:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/setcap.c:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/setcap.c:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/progs/setcap.c:250:7: style: Variable 'explained' is assigned a value that is never used. [unreadVariable] libcap-2.66/progs/setcap.c:252:7: style: Variable 'somebits' is assigned a value that is never used. [unreadVariable] libcap-2.66/psx/psx.c:155:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SI_TKILL [valueFlowBailoutIncompleteVar] libcap-2.66/psx/psx.c:227:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] libcap-2.66/psx/psx.c:421:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] libcap-2.66/psx/psx.c:468:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] libcap-2.66/psx/psx.c:505:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] libcap-2.66/psx/psx.c:590:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.66/psx/psx.c:758:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.66/tests/exploit.c:134:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] libcap-2.66/tests/libcap_launch_test.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable args [valueFlowBailoutIncompleteVar] libcap-2.66/tests/libcap_psx_test.c:33:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.66/tests/libcap_psx_test.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libcap-2.66/tests/libcap_psx_test.c:16:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libcap-2.66/tests/libcap_psx_test.c:61:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libcap-2.66/tests/noop.c:3:26: style: Parameter 'argv' can be declared as const array [constParameter] libcap-2.66/tests/psx_test.c:23:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_KEEPCAPS [valueFlowBailoutIncompleteVar] libcap-2.66/tests/psx_test.c:81:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libcap-2.66/tests/psx_test.c:114:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libcap-2.66/tests/uns_test.c:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.66/tests/uns_test.c:63:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_SETFCAP [valueFlowBailoutIncompleteVar] libcap-2.66/tests/uns_test.c:27:21: style: Variable 'fdsp' can be declared as pointer to const [constVariablePointer] libcap-2.66/progs/capsh.c:200:9: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] libcap-2.66/progs/capsh.c:202:10: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] libcap-2.66/progs/capsh.c:205:9: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] libcap-2.66/progs/capsh.c:211:6: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] libcap-2.66/progs/capsh.c:308:30: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.66/progs/capsh.c:368:30: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.66/progs/capsh.c:425:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.66/progs/capsh.c:865:35: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.66/progs/capsh.c:895:12: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] libcap-2.66/progs/capsh.c:806:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libcap-2.66/progs/capsh.c:1062:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libcap-2.66/progs/capsh.c:1071:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libcap-2.66/progs/capsh.c:158:19: style: Variable 'g' can be declared as pointer to const [constVariablePointer] libcap-2.66/progs/capsh.c:161:20: style: Variable 'u' can be declared as pointer to const [constVariablePointer] libcap-2.66/progs/capsh.c:161:24: style: Variable 'eu' can be declared as pointer to const [constVariablePointer] libcap-2.66/progs/capsh.c:399:30: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] libcap-2.66/progs/capsh.c:1132:9: style: Variable 'match' can be declared as pointer to const [constVariablePointer] libcap-2.66/progs/capsh.c:634:22: style: Variable 'raised_for_setpcap' is assigned a value that is never used. [unreadVariable] diff: head libcap-2.66/contrib/capso/capso.c:146:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iovec [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/capso/capso.c:225:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_NET_BIND_SERVICE [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:1009:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_LINESIZE [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:1087:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_LINESIZE [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:1150:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_USER [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:1171:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_TTY [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:1191:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_SETGID [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:1314:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:1328:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:1375:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SYSTEM_ERR [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:1446:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:1471:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_INHERITABLE [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:151:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:184:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:203:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:230:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:278:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_CHOWN [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:320:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_CHOWN [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:366:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:385:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:443:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:465:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:494:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:734:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:759:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:822:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:845:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:862:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INIT_PROCESS [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:878:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_LINESIZE [valueFlowBailoutIncompleteVar] head libcap-2.66/contrib/sucap/su.c:933:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/pam_cap.c:197:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_DATA_REPLACE [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/pam_cap.c:249:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/pam_cap.c:333:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CONS [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/pam_cap.c:360:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/pam_cap.c:380:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_CONV_AGAIN [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/pam_cap.c:436:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_ESTABLISH_CRED [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/test_pam_cap.c:128:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_INHERITABLE [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/test_pam_cap.c:249:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_INHERITABLE [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/test_pam_cap.c:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_CONV_AGAIN [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/test_pam_cap.c:46:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_USER [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/test_pam_cap.c:58:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head libcap-2.66/pam_cap/test_pam_cap.c:86:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/capsh.c:164:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap_get_bound [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/capsh.c:241:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_SET [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/capsh.c:292:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/capsh.c:352:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/capsh.c:409:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/capsh.c:449:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/capsh.c:491:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/capsh.c:538:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/getcap.c:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/getcap.c:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTW_F [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/getpcaps.c:68:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/old/execcap.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/old/setpcaps.c:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/old/setpcaps.c:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/old/sucap.c:46:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/old/sucap.c:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/setcap.c:113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/setcap.c:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/progs/setcap.c:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libcap-2.66/psx/psx.c:227:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] head libcap-2.66/psx/psx.c:421:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] head libcap-2.66/psx/psx.c:468:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] head libcap-2.66/psx/psx.c:505:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] head libcap-2.66/psx/psx.c:590:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head libcap-2.66/psx/psx.c:758:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head libcap-2.66/tests/libcap_psx_test.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head libcap-2.66/tests/noop.c:3:26: style: Parameter 'argv' can be declared as const array [constParameter] head libcap-2.66/tests/uns_test.c:63:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_SETFCAP [valueFlowBailoutIncompleteVar] DONE