Commit 628478f9 authored by Mike Hibler's avatar Mike Hibler
Browse files

Fix nasty off by one error.

parent 98fc9f60
......@@ -415,7 +415,7 @@ applydelta(struct ndz_rangemap *bmap, struct ndz_range *brange, void *arg)
/* base range */
if (baddr < daddr) {
if (daddr < beaddr) {
if (daddr <= beaddr) {
if (addmmrange(mmap, baddr, daddr-1, 1,
goto fail;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment