You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let g_generators = generators.g_bold_slice()[.. values.len()].iter().cloned();
IMO, some check should be made here and an Error returned if there aren't enough generators. Are there any other parts of the code that assume enough generators and take a slice without bounds checking?
The text was updated successfully, but these errors were encountered:
There is a NotEnoughGenerators error used in general. It just wasn't used by the prover-only commit to the VCs before actually instantiating the GBPs. Will try to put out a patch over the next few days, thanks for identifying.
When passed
params
contains too few generators compared to the passedbranches
, then a panic occurs on this line:fcmp-plus-plus/crypto/fcmps/src/tape.rs
Line 232 in cbb5ffa
IMO, some check should be made here and an
Error
returned if there aren't enough generators. Are there any other parts of the code that assume enough generators and take a slice without bounds checking?The text was updated successfully, but these errors were encountered: