summaryrefslogtreecommitdiff
path: root/algebra.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-05-10 04:53:45 -0400
committerJeffrey Walton <noloader@gmail.com>2020-05-10 04:53:45 -0400
commit72cb91718fbcf8843d5181e792fbdf95c4aab128 (patch)
treee065b33e69774d97087a0fb142849a2484521f9e /algebra.cpp
parent680956e13436e29ebcd85dee776260fd3de89846 (diff)
downloadcryptopp-git-72cb91718fbcf8843d5181e792fbdf95c4aab128.tar.gz
Disable GCC Analyzer test
The compiler is crashing on dll.cpp
Diffstat (limited to 'algebra.cpp')
-rw-r--r--algebra.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/algebra.cpp b/algebra.cpp
index 252819c3..c3b3fdc1 100644
--- a/algebra.cpp
+++ b/algebra.cpp
@@ -260,7 +260,7 @@ void AbstractGroup<T>::SimultaneousMultiply(T *results, const T &base, const Int
exponents.reserve(expCount);
unsigned int i;
- for (i=0; i<expCount; i++)
+ for (i=0; expBegin && i<expCount; i++)
{
CRYPTOPP_ASSERT(expBegin->NotNegative());
exponents.push_back(WindowSlider(*expBegin++, InversionIsFast(), 0));