https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255191

--- Comment #5 from Peter Grehan <gre...@freebsd.org> ---
Created attachment 224465
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224465&action=edit
dfly mptable diff

This should fix the issue in DFly.

The units of base_memory are KB, so this has to be adjusted before used as an
absolute value, or this will result in a negative value just under 4G and the
array access will then extend beyond 4G.

I suspect this will not be an issue systems other than bhyve since they would
have a BIOS extended-data area and not execute this codepath, or even if they
didn't, accessing memory beyond 4G would be a no-op.

In any case, it is an out-of-bounds array access, so worth fixing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to