aboutsummaryrefslogtreecommitdiff
path: root/src/ringct
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-02-02 16:44:28 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-02-02 16:44:28 +0000
commit9af6b2d1b820d52340f9b89222cc8b07e5b29bb7 (patch)
tree494fd48d7853b16355cc1638931910905d0b3f2b /src/ringct
parentsimplewallet: double check a new multisig wallet is multisig (diff)
downloadmonero-9af6b2d1b820d52340f9b89222cc8b07e5b29bb7.tar.xz
ringct: fix infinite loop in unused h2b function
Coverity 146775
Diffstat (limited to 'src/ringct')
-rw-r--r--src/ringct/rctTypes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ringct/rctTypes.cpp b/src/ringct/rctTypes.cpp
index 1526dcf7c..5650b3ba1 100644
--- a/src/ringct/rctTypes.cpp
+++ b/src/ringct/rctTypes.cpp
@@ -178,6 +178,7 @@ namespace rct {
}
while (i < 8 * (j + 1)) {
amountb2[i] = 0;
+ i++;
}
}
}