, offset + (uint8_t *)shr, shr-length);
use length rather than shr-length otherwise length goes unused.
Agreed; the values from the shared page should not be read more than
once, because an uncooperative peer could end up changing them.
--
Daniel De Graaf
National Security Agency
Request and support using grant references in backends for
the keyboard and framebuffer.
Signed-off-by: Daniel De Graaf dgde...@tycho.nsa.gov
---
hw/xenfb.c | 103
1 files changed, 76 insertions(+), 27 deletions(-)
diff --git a/hw