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
There is a read_unaligned of a pointer offseted by index + 1 whose corresponding slice is only valid up to index - X, where X depends on the iterators' offset.
Comment from Jörn Horstmann(jhorstmann) @ 2021-03-15T14:01:41.332+0000:
Good catch, this really looks suspect now. I think that second read could be replaced with reading a single byte since the bit_offset is guaranteed to be in 0..8, meaning we need at most one byte to fill in the remaining bits.
Activity
alamb commentedon Apr 26, 2021
Comment from Jörn Horstmann(jhorstmann) @ 2021-03-15T14:01:41.332+0000: