Task #860 - libtommath-1.3.1~rc1-1.fc41/scan-results.err

back to task #860
download
Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_and.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_div_2d.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_div_d.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_exptmod.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_fread.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_is_square.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_montgomery_reduce.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_mul.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_mul_2d.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_or.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_pack.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_prime_is_prime.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_prime_next_prime.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_prime_rand.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457):
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_prime_rand.c: scope_hint: In function 's_mp_prime_random_ex'
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_prime_rand.c:74:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*tmp'
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_prime_rand.c:1: included_from: Included from here.
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_prime_rand.c:45:28: note: in expansion of macro 'MP_MALLOC'
#   72|   
#   73|         /* work over the MSbyte */
#   74|->       tmp[0]    &= maskAND;
#   75|         tmp[0]    |= (unsigned char)(1 << ((size - 1) & 7));
#   76|   

Error: CLANG_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_prime_rand.c:74:17: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#   72|   
#   73|         /* work over the MSbyte */
#   74|->       tmp[0]    &= maskAND;
#   75|         tmp[0]    |= (unsigned char)(1 << ((size - 1) & 7));
#   76|   

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_radix_size.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_rand.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_read_radix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_reduce_is_2k.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_to_radix.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_mp_xor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_balance_mul.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_div_3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_exptmod.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_exptmod_fast.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_log_2expt.c:10:34: warning[core.DivideZero]: Division by zero
#    8|      int y;
#    9|      for (y = 0; (base & 1) == 0; y++, base >>= 1) {}
#   10|->    return (mp_count_bits(a) - 1) / y;
#   11|   }
#   12|   #endif

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_log_d.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_montgomery_reduce_fast.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_montgomery_reduce_fast.c:69:20: warning[core.UndefinedBinaryOperatorResult]: The left operand of '&' is a garbage value
#   67|          */
#   68|         mp_digit mu;
#   69|->       mu = ((W[ix] & MP_MASK) * rho) & MP_MASK;
#   70|   
#   71|         /* a = a + mu * m * b**i

Error: CLANG_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_montgomery_reduce_fast.c:98:19: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#   96|            /* inner loop */
#   97|            for (iy = 0; iy < n->used; iy++) {
#   98|->             *_W++ += (mp_word)mu * (mp_word)*tmpn++;
#   99|            }
#  100|         }

Error: CLANG_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_montgomery_reduce_fast.c:123:16: warning[core.uninitialized.Assign]: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage
#  121|   
#  122|         for (; ix < ((n->used * 2) + 1); ix++) {
#  123|->          *_W++ += *_W1++ >> (mp_word)MP_DIGIT_BIT;
#  124|         }
#  125|   

Error: CLANG_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_montgomery_reduce_fast.c:123:26: warning[core.UndefinedBinaryOperatorResult]: The left operand of '>>' is a garbage value
#  121|   
#  122|         for (; ix < ((n->used * 2) + 1); ix++) {
#  123|->          *_W++ += *_W1++ >> (mp_word)MP_DIGIT_BIT;
#  124|         }
#  125|   

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_mul_digs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_mul_digs_fast.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_mul_high_digs_fast.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
libtommath-1.3.1_rc1-build/libtommath-1.3.1-rc1/bn_s_mp_sqr_fast.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.