Asserts trigger on zero-length access
alexandruag opened this issue · comments
Alexandru Agache commented
Some asserts (such as assert!(offset < count);
in read_from
and write_to
) get triggered when the respective methods are called with count == 0
. It's an edge case, but still valid and we should not treat this as an exceptional situation.
Alexandru Agache commented
PRs have been merged and releases v0.1.2
and v0.2.2
have been published.