Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wolfcrypt/src/integer.c: add sanity checks to mollify clang-tidy 20.0…
….0_pre20250104: in mp_grow(), error if the mp_int has a null .dp but nonzero .alloc; in s_mp_add() and s_mp_sub(), error if either operand has a null .dp but the constant of iteration (from .used) is positive. these fix 6 distinct clang-analyzer-core.NullDereferences, of undetermined accuracy (possibly benign).
- Loading branch information