rust-vmm/vm-memory

Asserts trigger on zero-length access

alexandruag opened this issue · 1 comments

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.

PRs have been merged and releases v0.1.2 and v0.2.2 have been published.