Commits on Source (2)
-
Fixes regressions from 3856f9fc. The previous barrier was using `i_count` as a **byte** count instead of a **bit** count leading to the function bailing for legitimate writes. This patches takes into account the remaining bits to write under the buffer cursor in its overflow check.
dba9bb94 -
Avoid an overflow when `bits_align` is called at the end of the available size.
4746ea56