Task #1356 - isomd5sum-1.2.3-23.fc40/scan-results.err

back to task #1356
download
Error: CPPCHECK_WARNING:
isomd5sum-1.2.3-build/isomd5sum-1.2.3/checkisomd5.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
isomd5sum-1.2.3-build/isomd5sum-1.2.3/libcheckisomd5.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
isomd5sum-1.2.3-build/isomd5sum-1.2.3/libimplantisomd5.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING:
isomd5sum-1.2.3-build/isomd5sum-1.2.3/md5.c:181:27: warning[-Warray-parameter=]: argument 1 of type ‘uint32[4]’ {aka ‘unsigned int[4]’} with mismatched bound
#  181 | void MD5_Transform(uint32 buf[4], uint32 const in[16])
#      |                    ~~~~~~~^~~~~~
isomd5sum-1.2.3-build/isomd5sum-1.2.3/md5.c:26:28: note: previously declared as ‘uint32 *’ {aka ‘unsigned int *’}
#   26 | void MD5_Transform(uint32 *buf, uint32 const *in);
#      |                    ~~~~~~~~^~~
#  179|    * the data and converts bytes into longwords for this routine.
#  180|    */
#  181|-> void MD5_Transform(uint32 buf[4], uint32 const in[16])
#  182|   {
#  183|           register uint32 a, b, c, d;

Error: COMPILER_WARNING:
isomd5sum-1.2.3-build/isomd5sum-1.2.3/md5.c:181:48: warning[-Warray-parameter=]: argument 2 of type ‘const uint32[16]’ {aka ‘const unsigned int[16]’} with mismatched bound
#  181 | void MD5_Transform(uint32 buf[4], uint32 const in[16])
#      |                                   ~~~~~~~~~~~~~^~~~~~
isomd5sum-1.2.3-build/isomd5sum-1.2.3/md5.c:26:47: note: previously declared as ‘const uint32 *’ {aka ‘const unsigned int *’}
#   26 | void MD5_Transform(uint32 *buf, uint32 const *in);
#      |                                 ~~~~~~~~~~~~~~^~
#  179|    * the data and converts bytes into longwords for this routine.
#  180|    */
#  181|-> void MD5_Transform(uint32 buf[4], uint32 const in[16])
#  182|   {
#  183|           register uint32 a, b, c, d;

Error: CPPCHECK_WARNING:
isomd5sum-1.2.3-build/isomd5sum-1.2.3/utilities.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476):
isomd5sum-1.2.3-build/isomd5sum-1.2.3/utilities.c: scope_hint: In function ‘parsepvd’
isomd5sum-1.2.3-build/isomd5sum-1.2.3/utilities.c:134:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘result’
#  132|   
#  133|       struct volume_info *result = malloc(sizeof(struct volume_info));
#  134|->     result->skipsectors = SKIPSECTORS;
#  135|       result->supported = 0;
#  136|       result->fragmentcount = FRAGMENT_COUNT;

Error: COMPILER_WARNING:
isomd5sum-1.2.3-build/isomd5sum-1.2.3/utilities.c: scope_hint: In function ‘validate_fragment’
isomd5sum-1.2.3-build/isomd5sum-1.2.3/utilities.c:221:13: warning[-Wstringop-truncation]: ‘strncat’ output may be truncated copying 1 byte from a string of length 2
#  221 |             strncat(hashsums, tmp, 1);
#      |             ^
#  219|           snprintf(tmp, 3, "%01x", digest[i]);
#  220|           if (hashsums != NULL)
#  221|->             strncat(hashsums, tmp, 1);
#  222|           if (fragmentsums != NULL && tmp[0] != fragmentsums[j++])
#  223|               return false;

Error: COMPILER_WARNING:
isomd5sum-1.2.3-build/isomd5sum-1.2.3/utilities.c: scope_hint: In function ‘md5sum’
isomd5sum-1.2.3-build/isomd5sum-1.2.3/utilities.c:238:9: warning[-Wstringop-truncation]: ‘strncat’ output may be truncated copying 2 bytes from a string of length 2
#  238 |         strncat(hashsum, tmp, 2);
#      |         ^
#  236|           char tmp[3];
#  237|           snprintf(tmp, 3, "%02x", digest[i]);
#  238|->         strncat(hashsum, tmp, 2);
#  239|       }
#  240|   }