rust-revlog: fix bug with short nodes made only of zeros
Testing provided as Rust unit tests
Also, we should check what happens with short nodes made only of f
, I think I have seen a similar misbehaviour of rhg
, but this could be a follow-up.
Edited by Georges Racinet