arnaucube
arnaucube/gnark-plonky2-verifierPublic Self-hosted repository
fix for V-SCT-VUL-013
Kevin Jue kjue235@gmail.com
Mon, 18 Dec 2023 17:19:15 -0800
commit

5dd6da255e7058d9ccb38777c7f7082bac6ec477

parent

5766879636cd88894976fe2db9a10c2684dda193

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M plonk/gates/coset_interpolation_gate.go → plonk/gates/coset_interpolation_gate.go

@@ -199,6 +199,10 @@ }

startIndex := 1 + (g.degree-1)*(i+1) endIndex := startIndex + g.degree - 1 + if endIndex > g.numPoints() { + endIndex = g.numPoints() + } + computedEval, computedProd = glApi.PartialInterpolateExtAlgebra( domain[startIndex:endIndex], values[startIndex:endIndex],