Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Place bounds check within memUvarintReader's ReadUvarint
This bounds check is to return an empty uint64 while decoding a 64-bit integer, should the reader have already read all the bytes available. For: blevesearch/bleve#1651 ``` Some context on the memUvarintReader .. The code here reflects ReadUVarint(..) from https://cs.opensource.google/go/go/+/refs/tags/go1.13.7:src/encoding/binary/varint.go But as reported here: golang/go#40618, it appears it contained an error prone path that was addressed in 1.15. ```
- Loading branch information