]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC 333639:
authorjhb <jhb@FreeBSD.org>
Thu, 9 May 2019 22:31:47 +0000 (22:31 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 9 May 2019 22:31:47 +0000 (22:31 +0000)
commitaed5cc9168d78afbd0fbfb2a6fdf8fffde4ea181
treef030eba650c441c8e39a5f3b77fb09c73d05d63c
parent4d173c5333890497f505e6f2f7d4cd76d04ec35a
MFC 333639:
vmmdev: return EFAULT when trying to read beyond VM system memory max address

Currently, when using dd(1) to take a VM memory image, the capture never ends,
reading zeroes when it's beyond VM system memory max address.
Return EFAULT when trying to read beyond VM system memory max address.
sys/amd64/include/vmm.h
sys/amd64/vmm/vmm.c
sys/amd64/vmm/vmm_dev.c