diff --git a/src/filter/ctojr.h b/src/filter/ctojr.h index 4c74ea4b..1d27c3f1 100644 --- a/src/filter/ctojr.h +++ b/src/filter/ctojr.h @@ -300,6 +300,9 @@ static int U(Filter *f) } else { // not 1st time at this destination jc >>= 1; + if (N_MRU <= jc) { + throwCompressedDataViolation(); + } int kh = jc + hand; if (N_MRU <= kh) { kh -= N_MRU;