Issue 6339 - Address Coverity scan issues in memberof and bdb_layer #456
Annotations
18 errors and 35 warnings
compile (GCC):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6952
'pEnv' undeclared (first use in this function); did you mean 'penv'?
|
compile (GCC)
Process completed with exit code 2.
|
compile (Clang):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6952
use of undeclared identifier 'pEnv'
|
compile (Clang):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6953
use of undeclared identifier 'pEnv'
|
compile (Clang):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6953
use of undeclared identifier 'pEnv'
|
compile (Clang):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6955
use of undeclared identifier 'pEnv'
|
compile (Clang):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6958
use of undeclared identifier 'pEnv'; did you mean 'penv'?
|
compile (Clang)
Process completed with exit code 2.
|
compile (Clang -Weverything):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6952
use of undeclared identifier 'pEnv'
|
compile (Clang -Weverything):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6953
use of undeclared identifier 'pEnv'
|
compile (Clang -Weverything):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6953
use of undeclared identifier 'pEnv'
|
compile (Clang -Weverything):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6955
use of undeclared identifier 'pEnv'
|
compile (Clang -Weverything):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6958
use of undeclared identifier 'pEnv'; did you mean 'penv'?
|
compile (Clang -Weverything)
Process completed with exit code 2.
|
compile (GCC Static Analyzer):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6952
'pEnv' undeclared (first use in this function); did you mean 'penv'?
|
compile (GCC Static Analyzer)
Process completed with exit code 2.
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_layer.c#L6952
'pEnv' undeclared (first use in this function); did you mean 'penv'?
|
compile (GCC Strict)
Process completed with exit code 2.
|
compile (Clang):
ldap/servers/slapd/slapi-plugin.h#L733
unknown attribute 'access' ignored [-Wunknown-attributes]
|
compile (Clang):
ldap/servers/slapd/slapi-plugin.h#L785
unknown attribute 'access' ignored [-Wunknown-attributes]
|
compile (Clang):
ldap/servers/slapd/slapi-plugin.h#L733
unknown attribute 'access' ignored [-Wunknown-attributes]
|
compile (Clang):
ldap/servers/slapd/slapi-plugin.h#L785
unknown attribute 'access' ignored [-Wunknown-attributes]
|
compile (Clang):
ldap/servers/slapd/slapi-plugin.h#L733
unknown attribute 'access' ignored [-Wunknown-attributes]
|
compile (Clang):
ldap/servers/slapd/slapi-plugin.h#L785
unknown attribute 'access' ignored [-Wunknown-attributes]
|
compile (Clang):
ldap/servers/slapd/slapi-plugin.h#L733
unknown attribute 'access' ignored [-Wunknown-attributes]
|
compile (Clang):
ldap/servers/slapd/slapi-plugin.h#L785
unknown attribute 'access' ignored [-Wunknown-attributes]
|
compile (Clang):
ldap/servers/slapd/slapi-plugin.h#L733
unknown attribute 'access' ignored [-Wunknown-attributes]
|
compile (Clang):
ldap/servers/slapd/slapi-plugin.h#L785
unknown attribute 'access' ignored [-Wunknown-attributes]
|
compile (Clang -Weverything)
macro name is a reserved identifier [-Wreserved-macro-identifier]
|
compile (Clang -Weverything)
identifier '_S6_u8' is reserved because it starts with '_' followed by a capital letter [-Wreserved-identifier]
|
compile (Clang -Weverything)
identifier '_S6_u16' is reserved because it starts with '_' followed by a capital letter [-Wreserved-identifier]
|
compile (Clang -Weverything)
identifier '_S6_u32' is reserved because it starts with '_' followed by a capital letter [-Wreserved-identifier]
|
compile (Clang -Weverything)
identifier '_S6_u64' is reserved because it starts with '_' followed by a capital letter [-Wreserved-identifier]
|
compile (Clang -Weverything)
identifier '_S6_un' is reserved because it starts with '_' followed by a capital letter [-Wreserved-identifier]
|
compile (Clang -Weverything)
padding size of 'struct PRNetAddr::(unnamed at /usr/include/nspr4/prio.h:156:5)' with 4 bytes to alignment boundary [-Wpadded]
|
compile (Clang -Weverything)
padding size of 'union PRNetAddr' with 6 bytes to alignment boundary [-Wpadded]
|
compile (Clang -Weverything)
macro name is a reserved identifier [-Wreserved-macro-identifier]
|
compile (Clang -Weverything):
ldap/servers/slapd/slapi-plugin.h#L40
macro name is a reserved identifier [-Wreserved-macro-identifier]
|
compile (GCC Static Analyzer):
ldap/servers/slapd/back-ldbm/index.c#L845
infinite loop [CWE-835] [-Wanalyzer-infinite-loop]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/ancestorid.c#L396
assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/ancestorid.c#L396
assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/dblayer.c#L225
passing argument 3 of 'sym_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/dblayer.c#L388
unused parameter 'a' [-Wunused-parameter]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/dblayer.c#L388
unused parameter 'use_lock' [-Wunused-parameter]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/dblayer.c#L388
unused parameter 'no_force_chkpt' [-Wunused-parameter]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/back-ldbm.h#L105
passing argument 2 of 'dblayer_open_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
compile (GCC Strict)
this statement may fall through [-Wimplicit-fallthrough=]
|
compile (GCC Strict)
this statement may fall through [-Wimplicit-fallthrough=]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/dn2entry.c#L44
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
compile (GCC Strict)
Failed to download action 'https://api.github.com/repos/ammaraskar/gcc-problem-matcher/tarball/0f9c86f9e693db67dacf53986e1674de5f2e5f28'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
|
compile (GCC Strict)
Back off 23.682 seconds before retry.
|
compile (GCC Strict)
Failed to download action 'https://api.github.com/repos/ammaraskar/gcc-problem-matcher/tarball/0f9c86f9e693db67dacf53986e1674de5f2e5f28'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
|
compile (GCC Strict)
Back off 13.178 seconds before retry.
|