All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

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

Fix nasty off by one error.

parent 98fc9f60
......@@ -415,7 +415,7 @@ applydelta(struct ndz_rangemap *bmap, struct ndz_range *brange, void *arg)
#endif
/* base range */
if (baddr < daddr) {
if (daddr < beaddr) {
if (daddr <= beaddr) {
if (addmmrange(mmap, baddr, daddr-1, 1,
(uintptr_t)brange->data))
goto fail;
......
Markdown is supported
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