Skip to content
Snippets Groups Projects
Commit f2d928d4 authored by Roland Dreier's avatar Roland Dreier Committed by Anthony Liguori
Browse files

vmware_vga: Check cursor dimensions passed from guest to avoid buffer overflow


Check that the cursor dimensions passed from the guest for the
DEFINE_CURSOR command don't overflow the available space in the
cursor.image[] or cursor.mask[] arrays before copying data from the
guest into those arrays.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent e73223a5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment