2024-04-18 03:59 ftp://ftp.de.debian.org/debian/pool/main/libn/libnss-ldap/libnss-ldap_265.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-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.13.0 head-info: 397464e (2024-04-17 17:31:21 +0200) count: 213 133 elapsed-time: 13.7 38.1 head-timing-info: old-timing-info: head results: nss_ldap-265/dnsconfig.c:82:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/doc/lookup_nssldap.c:174:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_MAX_LEN [valueFlowBailoutIncompleteVar] nss_ldap-265/dnsconfig.c:137:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/doc/lookup_nssldap.c:215:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LKP_FAIL [valueFlowBailoutIncompleteVar] nss_ldap-265/doc/lookup_nssldap.c:239:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_MAX_LEN [valueFlowBailoutIncompleteVar] nss_ldap-265/doc/lookup_nssldap.c:275:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_MAX_LEN [valueFlowBailoutIncompleteVar] nss_ldap-265/dnsconfig.c:91:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nss_ldap-265/dnsconfig.c:65:27: style:inconclusive: Function '_nss_ldap_getdnsdn' argument 1 names different: declaration 'domain' definition 'src_domain'. [funcArgNamesDifferent] nss_ldap-265/dnsconfig.h:28:38: note: Function '_nss_ldap_getdnsdn' argument 1 names different: declaration 'domain' definition 'src_domain'. nss_ldap-265/dnsconfig.c:65:27: note: Function '_nss_ldap_getdnsdn' argument 1 names different: declaration 'domain' definition 'src_domain'. nss_ldap-265/dnsconfig.c:65:27: style: Parameter 'src_domain' can be declared as pointer to const [constParameterPointer] nss_ldap-265/dnsconfig.c:68:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nss_ldap-265/dnsconfig.c:69:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] nss_ldap-265/ldap-automount.c:73:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-automount.c:93:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-automount.c:171:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-automount.c:212:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-automount.c:216:15: style: Variable 'a.la_type' is reassigned a value before the old one has been used. [redundantAssignment] nss_ldap-265/ldap-automount.c:215:3: note: a.la_type is assigned nss_ldap-265/ldap-automount.c:216:15: note: a.la_type is overwritten nss_ldap-265/doc/lookup_nssldap.c:85:3: error: Memory leak: context [memleak] nss_ldap-265/doc/lookup_nssldap.c:91:3: error: Memory leak: context [memleak] nss_ldap-265/doc/lookup_nssldap.c:99:3: error: Memory leak: context [memleak] nss_ldap-265/doc/lookup_nssldap.c:106:3: error: Memory leak: context [memleak] nss_ldap-265/doc/lookup_nssldap.c:113:3: error: Memory leak: context [memleak] nss_ldap-265/doc/lookup_nssldap.c:120:3: error: Memory leak: context [memleak] nss_ldap-265/doc/lookup_nssldap.c:127:3: error: Memory leak: context [memleak] nss_ldap-265/doc/lookup_nssldap.c:133:3: error: Memory leak: context [memleak] nss_ldap-265/doc/lookup_nssldap.c:337:6: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] nss_ldap-265/doc/lookup_nssldap.c:313:8: note: ret is assigned nss_ldap-265/doc/lookup_nssldap.c:337:6: note: ret is overwritten nss_ldap-265/doc/lookup_nssldap.c:211:23: style: Variable 'me' can be declared as pointer to const [constVariablePointer] nss_ldap-265/doc/lookup_nssldap.c:278:23: style: Variable 'me' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-automount.c:243:12: style: Variable 'stat' is assigned a value that is never used. [unreadVariable] nss_ldap-265/ldap-hosts.c:84:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-hosts.c:124:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-netgrp.c:192:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_RETURN [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:118:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-network.c:93:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:201:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:267:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:294:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:551:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:577:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_NSS_NGROUPS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:664:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:786:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:850:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:895:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-netgrp.c:184:30: style:inconclusive: Function '_nss_ldap_parse_netgr' argument 1 names different: declaration 'result' definition 'vresultp'. [funcArgNamesDifferent] nss_ldap-265/ldap-netgrp.h:27:48: note: Function '_nss_ldap_parse_netgr' argument 1 names different: declaration 'result' definition 'vresultp'. nss_ldap-265/ldap-netgrp.c:184:30: note: Function '_nss_ldap_parse_netgr' argument 1 names different: declaration 'result' definition 'vresultp'. nss_ldap-265/ldap-netgrp.c:188:9: style: Variable 'user' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-netgrp.c:188:16: style: Variable 'host' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-netgrp.c:188:23: style: Variable 'domain' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-hosts.c:160:3: style: Variable 'qtr' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-proto.c:82:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-pwd.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-pwd.c:93:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-service.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-service.c:76:24: style:inconclusive: Function '_nss_ldap_parse_serv' argument 2 names different: declaration 'pvt' definition 'state'. [funcArgNamesDifferent] nss_ldap-265/ldap-service.h:38:21: note: Function '_nss_ldap_parse_serv' argument 2 names different: declaration 'pvt' definition 'state'. nss_ldap-265/ldap-service.c:76:24: note: Function '_nss_ldap_parse_serv' argument 2 names different: declaration 'pvt' definition 'state'. nss_ldap-265/pagectrl.c:82:0: error: #error LDAP client library does not support ldap_create_control() [preprocessorErrorDirective] nss_ldap-265/resolve.c:316:34: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] nss_ldap-265/tests/testd.c:9:26: style: Parameter 'cf' can be declared as pointer to const [constParameterPointer] nss_ldap-265/tests/testgr.c:43:1: portability: Omitted return type of function 'scan_group' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nss_ldap-265/tests/testgr.c:47:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] nss_ldap-265/tests/testgr.c:51:15: portability: Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'. [prohibitedgetgrentCalled] nss_ldap-265/tests/testgr.c:61:7: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] nss_ldap-265/tests/testpw.c:89:8: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] nss_ldap-265/tests/testpw.c:104:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] nss_ldap-265/tests/testpw.c:142:15: portability: Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'. [prohibitedgetpwentCalled] nss_ldap-265/tests/testpw.c:78:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] nss_ldap-265/tests/testpw.c:136:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-nss.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:598:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:616:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] nss_ldap-265/tests/testpw3.c:11:1: portability: Omitted return type of function 'scan_passwd' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nss_ldap-265/ldap-nss.c:737:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] nss_ldap-265/tests/testpw3.c:46:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:813:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:834:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:864:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:1055:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:1108:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:1468:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:2018:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:2043:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:2227:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:2264:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:2437:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_UNAVAILABLE [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:152:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nss_ldap-265/ldap-nss.c:2572:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_UNAVAILABLE [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:2710:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_NO_LIMIT [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:2795:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:2807:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:2831:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:2901:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:2963:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SCOPE_BASE [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3076:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3183:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3389:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3483:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3553:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3641:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3771:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3811:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3892:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3903:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3914:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3925:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:3988:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:4029:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:4149:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:4275:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-nss.c:4328:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_UNAVAILABLE [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:860:15: style: Variable 'a.la_type' is reassigned a value before the old one has been used. [redundantAssignment] nss_ldap-265/ldap-grp.c:858:3: note: a.la_type is assigned nss_ldap-265/ldap-grp.c:860:15: note: a.la_type is overwritten nss_ldap-265/ldap-grp.c:932:15: style: Variable 'a.la_type' is reassigned a value before the old one has been used. [redundantAssignment] nss_ldap-265/ldap-grp.c:930:3: note: a.la_type is assigned nss_ldap-265/ldap-grp.c:932:15: note: a.la_type is overwritten nss_ldap-265/ldap-grp.c:409:21: style: Local variable 'res' shadows outer variable [shadowVariable] nss_ldap-265/ldap-grp.c:303:16: note: Shadowed declaration nss_ldap-265/ldap-grp.c:409:21: note: Shadow variable nss_ldap-265/ldap-grp.c:805:15: style: Local variable 'stat' shadows outer variable [shadowVariable] nss_ldap-265/ldap-grp.c:780:14: note: Shadowed declaration nss_ldap-265/ldap-grp.c:805:15: note: Shadow variable nss_ldap-265/ldap-grp.c:824:15: style: Local variable 'stat' shadows outer variable [shadowVariable] nss_ldap-265/ldap-grp.c:780:14: note: Shadowed declaration nss_ldap-265/ldap-grp.c:824:15: note: Shadow variable nss_ldap-265/tests/testpw4.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nss_ldap-265/ldap-grp.c:203:9: style: Variable 'attribute' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-grp.c:554:3: style: Variable 'qtr' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-grp.c:827:9: style: Variable 'stat' is assigned a value that is never used. [unreadVariable] nss_ldap-265/tests/testpw4.c:57:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] nss_ldap-265/tests/testpw4.c:70:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] nss_ldap-265/tests/testpw4.c:19:18: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] nss_ldap-265/tests/testpw4.c:20:19: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nss_ldap-265/tests/testpw5.c:91:1: portability: Omitted return type of function 'scan_passwd' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nss_ldap-265/tests/testpw5.c:100:15: portability: Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'. [prohibitedgetpwentCalled] nss_ldap-265/tests/testpw5.c:114:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] nss_ldap-265/tests/testpw5.c:108:13: style: Condition 'p==NULL' is always false [knownConditionTrueFalse] nss_ldap-265/snprintf.c:65:14: style:inconclusive: Function '_nss_ldap_vsnprintf' argument 4 names different: declaration 'arg' definition 'args'. [funcArgNamesDifferent] nss_ldap-265/snprintf.h:46:66: note: Function '_nss_ldap_vsnprintf' argument 4 names different: declaration 'arg' definition 'args'. nss_ldap-265/snprintf.c:65:14: note: Function '_nss_ldap_vsnprintf' argument 4 names different: declaration 'arg' definition 'args'. nss_ldap-265/snprintf.c:115:12: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] nss_ldap-265/snprintf.c:350:12: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] nss_ldap-265/tests/testpw5.c:94:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nss_ldap-265/tests/testpw5.c:70:18: style: Unused variable: pw [unusedVariable] nss_ldap-265/tests/testpw5.c:71:9: style: Unused variable: uid [unusedVariable] nss_ldap-265/tests/testpw6.c:111:8: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] nss_ldap-265/tests/testpw6.c:131:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] nss_ldap-265/tests/testpw6.c:178:15: portability: Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'. [prohibitedgetpwentCalled] nss_ldap-265/tests/testpw6.c:95:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] nss_ldap-265/tests/testpw6.c:164:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nss_ldap-265/tests/testpw6.c:101:7: style: Unused variable: pid [unusedVariable] nss_ldap-265/ldap-nss.c:2248:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] nss_ldap-265/ldap-nss.c:3831:12: style: The if condition is the same as the previous if condition [duplicateCondition] nss_ldap-265/ldap-nss.c:3819:12: note: First condition nss_ldap-265/ldap-nss.c:3831:12: note: Second condition nss_ldap-265/ldap-nss.c:3509:24: style: Variable 'ctx.ec_state.ls_type' is reassigned a value before the old one has been used. [redundantAssignment] nss_ldap-265/ldap-nss.c:3508:3: note: ctx.ec_state.ls_type is assigned nss_ldap-265/ldap-nss.c:3509:24: note: ctx.ec_state.ls_type is overwritten nss_ldap-265/ldap-nss.c:4138:18: style: Variable 'args.la_type' is reassigned a value before the old one has been used. [redundantAssignment] nss_ldap-265/ldap-nss.c:4137:3: note: args.la_type is assigned nss_ldap-265/ldap-nss.c:4138:18: note: args.la_type is overwritten nss_ldap-265/ldap-nss.c:649:26: style:inconclusive: Same expression used in consecutive assignments of 'socknamelen' and 'peernamelen'. [duplicateAssignExpression] nss_ldap-265/ldap-nss.c:650:26: note: Same expression used in consecutive assignments of 'socknamelen' and 'peernamelen'. nss_ldap-265/ldap-nss.c:649:26: note: Same expression used in consecutive assignments of 'socknamelen' and 'peernamelen'. nss_ldap-265/ldap-nss.c:2258:50: style:inconclusive: Function 'do_filter' argument 4 names different: declaration 'filter' definition 'userBuf'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.c:244:15: note: Function 'do_filter' argument 4 names different: declaration 'filter' definition 'userBuf'. nss_ldap-265/ldap-nss.c:2258:50: note: Function 'do_filter' argument 4 names different: declaration 'filter' definition 'userBuf'. nss_ldap-265/ldap-nss.c:2259:12: style:inconclusive: Function 'do_filter' argument 5 names different: declaration 'filterlen' definition 'userBufSiz'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.c:244:30: note: Function 'do_filter' argument 5 names different: declaration 'filterlen' definition 'userBufSiz'. nss_ldap-265/ldap-nss.c:2259:12: note: Function 'do_filter' argument 5 names different: declaration 'filterlen' definition 'userBufSiz'. nss_ldap-265/ldap-nss.c:2259:31: style:inconclusive: Function 'do_filter' argument 6 names different: declaration 'dynamicFilter' definition 'dynamicUserBuf'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.c:245:16: note: Function 'do_filter' argument 6 names different: declaration 'dynamicFilter' definition 'dynamicUserBuf'. nss_ldap-265/ldap-nss.c:2259:31: note: Function 'do_filter' argument 6 names different: declaration 'dynamicFilter' definition 'dynamicUserBuf'. nss_ldap-265/ldap-nss.c:2961:73: style:inconclusive: Function '_nss_ldap_read' argument 3 names different: declaration 'pRes' definition 'res'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:810:22: note: Function '_nss_ldap_read' argument 3 names different: declaration 'pRes' definition 'res'. nss_ldap-265/ldap-nss.c:2961:73: note: Function '_nss_ldap_read' argument 3 names different: declaration 'pRes' definition 'res'. nss_ldap-265/ldap-nss.c:3063:56: style:inconclusive: Function '_nss_ldap_search_s' argument 6 names different: declaration 'pRes' definition 'res'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:792:26: note: Function '_nss_ldap_search_s' argument 6 names different: declaration 'pRes' definition 'res'. nss_ldap-265/ldap-nss.c:3063:56: note: Function '_nss_ldap_search_s' argument 6 names different: declaration 'pRes' definition 'res'. nss_ldap-265/ldap-nss.c:3167:50: style:inconclusive: Function '_nss_ldap_search' argument 6 names different: declaration 'pMsgid' definition 'msgid'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:802:14: note: Function '_nss_ldap_search' argument 6 names different: declaration 'pMsgid' definition 'msgid'. nss_ldap-265/ldap-nss.c:3167:50: note: Function '_nss_ldap_search' argument 6 names different: declaration 'pMsgid' definition 'msgid'. nss_ldap-265/ldap-nss.c:3168:41: style:inconclusive: Function '_nss_ldap_search' argument 7 names different: declaration 's' definition 'csd'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:803:46: note: Function '_nss_ldap_search' argument 7 names different: declaration 's' definition 'csd'. nss_ldap-265/ldap-nss.c:3168:41: note: Function '_nss_ldap_search' argument 7 names different: declaration 's' definition 'csd'. nss_ldap-265/ldap-nss.c:3355:36: style:inconclusive: Function '_nss_ldap_getent' argument 1 names different: declaration 'key' definition 'ctx'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:831:47: note: Function '_nss_ldap_getent' argument 1 names different: declaration 'key' definition 'ctx'. nss_ldap-265/ldap-nss.c:3355:36: note: Function '_nss_ldap_getent' argument 1 names different: declaration 'key' definition 'ctx'. nss_ldap-265/ldap-nss.c:3383:25: style:inconclusive: Function '_nss_ldap_getent_ex' argument 2 names different: declaration 'key' definition 'ctx'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:817:22: note: Function '_nss_ldap_getent_ex' argument 2 names different: declaration 'key' definition 'ctx'. nss_ldap-265/ldap-nss.c:3383:25: note: Function '_nss_ldap_getent_ex' argument 2 names different: declaration 'key' definition 'ctx'. nss_ldap-265/ldap-nss.c:3535:30: style:inconclusive: Function '_nss_ldap_assign_attrvals' argument 5 names different: declaration 'buffer' definition 'pbuffer'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:857:18: note: Function '_nss_ldap_assign_attrvals' argument 5 names different: declaration 'buffer' definition 'pbuffer'. nss_ldap-265/ldap-nss.c:3535:30: note: Function '_nss_ldap_assign_attrvals' argument 5 names different: declaration 'buffer' definition 'pbuffer'. nss_ldap-265/ldap-nss.c:3536:7: style:inconclusive: Function '_nss_ldap_assign_attrvals' argument 6 names different: declaration 'buflen' definition 'pbuflen'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:858:20: note: Function '_nss_ldap_assign_attrvals' argument 6 names different: declaration 'buflen' definition 'pbuflen'. nss_ldap-265/ldap-nss.c:3536:7: note: Function '_nss_ldap_assign_attrvals' argument 6 names different: declaration 'buflen' definition 'pbuflen'. nss_ldap-265/ldap-nss.c:3885:56: style:inconclusive: Function '_nss_ldap_map_at' argument 2 names different: declaration 'pChar2' definition 'attribute'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:896:68: note: Function '_nss_ldap_map_at' argument 2 names different: declaration 'pChar2' definition 'attribute'. nss_ldap-265/ldap-nss.c:3885:56: note: Function '_nss_ldap_map_at' argument 2 names different: declaration 'pChar2' definition 'attribute'. nss_ldap-265/ldap-nss.c:3907:56: style:inconclusive: Function '_nss_ldap_map_oc' argument 2 names different: declaration 'pChar' definition 'objectclass'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:899:68: note: Function '_nss_ldap_map_oc' argument 2 names different: declaration 'pChar' definition 'objectclass'. nss_ldap-265/ldap-nss.c:3907:56: note: Function '_nss_ldap_map_oc' argument 2 names different: declaration 'pChar' definition 'objectclass'. nss_ldap-265/ldap-nss.c:3918:58: style:inconclusive: Function '_nss_ldap_unmap_oc' argument 2 names different: declaration 'pChar' definition 'objectclass'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:900:70: note: Function '_nss_ldap_unmap_oc' argument 2 names different: declaration 'pChar' definition 'objectclass'. nss_ldap-265/ldap-nss.c:3918:58: note: Function '_nss_ldap_unmap_oc' argument 2 names different: declaration 'pChar' definition 'objectclass'. nss_ldap-265/ldap-nss.c:3929:31: style:inconclusive: Function '_nss_ldap_map_ov' argument 1 names different: declaration 'pChar' definition 'attribute'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:902:43: note: Function '_nss_ldap_map_ov' argument 1 names different: declaration 'pChar' definition 'attribute'. nss_ldap-265/ldap-nss.c:3929:31: note: Function '_nss_ldap_map_ov' argument 1 names different: declaration 'pChar' definition 'attribute'. nss_ldap-265/ldap-nss.c:3939:31: style:inconclusive: Function '_nss_ldap_map_df' argument 1 names different: declaration 'pChar' definition 'attribute'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:903:43: note: Function '_nss_ldap_map_df' argument 1 names different: declaration 'pChar' definition 'attribute'. nss_ldap-265/ldap-nss.c:3939:31: note: Function '_nss_ldap_map_df' argument 1 names different: declaration 'pChar' definition 'attribute'. nss_ldap-265/ldap-nss.c:3951:22: style:inconclusive: Function '_nss_ldap_map_put' argument 3 names different: declaration 'map' definition 'type'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:888:26: note: Function '_nss_ldap_map_put' argument 3 names different: declaration 'map' definition 'type'. nss_ldap-265/ldap-nss.c:3951:22: note: Function '_nss_ldap_map_put' argument 3 names different: declaration 'map' definition 'type'. nss_ldap-265/ldap-nss.c:3952:18: style:inconclusive: Function '_nss_ldap_map_put' argument 4 names different: declaration 'key' definition 'from'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:889:22: note: Function '_nss_ldap_map_put' argument 4 names different: declaration 'key' definition 'from'. nss_ldap-265/ldap-nss.c:3952:18: note: Function '_nss_ldap_map_put' argument 4 names different: declaration 'key' definition 'from'. nss_ldap-265/ldap-nss.c:3953:18: style:inconclusive: Function '_nss_ldap_map_put' argument 5 names different: declaration 'value' definition 'to'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:889:39: note: Function '_nss_ldap_map_put' argument 5 names different: declaration 'value' definition 'to'. nss_ldap-265/ldap-nss.c:3953:18: note: Function '_nss_ldap_map_put' argument 5 names different: declaration 'value' definition 'to'. nss_ldap-265/ldap-nss.c:4020:22: style:inconclusive: Function '_nss_ldap_map_get' argument 3 names different: declaration 'map' definition 'type'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:893:26: note: Function '_nss_ldap_map_get' argument 3 names different: declaration 'map' definition 'type'. nss_ldap-265/ldap-nss.c:4020:22: note: Function '_nss_ldap_map_get' argument 3 names different: declaration 'map' definition 'type'. nss_ldap-265/ldap-nss.c:4021:18: style:inconclusive: Function '_nss_ldap_map_get' argument 4 names different: declaration 'key' definition 'from'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:894:22: note: Function '_nss_ldap_map_get' argument 4 names different: declaration 'key' definition 'from'. nss_ldap-265/ldap-nss.c:4021:18: note: Function '_nss_ldap_map_get' argument 4 names different: declaration 'key' definition 'from'. nss_ldap-265/ldap-nss.c:4021:37: style:inconclusive: Function '_nss_ldap_map_get' argument 5 names different: declaration 'value' definition 'to'. [funcArgNamesDifferent] nss_ldap-265/ldap-nss.h:894:40: note: Function '_nss_ldap_map_get' argument 5 names different: declaration 'value' definition 'to'. nss_ldap-265/ldap-nss.c:4021:37: note: Function '_nss_ldap_map_get' argument 5 names different: declaration 'value' definition 'to'. nss_ldap-265/ldap-nss.c:733:24: style: Variable 's1' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-nss.c:734:24: style: Variable 's2' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-nss.c:742:24: style: Variable 's1' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-nss.c:743:24: style: Variable 's2' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-nss.c:1028:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-nss.c:1454:9: style: Variable 'bindarg' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-nss.c:3382:36: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] nss_ldap-265/ldap-nss.c:3565:3: style: Variable 'qtr' can be declared as pointer to const [constVariablePointer] nss_ldap-265/ldap-nss.c:1031:9: style: Variable 'ldaps' is assigned a value that is never used. [unreadVariable] nss_ldap-265/ldap-nss.c:1662:15: style: Variable 'bindarg' is assigned a value that is never used. [unreadVariable] nss_ldap-265/ldap-nss.c:2248:10: style: Variable 'buflen' is assigned a value that is never used. [unreadVariable] nss_ldap-265/ldap-nss.c:2437:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] nss_ldap-265/util.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:129:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:182:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:231:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:359:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:441:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:539:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:612:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SCOPE_SUBTREE [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:702:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:731:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:756:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:784:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:1293:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:1396:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:1453:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:1485:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:1520:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:1618:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:1648:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:1673:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:1697:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:1727:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:1758:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] nss_ldap-265/util.c:341:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nss_ldap-265/util.c:347:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nss_ldap-265/util.c:454:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] nss_ldap-265/util.c:365:8: style: The statement 'if (r!=NULL) r=NULL' is logically equivalent to 'r=NULL'. [duplicateConditionalAssign] nss_ldap-265/util.c:366:6: note: Assignment 'r=NULL' nss_ldap-265/util.c:365:8: note: Condition 'r!=NULL' is redundant nss_ldap-265/util.c:163:54: style:inconclusive: Function '_nss_ldap_dn2uid' argument 3 names different: declaration 'buf' definition 'buffer'. [funcArgNamesDifferent] nss_ldap-265/util.h:46:28: note: Function '_nss_ldap_dn2uid' argument 3 names different: declaration 'buf' definition 'buffer'. nss_ldap-265/util.c:163:54: note: Function '_nss_ldap_dn2uid' argument 3 names different: declaration 'buf' definition 'buffer'. nss_ldap-265/util.c:163:71: style:inconclusive: Function '_nss_ldap_dn2uid' argument 4 names different: declaration 'len' definition 'buflen'. [funcArgNamesDifferent] nss_ldap-265/util.h:46:42: note: Function '_nss_ldap_dn2uid' argument 4 names different: declaration 'len' definition 'buflen'. nss_ldap-265/util.c:163:71: note: Function '_nss_ldap_dn2uid' argument 4 names different: declaration 'len' definition 'buflen'. nss_ldap-265/util.c:223:30: style:inconclusive: Function '_nss_ldap_getrdnvalue' argument 4 names different: declaration 'buf' definition 'buffer'. [funcArgNamesDifferent] nss_ldap-265/util.h:40:27: note: Function '_nss_ldap_getrdnvalue' argument 4 names different: declaration 'buf' definition 'buffer'. nss_ldap-265/util.c:223:30: note: Function '_nss_ldap_getrdnvalue' argument 4 names different: declaration 'buf' definition 'buffer'. nss_ldap-265/util.c:223:47: style:inconclusive: Function '_nss_ldap_getrdnvalue' argument 5 names different: declaration 'len' definition 'buflen'. [funcArgNamesDifferent] nss_ldap-265/util.h:40:41: note: Function '_nss_ldap_getrdnvalue' argument 5 names different: declaration 'len' definition 'buflen'. nss_ldap-265/util.c:223:47: note: Function '_nss_ldap_getrdnvalue' argument 5 names different: declaration 'len' definition 'buflen'. nss_ldap-265/util.c:523:71: style:inconclusive: Function 'do_searchdescriptorconfig' argument 3 names different: declaration 'valueLength' definition 'len'. [funcArgNamesDifferent] nss_ldap-265/util.c:75:18: note: Function 'do_searchdescriptorconfig' argument 3 names different: declaration 'valueLength' definition 'len'. nss_ldap-265/util.c:523:71: note: Function 'do_searchdescriptorconfig' argument 3 names different: declaration 'valueLength' definition 'len'. nss_ldap-265/util.c:780:40: style:inconclusive: Function '_nss_ldap_readconfig' argument 1 names different: declaration 'result' definition 'presult'. [funcArgNamesDifferent] nss_ldap-265/util.h:139:51: note: Function '_nss_ldap_readconfig' argument 1 names different: declaration 'result' definition 'presult'. nss_ldap-265/util.c:780:40: note: Function '_nss_ldap_readconfig' argument 1 names different: declaration 'result' definition 'presult'. nss_ldap-265/util.c:444:3: style: Variable 'qtr' can be declared as pointer to const [constVariablePointer] nss_ldap-265/util.c:580:3: style: Variable 'qtr' can be declared as pointer to const [constVariablePointer] nss_ldap-265/util.c:730:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nss_ldap-265/util.c:799:3: style: Variable 'qtr' can be declared as pointer to const [constVariablePointer] nss_ldap-265/util.c:1295:9: style: Variable 'limit' can be declared as pointer to const [constVariablePointer] nss_ldap-265/util.c:1612:53: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] diff: head nss_ldap-265/dnsconfig.c:137:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/doc/lookup_nssldap.c:215:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LKP_FAIL [valueFlowBailoutIncompleteVar] head nss_ldap-265/doc/lookup_nssldap.c:239:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_MAX_LEN [valueFlowBailoutIncompleteVar] head nss_ldap-265/doc/lookup_nssldap.c:275:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_MAX_LEN [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-automount.c:171:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-automount.c:212:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-automount.c:93:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-grp.c:201:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-grp.c:267:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-grp.c:294:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-grp.c:551:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-grp.c:577:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_NSS_NGROUPS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-grp.c:664:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-grp.c:786:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-grp.c:850:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-grp.c:895:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-hosts.c:124:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:1055:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:1108:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:1454:9: style: Variable 'bindarg' can be declared as pointer to const [constVariablePointer] head nss_ldap-265/ldap-nss.c:1468:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2018:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2043:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2227:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2264:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2437:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_UNAVAILABLE [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2572:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_UNAVAILABLE [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2710:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_NO_LIMIT [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2795:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2807:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2831:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2901:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:2963:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SCOPE_BASE [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3076:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3183:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3389:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3483:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3553:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3641:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3771:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3811:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3892:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3903:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3914:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3925:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:3988:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:4029:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:4149:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:4275:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:4328:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_UNAVAILABLE [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:598:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:616:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:737:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_addr [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:813:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:834:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-nss.c:864:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head nss_ldap-265/ldap-pwd.c:93:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/resolve.c:316:34: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] head nss_ldap-265/util.c:1293:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:129:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:1396:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:1453:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:1485:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:1520:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:1618:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:1648:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:1673:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:1697:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:1727:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:1758:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:182:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:231:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_NOTFOUND [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:359:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_TRYAGAIN [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:441:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:539:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:612:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDAP_SCOPE_SUBTREE [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:702:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_UNAVAIL [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:731:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:756:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] head nss_ldap-265/util.c:784:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSS_SUCCESS [valueFlowBailoutIncompleteVar] DONE