Issue 6442 - Fix latest covscan memory leaks (part 2) #5249
Annotations
50 warnings
compile (Clang)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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 (GCC)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
compile (GCC):
ldap/servers/slapd/back-ldbm/cache.c#L536
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
|
compile (GCC):
ldap/servers/slapd/back-ldbm/cache.c#L536
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
|
compile (GCC):
ldap/servers/slapd/back-ldbm/cache.c#L536
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
|
compile (GCC):
ldap/servers/slapd/back-ldbm/cache.c#L536
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
|
compile (GCC Strict)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
compile (GCC Strict):
ldap/servers/slapd/tools/dbscan.c#L1130
argument 1 null where non-null expected [-Wnonnull]
|
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/archive.c#L634
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/archive.c#L634
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/archive.c#L634
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/archive.c#L634
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/archive.c#L636
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/archive.c#L636
initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
compile (GCC Strict):
ldap/servers/slapd/back-ldbm/archive.c#L684
passing argument 3 of 'archive_copyfile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
compile (Clang -Weverything)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
compile (GCC Static Analyzer):
ldap/servers/slapd/tools/dbscan.c#L1130
use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument]
|
compile (GCC Static Analyzer):
ldap/servers/slapd/back-ldbm/cache.c#L536
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
|
compile (GCC Static Analyzer):
ldap/servers/slapd/back-ldbm/cache.c#L536
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
|
compile (GCC Static Analyzer):
ldap/servers/slapd/back-ldbm/cache.c#L536
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
|
compile (GCC Static Analyzer):
ldap/servers/slapd/back-ldbm/cache.c#L536
writing 1 byte into a region of size 0 [-Wstringop-overflow=]
|
compile (GCC Static Analyzer):
ldap/servers/slapd/back-ldbm/index.c#L845
infinite loop [CWE-835] [-Wanalyzer-infinite-loop]
|
compile (GCC Static Analyzer):
ldap/servers/slapd/slapi-private.h#L43
dereference of NULL 'inst' [CWE-476] [-Wanalyzer-null-dereference]
|
compile (GCC Static Analyzer):
ldap/servers/slapd/slapi-private.h#L43
dereference of NULL 'inst' [CWE-476] [-Wanalyzer-null-dereference]
|
compile (GCC Static Analyzer):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_import_threads.c#L1730
leak of FILE '*job.upgradefd' [CWE-775] [-Wanalyzer-file-leak]
|
compile (GCC Static Analyzer):
ldap/servers/slapd/back-ldbm/db-bdb/bdb_import_threads.c#L1730
leak of '*job.upgradefd' [CWE-401] [-Wanalyzer-malloc-leak]
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Clang", "Clang -Weverything", "GCC", "GCC Static Analyzer", "GCC Strict".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Clang
|
786 KB |
|
Clang -Weverything
|
27.6 MB |
|
GCC
|
303 KB |
|
GCC Static Analyzer
|
669 KB |
|
GCC Strict
|
8.15 MB |
|