Merge pull request #105 from AleksArt000/env_rec_fix #179
Annotations
10 warnings
include/libspm.h:221:5 [readability-redundant-declaration]:
include/libspm.h#L221
redundant 'update' declaration
|
src/clean.c:24:12 [cppcoreguidelines-init-variables]:
src/clean.c#L24
variable 'cleanup_loc' is not initialized
|
src/config.c:19:13 [cppcoreguidelines-avoid-non-const-global-variables]:
src/config.c#L19
variable 'configEntries' is non-const and globally accessible, consider making it const
|
src/environment.c:20:5 [readability-isolate-declaration]:
src/environment.c#L20
multiple declarations in a single statement reduces readability
|
src/environment.c:20:9 [cppcoreguidelines-init-variables]:
src/environment.c#L20
variable 'i' is not initialized
|
src/environment.c:20:12 [cppcoreguidelines-init-variables]:
src/environment.c#L20
variable 'start_i' is not initialized
|
src/environment.c:74:61 [clang-analyzer-core.NonNullParamChecker]:
src/environment.c#L74
Null pointer passed to 1st parameter expecting 'nonnull'
|
src/environment.c:76:5 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]:
src/environment.c#L76
Call to function 'sprintf' is insecure as it does not provide bounding of the memory buffer or security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11
|
src/init.c:38:12 [cppcoreguidelines-init-variables]:
src/init.c#L38
variable 'formats' is not initialized
|
src/init.c:43:9 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]:
src/init.c#L43
Call to function 'sprintf' is insecure as it does not provide bounding of the memory buffer or security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'sprintf_s' in case of C11
|