Closed juanibiapina closed 6 years ago
Hi @juanibiapina, thanks for reporting! This line should probably be replaced with saturating arithmetic to avoid the overflow. Eventually, I think there really ought to be a large scale audit of potential overflows.
https://github.com/an-cabal/an-rope/blob/master/src/lib.rs#L754
This lines blows up with overflow.