From 9af6b2d1b820d52340f9b89222cc8b07e5b29bb7 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 2 Feb 2018 16:44:28 +0000 Subject: ringct: fix infinite loop in unused h2b function Coverity 146775 --- src/ringct/rctTypes.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ringct') 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++; } } } -- cgit v1.2.3