aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2021-05-19 20:32:02 -0400
committerJack Lloyd <[email protected]>2021-05-19 20:32:02 -0400
commit4bf128988424164addac34730cfb57ed57931aac (patch)
treee888f7698713845427760c48da52d102be35d103 /src/tests
parent81195af21c057d4c870fc819d52a5e6a6edb9c4f (diff)
Revert use of new safegcd bounds function
OSS-Fuzz found a case where we didn't reach g == 0 at the end of the loop, which would cause an assert
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/data/bn/gcd.vec4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/data/bn/gcd.vec b/src/tests/data/bn/gcd.vec
index b2ee4ae85..f3d0acb20 100644
--- a/src/tests/data/bn/gcd.vec
+++ b/src/tests/data/bn/gcd.vec
@@ -720,3 +720,7 @@ X = 5922533216265880202513796871222528686746651461859445910493092723115557285461
Y = 18738350204025652696317952
GCD = 1099511627776
+# OSS-Fuzz 31020
+X = 37
+Y = 65427
+GCD = 1