提交 f4ad1ebd 编写于 作者: M Markus Armbruster 提交者: Thomas Gleixner

xen pvfb: Zero unused bytes in events sent to backend

This isn't a security flaw (the backend can see all our memory
anyway).  But it's the right thing to do all the same.
Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 1e892c95
......@@ -61,6 +61,7 @@ static void xenfb_do_update(struct xenfb_info *info,
union xenfb_out_event event;
u32 prod;
memset(&event, 0, sizeof(event));
event.type = XENFB_TYPE_UPDATE;
event.update.x = x;
event.update.y = y;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册