Task #925 - added.err
back to task #925download
Error: CPPCHECK_WARNING:
nettle-3.10-build/nettle-3.10/drbg-ctr-aes256.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457):
nettle-3.10-build/nettle-3.10/gosthash94.c: scope_hint: In function ‘gost_block_compress’
nettle-3.10-build/nettle-3.10/gosthash94.c:76:40: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘v[1]’
nettle-3.10-build/nettle-3.10/gosthash94.c:41: included_from: Included from here.
nettle-3.10-build/nettle-3.10/gosthash94.c:301:5: note: in expansion of macro ‘MD_UPDATE’
nettle-3.10-build/nettle-3.10/gosthash94.c:301:5: note: in expansion of macro ‘MD_UPDATE’
nettle-3.10-build/nettle-3.10/macros.h:207:9: note: in expansion of macro ‘COMPRESS’
nettle-3.10-build/nettle-3.10/gosthash94.c:301:5: note: in expansion of macro ‘MD_UPDATE’
nettle-3.10-build/nettle-3.10/macros.h:207:9: note: in expansion of macro ‘COMPRESS’
nettle-3.10-build/nettle-3.10/gosthash94.c:301:5: note: in expansion of macro ‘MD_UPDATE’
nettle-3.10-build/nettle-3.10/gosthash94.c:275:25: note: in expansion of macro ‘LE_READ_UINT32’
# 74|
# 75| /* w := u xor v */
# 76|-> w[0] = u[0] ^ v[0], w[1] = u[1] ^ v[1];
# 77| w[2] = u[2] ^ v[2], w[3] = u[3] ^ v[3];
# 78| w[4] = u[4] ^ v[4], w[5] = u[5] ^ v[5];
Error: COMPILER_WARNING (CWE-563):
nettle-3.10-build/nettle-3.10/testsuite/testutils.c: scope_hint: In function ‘mark_bytes_undefined’
nettle-3.10-build/nettle-3.10/testsuite/testutils.c:144:30: warning[-Wunused-parameter]: unused parameter ‘size’
# 144 | mark_bytes_undefined (size_t size, const void *p) {}
# | ~~~~~~~^~~~
# 142| #else
# 143| void
# 144|-> mark_bytes_undefined (size_t size, const void *p) {}
# 145| void
# 146| mark_bytes_defined (size_t size, const void *p) {}
Error: COMPILER_WARNING (CWE-563):
nettle-3.10-build/nettle-3.10/testsuite/testutils.c:144:48: warning[-Wunused-parameter]: unused parameter ‘p’
# 144 | mark_bytes_undefined (size_t size, const void *p) {}
# | ~~~~~~~~~~~~^
# 142| #else
# 143| void
# 144|-> mark_bytes_undefined (size_t size, const void *p) {}
# 145| void
# 146| mark_bytes_defined (size_t size, const void *p) {}
Error: COMPILER_WARNING (CWE-563):
nettle-3.10-build/nettle-3.10/testsuite/testutils.c: scope_hint: In function ‘mark_bytes_defined’
nettle-3.10-build/nettle-3.10/testsuite/testutils.c:146:28: warning[-Wunused-parameter]: unused parameter ‘size’
# 146 | mark_bytes_defined (size_t size, const void *p) {}
# | ~~~~~~~^~~~
# 144| mark_bytes_undefined (size_t size, const void *p) {}
# 145| void
# 146|-> mark_bytes_defined (size_t size, const void *p) {}
# 147| #endif
# 148|
Error: COMPILER_WARNING (CWE-563):
nettle-3.10-build/nettle-3.10/testsuite/testutils.c:146:46: warning[-Wunused-parameter]: unused parameter ‘p’
# 146 | mark_bytes_defined (size_t size, const void *p) {}
# | ~~~~~~~~~~~~^
# 144| mark_bytes_undefined (size_t size, const void *p) {}
# 145| void
# 146|-> mark_bytes_defined (size_t size, const void *p) {}
# 147| #endif
# 148|
Error: GCC_ANALYZER_WARNING (CWE-688):
nettle-3.10-build/nettle-3.10/testsuite/testutils.c: scope_hint: In function ‘test_hash’
nettle-3.10-build/nettle-3.10/testsuite/testutils.c:1129:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘xalloc(*digest.length)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
# 1127| }
# 1128|
# 1129|-> memset(buffer, 0, digest->length);
# 1130|
# 1131| hash->update(ctx, msg->length, msg->data);