commit | 30b0378008895e5d9c938761aca424dd28b04e0b | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Tue Aug 22 11:06:47 2023 +0200 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Tue Aug 22 11:06:47 2023 +0200 |
tree | 7b94fc3ad0ef9d9f4e635374955e42425aeb0163 | |
parent | b2bc1712a5578ef8f4a644b5a1f35c41fa5c9f2c [diff] [blame] |
Fix off-by-one error The value of p after adding the last entry in the gap table is not used. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/library/bignum.c b/library/bignum.c index f84b2e7..3724571 100644 --- a/library/bignum.c +++ b/library/bignum.c
@@ -2194,6 +2194,7 @@ 14, 4, 2, 4, 14, 4, 2, 4, 20, 4, 8, 10, 8, 4, 6, 6, 14, 4, 6, 6, 8, 6, /*reaches 997*/ + 0 /* the last entry is effectively unused */ }; /*